summaryrefslogtreecommitdiff
path: root/.config/sway/config.d/scratch
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2023-11-27 13:03:12 -0500
committerFreya Murphy <freya@freyacat.org>2023-11-27 13:03:12 -0500
commit849ab46bd68fd8e8c275cfa8b918a16cfcd59642 (patch)
tree0e6d10d74c6e5096ab8b6c725eb475949edb20fb /.config/sway/config.d/scratch
downloaddotfiles-arch-849ab46bd68fd8e8c275cfa8b918a16cfcd59642.tar.gz
dotfiles-arch-849ab46bd68fd8e8c275cfa8b918a16cfcd59642.tar.bz2
dotfiles-arch-849ab46bd68fd8e8c275cfa8b918a16cfcd59642.zip
initial
Diffstat (limited to '.config/sway/config.d/scratch')
-rw-r--r--.config/sway/config.d/scratch14
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/sway/config.d/scratch b/.config/sway/config.d/scratch
new file mode 100644
index 0000000..0337319
--- /dev/null
+++ b/.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/scripts.d/scratchpads.sh scratch_term zsh
+bindsym $mod+h exec ~/.config/sway/scripts.d/scratchpads.sh scratch_htop htop