diff --git a/machines/AMD-Workstation/default.nix b/machines/AMD-Workstation/default.nix index d45edfb..5d9ecb8 100644 --- a/machines/AMD-Workstation/default.nix +++ b/machines/AMD-Workstation/default.nix @@ -28,4 +28,12 @@ deviceSpecific.wireguard.enable = true; hardware.video.hidpi.enable = lib.mkForce false; + + services.xserver.config = '' + Section "InputClass" + Identifier "C-Media USB Headphone Set" + MatchUSBID "0d8c:000c" + Option "Ignore" "true" + EndSection + ''; } diff --git a/profiles/applications-setup.nix b/profiles/applications-setup.nix index 62e10da..480546a 100644 --- a/profiles/applications-setup.nix +++ b/profiles/applications-setup.nix @@ -38,7 +38,7 @@ messenger.cmd "${pkgs.keepassxc}/bin/keepassxc --keyfile=/home/alukard/.passwords.key /home/alukard/nixos-config/misc/Passwords.kdbx" "${term.cmd} -e spt" - "${pkgs.feh}/bin/feh --bg-fill $HOME/nixos-config/misc/wallpaper" + "${pkgs.feh}/bin/feh --bg-fill ${/. + ../misc/wallpaper}" ]; environment.sessionVariables = { diff --git a/profiles/workspace/i3/default.nix b/profiles/workspace/i3/default.nix index a038ca0..e12568c 100644 --- a/profiles/workspace/i3/default.nix +++ b/profiles/workspace/i3/default.nix @@ -11,11 +11,10 @@ in { package = pkgs.i3-gaps; config = rec { assigns = { - # "" = [ - # { class = "Spotify"; } - # { class = "PulseEffects"; } - # { title = "spt"; } - # ]; + "" = [ + { class = "spotify"; } + { title = "spt"; } + ]; "" = [ { class = "^Telegram"; } ]; @@ -81,7 +80,7 @@ in { "${modifier}+w" = "exec ${apps.dmenu.cmd}"; "${modifier}+Return" = "exec ${apps.term.cmd}"; "${modifier}+e" = "exec ${apps.editor.cmd}"; - # "${modifier}+l" = "layout toggle all"; + "${modifier}+o" = "layout toggle all"; "${modifier}+Left" = "focus child; focus left"; "${modifier}+Right" = "focus child; focus right"; @@ -96,6 +95,9 @@ in { "${modifier}+Shift+Right" = "move right"; "${modifier}+Shift+Left" = "move left"; + "${modifier}+bracketleft" = "workspace prev"; + "${modifier}+bracketright" = "workspace next"; + "${modifier}+f" = "fullscreen toggle"; "${modifier}+r" = "mode resize"; "${modifier}+Shift+f" = "floating toggle"; @@ -105,6 +107,9 @@ in { "${modifier}+k" = "exec ${pkgs.playerctl}/bin/playerctl play-pause"; "${modifier}+l" = "exec ${pkgs.playerctl}/bin/playerctl next"; "${modifier}+m" = "exec ${pkgs.pamixer}/bin/pamixer -t"; + "${modifier}+comma" = "exec ${pkgs.pamixer}/bin/pamixer -i 5"; + "${modifier}+period" = "exec ${pkgs.pamixer}/bin/pamixer -d 5"; + "${modifier}+i" = "exec ${pkgs.pavucontrol}/bin/pavucontrol"; "${modifier}+d" = "exec ${apps.fm.cmd}"; "${modifier}+y" = "exec ${pkgs.youtube-to-mpv}/bin/yt-mpv";