dotfiles-guix/home-config/sway/config.d/scratch

15 lines
598 B
Text
Raw Normal View History

2023-09-05 03:21:01 +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
for_window [app_id="scratch_term"] move scratchpad, resize set 960 640
for_window [app_id="scratch_htop"] move scratchpad, resize set 960 640
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