|
|
|
@@ -3,21 +3,21 @@
|
|
|
|
|
# Drop-down scratchpad terminal: $mod+grave
|
|
|
|
|
exec kitty --class scratch
|
|
|
|
|
for_window [app_id="scratch"] move scratchpad, resize set 1000 560, move position center, border pixel 2
|
|
|
|
|
bindsym $mod+grave scratchpad show
|
|
|
|
|
bindsym --to-code $mod+grave scratchpad show
|
|
|
|
|
|
|
|
|
|
# Workspace navigation
|
|
|
|
|
bindsym $mod+Tab workspace next_on_output
|
|
|
|
|
bindsym $mod+Shift+Tab workspace prev_on_output
|
|
|
|
|
bindsym $mod+Ctrl+Right workspace next_on_output
|
|
|
|
|
bindsym $mod+Ctrl+Left workspace prev_on_output
|
|
|
|
|
bindsym --to-code $mod+Tab workspace next_on_output
|
|
|
|
|
bindsym --to-code $mod+Shift+Tab workspace prev_on_output
|
|
|
|
|
bindsym --to-code $mod+Ctrl+Right workspace next_on_output
|
|
|
|
|
bindsym --to-code $mod+Ctrl+Left workspace prev_on_output
|
|
|
|
|
|
|
|
|
|
# Quick layout / window helpers
|
|
|
|
|
bindsym $mod+Shift+f floating toggle, resize set 1000 600, move position center
|
|
|
|
|
bindsym $mod+c exec swaymsg [con_id=__focused__] move position center
|
|
|
|
|
bindsym --to-code $mod+Shift+f floating toggle, resize set 1000 600, move position center
|
|
|
|
|
bindsym --to-code $mod+c exec swaymsg [con_id=__focused__] move position center
|
|
|
|
|
|
|
|
|
|
# Screenshots: area -> clipboard, area -> file
|
|
|
|
|
bindsym Shift+Print exec ~/.config/sway/screenshot.sh clip
|
|
|
|
|
bindsym $mod+Print exec ~/.config/sway/screenshot.sh file
|
|
|
|
|
bindsym --to-code Shift+Print exec ~/.config/sway/screenshot.sh clip
|
|
|
|
|
bindsym --to-code $mod+Print exec ~/.config/sway/screenshot.sh file
|
|
|
|
|
|
|
|
|
|
# Keep video/browser-video windows undimmed
|
|
|
|
|
for_window [app_id="firefox"] inhibit_idle fullscreen
|
|
|
|
@@ -27,8 +27,8 @@ for_window [app_id="mpv"] floating enable, dim_inactive 0
|
|
|
|
|
exec_always ~/.config/sway/mirror.sh
|
|
|
|
|
|
|
|
|
|
# Rice helpers
|
|
|
|
|
bindsym $mod+Shift+w exec ~/.config/sway/wallpaper.sh
|
|
|
|
|
bindsym $mod+Shift+s exec ~/.config/sway/screenshot-menu.sh
|
|
|
|
|
bindsym $mod+F1 exec ~/.config/sway/cheatsheet.sh
|
|
|
|
|
bindsym --to-code $mod+Shift+w exec ~/.config/sway/wallpaper.sh
|
|
|
|
|
bindsym --to-code $mod+Shift+s exec ~/.config/sway/screenshot-menu.sh
|
|
|
|
|
bindsym --to-code $mod+F1 exec ~/.config/sway/cheatsheet.sh
|
|
|
|
|
# Performance mode: toggle blur + shadows
|
|
|
|
|
bindsym $mod+Shift+b blur toggle; shadows toggle
|
|
|
|
|
bindsym --to-code $mod+Shift+b blur toggle; shadows toggle
|
|
|
|
|