diff --git a/sway/sway/hosts/x-wing.conf b/sway/sway/hosts/x-wing.conf index e2c12037a..7cc23aeff 100644 --- a/sway/sway/hosts/x-wing.conf +++ b/sway/sway/hosts/x-wing.conf @@ -3,7 +3,7 @@ # provide support for en/fa layouts # swaymsg -t get_inputs -bindsym --to-code $mod+space exec "swaymsg input '1133:49948:Logitech_USB_Keyboard_Consumer_Control' xkb_switch_layout next; swaymsg input '1:1:AT_Translated_Set_2_keyboard' xkb_switch_layout next" +bindsym --to-code $mod+space exec "swaymsg input '1133:49948:Logitech_USB_Keyboard_Consumer_Control' xkb_switch_layout next || swaymsg input '1:1:AT_Translated_Set_2_keyboard' xkb_switch_layout next" # output eDP-1 scale 0.9 output eDP-1 adaptive_sync true