Inline sxhkd config
Alan Pearce alan@alanpearce.eu
Fri, 04 Oct 2019 22:04:28 +0200
2 files changed, 25 insertions(+), 33 deletions(-)
jump to
M user/modules/sxhkd.nix → user/modules/sxhkd.nix
@@ -1,8 +1,29 @@ { config, pkgs, ... }: { - xdg.configFile.sxhkd = { - recursive = true; - source = ../sxhkd/.config/sxhkd; - }; + xdg.configFile."sxhkd/sxhkdrc".text = '' + XF86AudioMute + pamixer --toggle-mute + + XF86Audio{Lower,Raise}Volume + pamixer --{decrease,increase} 1 + + @XF86AudioMicMute + pamixer --source 2 --toggle-mute + + XF86MonBrightness{Down,Up} + light -{U,A} 2% + + XF86Display + disper -C + + XF86AudioPlay + cmus-remote --pause + + XF86Audio{Prev,Next} + cmus-remote --{prev,next} + + XF86Tools + networkmanager_dmenu + ''; }
D user/sxhkd/.config/sxhkd/sxhkdrc
@@ -1,29 +0,0 @@-XF86AudioMute - pamixer --toggle-mute - -XF86Audio{Lower,Raise}Volume - pamixer --{decrease,increase} 1 - -@XF86AudioMicMute - pamixer --source 2 --toggle-mute - -XF86MonBrightness{Down,Up} - light -{U,A} 2% - -XF86Display - disper -C - -XF86AudioPlay - cmus-remote --pause - -XF86Audio{Prev,Next} - cmus-remote --{prev,next} - -# XF86WLAN - -XF86Tools - networkmanager_dmenu - -# XF86Search -# XF86LaunchA -# XF86Explorer