From 89958d0fd76ad5d7b3abb27b3d5eb64cbfb58362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Thu, 10 Nov 2022 22:13:39 +0100 Subject: [PATCH] :rocket: add keyboard layout switching --- modules/programs/bspwm/sxhkdrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/programs/bspwm/sxhkdrc b/modules/programs/bspwm/sxhkdrc index 52f51f3..1f25526 100755 --- a/modules/programs/bspwm/sxhkdrc +++ b/modules/programs/bspwm/sxhkdrc @@ -30,7 +30,7 @@ alt + shift + c alt + {t,shift + t,s,f} bspc node -t {tiled,pseudo_tiled,floating,fullscreen} -# switch layout +# switch window layout alt + space bsp-layout next --layouts wide,tall,tiled @@ -107,6 +107,10 @@ super + h super + s share +# switch keyboard layout +super + l + setxkbmap -query | grep -Eq "layout:\s+de" && setxkbmap us && dunstify "Layout US"|| (setxkbmap de && dunstify "Layout DE") + # Apps # start firefox super + {_,shift} + f