aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2021-09-12 21:25:22 +0200
committerAdrian Kummerlaender2021-09-12 21:25:22 +0200
commit53ab79006cea049e7f3bbedfc51460d8bf1dabba (patch)
treefc4dc3fb864c9f9d851f1c43c505c074bbb3c878
parent06a8ce55aad4c10e300c0056144deab12bebe5aa (diff)
downloadnixos_home-53ab79006cea049e7f3bbedfc51460d8bf1dabba.tar
nixos_home-53ab79006cea049e7f3bbedfc51460d8bf1dabba.tar.gz
nixos_home-53ab79006cea049e7f3bbedfc51460d8bf1dabba.tar.bz2
nixos_home-53ab79006cea049e7f3bbedfc51460d8bf1dabba.tar.lz
nixos_home-53ab79006cea049e7f3bbedfc51460d8bf1dabba.tar.xz
nixos_home-53ab79006cea049e7f3bbedfc51460d8bf1dabba.tar.zst
nixos_home-53ab79006cea049e7f3bbedfc51460d8bf1dabba.zip
Update audio toolset to PipeWire
-rw-r--r--gui/apps/file.nix5
-rw-r--r--gui/conf/xmonad.hs6
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") ]