Skip to content

Commit

Permalink
feat: update keyboard configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Dec 25, 2024
1 parent 47baa35 commit f9aed3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion sway/sway/config.d/input.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

input "type:keyboard" {
xkb_layout us,ir
xkb_options grp:win_space_toggle
}

input "type:touchpad" {
Expand Down
5 changes: 5 additions & 0 deletions sway/sway/hosts/x-wing.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# vim: ft=i3config
# sway config file

# 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"
bindsym --to-code XF86WakeUp exec "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

0 comments on commit f9aed3d

Please sign in to comment.