From 53ab79006cea049e7f3bbedfc51460d8bf1dabba Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 12 Sep 2021 21:25:22 +0200 Subject: Update audio toolset to PipeWire --- gui/apps/file.nix | 5 +++++ gui/conf/xmonad.hs | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'gui') 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 " , spawn "amixer sset Master 10%+") - , ("M-c " , spawn "amixer sset Master 10%-") - , ("M-c m" , spawn "amixer sset Master toggle") + , ("M-c " , spawn "pactl set-sink-volume @DEFAULT_SINK@ +10%") + , ("M-c " , 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") ] -- cgit v1.2.3