From 1e7857dfdd69aa7948ab2250737646198737e788 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch
Date: Wed, 13 Feb 2019 12:55:16 +0100 Subject: wmstatus: bind standby/insomnia also to F4 --- wmstatus.c | 6 ++++-- 1 file 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 }, -- cgit v1.2.3-70-g09d2