summaryrefslogtreecommitdiff
path: root/home-config/sway/config.d/scratch
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-09-04 23:21:01 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-09-04 23:21:01 -0400
commitdb49f683129771d95828b01594c69431a717e8e8 (patch)
treed2cb1c0b865e4d81ce81f9a3176b8ad93a864950 /home-config/sway/config.d/scratch
downloaddotfiles-guix-db49f683129771d95828b01594c69431a717e8e8.tar.gz
dotfiles-guix-db49f683129771d95828b01594c69431a717e8e8.tar.bz2
dotfiles-guix-db49f683129771d95828b01594c69431a717e8e8.zip
guix
Diffstat (limited to 'home-config/sway/config.d/scratch')
-rw-r--r--home-config/sway/config.d/scratch14
1 files changed, 14 insertions, 0 deletions
diff --git a/home-config/sway/config.d/scratch b/home-config/sway/config.d/scratch
new file mode 100644
index 0000000..4de2190
--- /dev/null
+++ b/home-config/sway/config.d/scratch
@@ -0,0 +1,14 @@
+### 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/scratchpads.sh scratch_term zsh
+bindsym $mod+h exec ~/.config/sway/scratchpads.sh scratch_htop htop