From f261abcfbd6f3b2e635e554e2a50331ad9e3f577 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 4 Oct 2019 22:04:28 +0200 Subject: Inline sxhkd config --- user/modules/sxhkd.nix | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) (limited to 'user/modules') diff --git a/user/modules/sxhkd.nix b/user/modules/sxhkd.nix index 47a5b5fc..7160ec08 100644 --- a/user/modules/sxhkd.nix +++ b/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 + ''; } -- cgit 1.4.1