nix/home/config/sway/module/Navigation.nix

19 lines
451 B
Nix
Raw Normal View History

2024-06-23 04:55:57 +03:00
{ ... }: {
2024-04-06 03:03:58 +03:00
text = ''
# Move focus.
bindsym --to-code $mod+a focus left
bindsym --to-code $mod+d focus right
bindsym --to-code $mod+s focus down
bindsym --to-code $mod+w focus up
2024-04-06 03:03:58 +03:00
# Move the focused window.
bindsym --to-code $mod+Shift+a move left
bindsym --to-code $mod+Shift+d move right
bindsym --to-code $mod+Shift+s move down
bindsym --to-code $mod+Shift+w move up
2024-04-06 03:03:58 +03:00
# Focus mouse following.
2024-04-16 15:23:29 +03:00
focus_follows_mouse yes
2024-04-06 03:03:58 +03:00
'';
}