This commit is contained in:
Kat Inskip 2025-07-17 23:04:20 -07:00
parent a16524d215
commit fa7bf090d2
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
9 changed files with 47 additions and 8 deletions

View file

@ -1,4 +1,4 @@
{pkgs, ...}: {
{pkgs, config, ...}: {
programs.niri.settings.spawn-at-startup = let
import-gsettings = pkgs.writeShellScriptBin "import-gsettings" ''
# usage: import-gsettings
@ -53,12 +53,35 @@
# program autostart
{
command = [
"firefox"
"${pkgs.dbus}/bin/dbus-update-activation-environment"
"--all"
];
}
{
command = [
"discord"
"--enable-features=WaylandLinuxDrmSyncobj,UseOzonePlatform"
"--ozone-platform=wayland"
];
}
{
command = [
"${pkgs.udiskie}/bin/udiskie"
];
}
{
command = [
"${pkgs.pasystray}/bin/pasystray"
];
}
{
command = [
"${pkgs.networkmanagerapplet}/bin/nm-applet"
];
}
{
command = [
"firefox"
];
}
];

View file

@ -138,6 +138,8 @@ in {
"Mod+Shift+P".action.power-off-monitors = {};
# Kat
"XF86MonBrightnessUp".action.spawn = ["${pkgs.brightnessctl}/bin/brightnessctl" "-c" "backlight" "set" "5%+"];
"XF86MonBrightnessDown".action.spawn = ["${pkgs.brightnessctl}/bin/brightnessctl" "-c" "backlight" "set" "5%-"];
"XF86AudioRaiseVolume".action.spawn = ["wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"];
"XF86AudioLowerVolume".action.spawn = ["wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"];
"XF86AudioMute".action.spawn = ["wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"];

View file

@ -72,6 +72,9 @@ in {
color = config.palette.crust.hex;
};
};
debug = {
wait-for-frame-completion-in-pipewire = {};
};
workspaces = {
browser = {};
chat = {};

View file

@ -28,6 +28,7 @@ _: {
{
matches = [{app-id = "^steam_app_default$";}];
open-on-workspace = "vidya";
open-floating = true;
}
{
matches = [{app-id = "^spotify$";}];

View file

@ -0,0 +1,7 @@
_: {
services = {
fluidsynth = {
enable = true;
};
};
}