aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2019-02-13 12:55:16 +0100
committerPřemysl Janouch <p@janouch.name>2019-02-13 12:55:16 +0100
commit1e7857dfdd69aa7948ab2250737646198737e788 (patch)
tree7738ec8496401c95d6253ef40452ffa559349f5f
parent510a53b845b1a2e9f47e91c1bf4eb3de7527fb34 (diff)
downloaddesktop-tools-1e7857dfdd69aa7948ab2250737646198737e788.tar.gz
desktop-tools-1e7857dfdd69aa7948ab2250737646198737e788.tar.xz
desktop-tools-1e7857dfdd69aa7948ab2250737646198737e788.zip
wmstatus: bind standby/insomnia also to F4
-rw-r--r--wmstatus.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/wmstatus.c b/wmstatus.c
index a154586..cb0a35b 100644
--- a/wmstatus.c
+++ b/wmstatus.c
@@ -2227,9 +2227,11 @@ g_keys[] =
// Brightness
{ Mod4Mask, XK_Home, on_brightness, 10 },
{ Mod4Mask, XK_End, on_brightness, -10 },
- { 0, XF86XK_MonBrightnessUp, on_brightness, 10 },
- { 0, XF86XK_MonBrightnessDown, on_brightness, -10 },
+ { 0, XF86XK_MonBrightnessUp, on_brightness, 10 },
+ { 0, XF86XK_MonBrightnessDown, on_brightness, -10 },
+ { Mod4Mask, XK_F4, on_standby, 0 },
+ { Mod4Mask | ShiftMask, XK_F4, on_insomnia, 0 },
{ Mod4Mask, XK_Pause, on_standby, 0 },
{ Mod4Mask | ShiftMask, XK_Pause, on_insomnia, 0 },