From 71db63a72cffae3186e313b5e042162d69c29739 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 12 Feb 2022 23:09:04 +0100 Subject: gkleen@sif: pamixer --- accounts/gkleen@sif/default.nix | 2 +- accounts/gkleen@sif/xmonad/xmonad.hs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'accounts/gkleen@sif') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 01b68ed7..e7cb786b 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -278,7 +278,7 @@ in { home = { packages = with pkgs; [ fira fira-code powerline-fonts nerdfonts pavucontrol keepassxc - sxiv xclip mumble pulseaudio-ctl libnotify synergy + sxiv xclip mumble pulseaudio-ctl pamixer libnotify synergy xorg.xbacklight screen-message pidgin-with-plugins google-play-music-desktop-player qt5ct playerctl evince thunderbird wrappedZulip zoom-us steam steam-run wireshark diff --git a/accounts/gkleen@sif/xmonad/xmonad.hs b/accounts/gkleen@sif/xmonad/xmonad.hs index c835cfed..9cae8507 100644 --- a/accounts/gkleen@sif/xmonad/xmonad.hs +++ b/accounts/gkleen@sif/xmonad/xmonad.hs @@ -853,9 +853,9 @@ myKeys' conf host = Map.fromList $ -- Deincrement the number of windows in the master area , ((modm , xK_period), sendMessage (IncMasterN (-1))) - , ((0, xF86XK_AudioRaiseVolume), safeSpawn "pulseaudio-ctl" ["up", "2"]) - , ((0, xF86XK_AudioLowerVolume), safeSpawn "pulseaudio-ctl" ["down", "2"]) - , ((0, xF86XK_AudioMute), safeSpawn "pulseaudio-ctl" ["mute"]) + , ((0, xF86XK_AudioRaiseVolume), safeSpawn "pamixer" ["-i", "2"]) + , ((0, xF86XK_AudioLowerVolume), safeSpawn "pamixer" ["-i", "2"]) + , ((0, xF86XK_AudioMute), safeSpawn "pamixer" ["-t"]) , ((0, xF86XK_AudioPause), mediaMpv $ MpvSetProperty "pause" False) , ((0, {-xF86XK_AudioMicMute-} 269025202), safeSpawn "pulseaudio-ctl" ["mute-input"]) , ((0, xF86XK_AudioPlay), mediaMpvTogglePause) -- cgit v1.2.3