diff options
-rw-r--r-- | gui/apps/file.nix | 5 | ||||
-rw-r--r-- | gui/conf/xmonad.hs | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gui/apps/file.nix b/gui/apps/file.nix index a000a83..c6a341c 100644 --- a/gui/apps/file.nix +++ b/gui/apps/file.nix @@ -15,9 +15,14 @@ custom-sxiv mpv gthumb + # audio + pulseaudio + pavucontrol + pulseeffects-pw # office libreoffice gimp + simplescreenrecorder ]; sessionVariables = { diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs index 4090245..ae8613c 100644 --- a/gui/conf/xmonad.hs +++ b/gui/conf/xmonad.hs @@ -242,9 +242,9 @@ commonKeybindings host = , ("M-i l" , showNotification "Load" "`cut -c -14 /proc/loadavg`") -- system control - , ("M-c <Up>" , spawn "amixer sset Master 10%+") - , ("M-c <Down>" , spawn "amixer sset Master 10%-") - , ("M-c m" , spawn "amixer sset Master toggle") + , ("M-c <Up>" , spawn "pactl set-sink-volume @DEFAULT_SINK@ +10%") + , ("M-c <Down>" , spawn "pactl set-sink-volume @DEFAULT_SINK@ -10%") + , ("M-c m" , spawn "pactl set-sink-mute @DEFAULT_SINK@ toggle") , ("M-c s" , spawn "systemctl suspend") , ("M-c h" , spawn "systemctl hibernate") ] |