summaryrefslogtreecommitdiffstats
path: root/lass/5pkgs/xmonad-lass.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-09-03 10:42:12 +0200
committerlassulus <lassulus@lassul.us>2017-09-03 10:42:12 +0200
commit4d583ce9a13488f068d7dbbfb625b64f73ea4f4a (patch)
tree1463db39922ff27f2f7685ce9004c8dc1873c588 /lass/5pkgs/xmonad-lass.nix
parentbd413110f1319cc78a42e43bf81d9cdfcd2d927c (diff)
l pkgs.xmonad: add quick brightness control keys
Diffstat (limited to 'lass/5pkgs/xmonad-lass.nix')
-rw-r--r--lass/5pkgs/xmonad-lass.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/lass/5pkgs/xmonad-lass.nix b/lass/5pkgs/xmonad-lass.nix
index 38a9550df..67a1dc787 100644
--- a/lass/5pkgs/xmonad-lass.nix
+++ b/lass/5pkgs/xmonad-lass.nix
@@ -130,6 +130,11 @@ myKeyMap =
, ("M4-S-q", return ())
, ("M4-w", floatNext True >> spawn "${pkgs.copyq}/bin/copyq show")
+
+ , ("M4-<F1>", spawn "${pkgs.xorg.xbacklight}/bin/xbacklight -set 1")
+ , ("M4-<F2>", spawn "${pkgs.xorg.xbacklight}/bin/xbacklight -set 10")
+ , ("M4-<F3>", spawn "${pkgs.xorg.xbacklight}/bin/xbacklight -set 33")
+ , ("M4-<F4>", spawn "${pkgs.xorg.xbacklight}/bin/xbacklight -set 100")
]
forkFile :: FilePath -> [String] -> Maybe [(String, String)] -> X ()