From 48c4a82ec30a106e9cab7d6bb2f6bfc99fa28094 Mon Sep 17 00:00:00 2001 From: Mouad Alami Date: Thu, 7 Sep 2023 13:24:10 +0100 Subject: remove notifications from keyboard layout change and update statusbar --- config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 06ad154..afe4ba1 100644 --- a/config.h +++ b/config.h @@ -127,8 +127,8 @@ static const Key keys[] = { {MODKEY | ShiftMask, XK_l, spawn, SHCMD("slock")}, /* keyboard layout */ - {Mod1Mask | ShiftMask, XK_e, spawn, SHCMD("setxkbmap -option caps:escape && setxkbmap -layout us && notify-send '🇬🇧'")}, - {Mod1Mask | ShiftMask, XK_f, spawn, SHCMD("setxkbmap -option caps:escape && setxkbmap -layout fr && notify-send '🇫🇷'")}, + {Mod1Mask | ShiftMask, XK_e, spawn, SHCMD("setxkbmap -option caps:escape && setxkbmap -layout us && kill -45 $(pidof dwmblocks)")}, + {Mod1Mask | ShiftMask, XK_f, spawn, SHCMD("setxkbmap -option caps:escape && setxkbmap -layout fr && kill -45 $(pidof dwmblocks)")}, /* dunst control */ -- cgit v1.2.3