nix/home/file/sway/module/Navigation.nix

20 lines
477 B
Nix
Raw Normal View History

{ ... }:
{
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.
focus_follows_mouse yes
'';
2024-04-06 03:03:58 +03:00
}