~sumner/home-manager-config

f6c031d38449c4633874e129b158e221139f6b2a — Sumner Evans 4 months ago f81e6fe
amixer: use absolute path
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 amixer set Master playback 2%-";
          XF86AudioRaiseVolume = "exec amixer set Master playback 2%+";
          XF86AudioMute = "exec amixer set Master toggle";
          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";

          # 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 = "amixer set Master on 50% && mpv --quiet -vo caca 'https://www.youtube.com/watch?v=U06jlgpMtQs'";
      soviet = "${pkgs.alsa-utils}/bin/amixer set Master on 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";