🚀 add keyboard layout switching

nixos
Moritz Böhme 2022-11-10 22:13:39 +01:00
parent 01d3e38d4a
commit 89958d0fd7
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 5 additions and 1 deletions

View File

@ -30,7 +30,7 @@ alt + shift + c
alt + {t,shift + t,s,f} alt + {t,shift + t,s,f}
bspc node -t {tiled,pseudo_tiled,floating,fullscreen} bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
# switch layout # switch window layout
alt + space alt + space
bsp-layout next --layouts wide,tall,tiled bsp-layout next --layouts wide,tall,tiled
@ -107,6 +107,10 @@ super + h
super + s super + s
share share
# switch keyboard layout
super + l
setxkbmap -query | grep -Eq "layout:\s+de" && setxkbmap us && dunstify "Layout US"|| (setxkbmap de && dunstify "Layout DE")
# Apps # Apps
# start firefox # start firefox
super + {_,shift} + f super + {_,shift} + f