Send message when changing kbd layoud

This commit is contained in:
sfigato 2021-09-20 11:42:39 +02:00
parent 231c64f752
commit be4b31e31e
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F

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 0" && notify-send "US layout"'
bindsym F10 exec 'swaymsg "input type:keyboard xkb_switch_layout 1" && notify-send "IT layout"'
# Drag floating windows by holding down $mod and left mouse button.