dotfiles-arch/.config/sway/config.d/scratch

19 lines
795 B
Text
Raw Normal View History

2023-11-27 18:03:12 +00:00
### Scratchpad:
# Move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show
2024-04-05 19:11:06 +00:00
exec ~/.config/sway/scripts.d/scratchpads.sh
2023-11-27 18:03:12 +00:00
for_window [app_id="scratch_term"] move scratchpad, resize set 960 640
for_window [app_id="scratch_htop"] move scratchpad, resize set 960 640
2024-04-05 19:11:06 +00:00
for_window [app_id="scratch_calc"] move scratchpad, resize set 960 640
2023-11-27 18:03:12 +00:00
bindsym $mod+y exec ~/.config/sway/scripts.d/scratchpads.sh scratch_term zsh
bindsym $mod+h exec ~/.config/sway/scripts.d/scratchpads.sh scratch_htop htop
2024-04-05 19:11:06 +00:00
bindsym $mod+c exec ~/.config/sway/scripts.d/scratchpads.sh scratch_calc matrix