~sumner/home-manager-config

1c80ba9f5514eefc7f90ab65199969850cd7d922 — Sumner Evans 4 months ago f6c031d
sound: convert from amixer to pamixer for shortcuts
2 files changed, 4 insertions(+), 4 deletions(-)

M modules/window-manager/common.nix
M modules/zsh/aliases.nix
M modules/window-manager/common.nix => modules/window-manager/common.nix +3 -3
@@ 160,9 160,9 @@
          "${modifier}+Shift+F3" = "gaps inner all set ${toString gapSize}";

          # VOLUME KEYS
          XF86AudioLowerVolume = "exec ${pkgs.alsa-utils}/bin/amixer set Master playback 2%-";
          XF86AudioRaiseVolume = "exec ${pkgs.alsa-utils}/bin/amixer set Master playback 2%+";
          XF86AudioMute = "exec ${pkgs.alsa-utils}/bin/amixer set Master toggle";
          XF86AudioLowerVolume = "exec ${pkgs.pamixer}/bin/pamixer --decrease 2";
          XF86AudioRaiseVolume = "exec ${pkgs.pamixer}/bin/pamixer --increase 2";
          XF86AudioMute = "exec ${pkgs.pamixer}/bin/pamixer --toggle-mute";

          # MEDIA CONTROLS
          XF86AudioPrev = "exec playerctl previous";

M modules/zsh/aliases.nix => modules/zsh/aliases.nix +1 -1
@@ 58,7 58,7 @@ in
      pwd = "pwd && pwd -P";
      sbcl = "rlwrap sbcl";
      screen = "screen -DR";
      soviet = "${pkgs.alsa-utils}/bin/amixer set Master on 50% && mpv --quiet -vo caca 'https://www.youtube.com/watch?v=U06jlgpMtQs'";
      soviet = "${pkgs.pamixer}/bin/pamixer --set-volume 50 && mpv --quiet -vo caca 'https://www.youtube.com/watch?v=U06jlgpMtQs'";
      tar = "${pkgs.libarchive}/bin/bsdtar";
      tt-beeper = "tt start -c Beeper";
      tt-tea = "tt start -p teaching/aca";