summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorMitchell Pleune <mitchpleune@gmail.com>2016-02-27 16:36:13 -0500
committerMitchell Pleune <mitchpleune@gmail.com>2016-02-29 08:40:18 -0500
commitb5ee64410d00e2cb43edcb1ad269b05c3e33e5ad (patch)
tree46025edcb9596f5b9c003707fe1bc84e597ac47b /nixos/modules
parent8fa4804218415fc7df9ff5088d84d64391805113 (diff)
downloadnixlib-b5ee64410d00e2cb43edcb1ad269b05c3e33e5ad.tar
nixlib-b5ee64410d00e2cb43edcb1ad269b05c3e33e5ad.tar.gz
nixlib-b5ee64410d00e2cb43edcb1ad269b05c3e33e5ad.tar.bz2
nixlib-b5ee64410d00e2cb43edcb1ad269b05c3e33e5ad.tar.lz
nixlib-b5ee64410d00e2cb43edcb1ad269b05c3e33e5ad.tar.xz
nixlib-b5ee64410d00e2cb43edcb1ad269b05c3e33e5ad.tar.zst
nixlib-b5ee64410d00e2cb43edcb1ad269b05c3e33e5ad.zip
x11 service: bspwm limit sxhkd freqency
add '-f 100' as an argument to sxhkd to keep it from flooding bspwm

add SXHKD_SHELL=/bin/sh to help default to a faster shell than what may
be set in $SHELL (example: with zsh)
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/x11/window-managers/bspwm.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/window-managers/bspwm.nix b/nixos/modules/services/x11/window-managers/bspwm.nix
index 8b4e91d25aa4..1edf6ba4deb9 100644
--- a/nixos/modules/services/x11/window-managers/bspwm.nix
+++ b/nixos/modules/services/x11/window-managers/bspwm.nix
@@ -15,7 +15,7 @@ in
     services.xserver.windowManager.session = singleton {
       name = "bspwm";
       start = "
-        ${pkgs.sxhkd}/bin/sxhkd &
+        SXHKD_SHELL=/bin/sh ${pkgs.sxhkd}/bin/sxhkd -f 100 &
         ${pkgs.bspwm}/bin/bspwm
       ";
     };