Add keyboard layout switch keybinds

rita
blallo 2022-01-21 17:39:31 +01:00
parent 184c8a97c6
commit fa44f2ac00
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F
1 changed files with 2 additions and 2 deletions

View File

@ -45,8 +45,8 @@ bindsym $mod+Ctrl+c exec mpc clear
bindsym --no-repeat F12 exec gdbus call -e -d net.sourceforge.mumble.mumble -o / -m net.sourceforge.mumble.Mumble.startTalk
bindsym --release F12 exec gdbus call -e -d net.sourceforge.mumble.mumble -o / -m net.sourceforge.mumble.Mumble.stopTalk
bindsym F9 exec swaymsg "input type:keyboard xkb_switch_layout 0"
bindsym F10 exec swaymsg "input type:keyboard xkb_switch_layout 1"
bindsym F9 exec 'swaymsg "input type:keyboard xkb_switch_layout 1" && notify-send "Layout: US"'
bindsym F10 exec 'swaymsg "input type:keyboard xkb_switch_layout 0" && notify-send "Layout: IT"'
# Drag floating windows by holding down $mod and left mouse button.