From ea0611f93069e5f927cb02b04154bc4d14cb6c5e Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Tue, 17 Jan 2023 02:59:04 +0100 Subject: [PATCH] Add Super+Launch1 to reload picom --- config.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.h b/config.h index 947bd8f..c3d5cdc 100644 --- a/config.h +++ b/config.h @@ -15,6 +15,7 @@ #define XF86AudioPrev 0x1008ff16 #define XF86AudioNext 0x1008ff17 #define XF86AudioPause 0x1008ff31 +#define XF86Launch1 0x1008ff41 /* appearance */ static const unsigned int borderpx = 0; /* border pixel of windows */ @@ -131,7 +132,9 @@ static Key keys[] = { { MODKEY, XK_F6, spawn, SHCMD("clion") }, { MODKEY, XK_F7, spawn, SHCMD("pycharm") }, { 0, XK_Print, spawn, SHCMD("gnome-screenshot -i") }, - { MODKEY|ShiftMask, XK_s, spawn, SHCMD("gnome-screenshot -a")}, + { MODKEY|ShiftMask, XK_s, spawn, SHCMD("gnome-screenshot -a") }, + + { MODKEY, XF86Launch1, spawn, SHCMD("killall picom || picom") }, { 0, XF86AudioPlay, spawn, SHCMD("playerctl play-pause")} , { 0, XF86AudioPause, spawn, SHCMD("playerctl pause")} ,