summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2017-01-03 21:26:38 +0000
committerUrbain Vaes <urbain@vaes.uk>2017-01-03 21:26:38 +0000
commit87351a354d3cd5fede653ee58cfebb1fb8b209e7 (patch)
tree97113becf352f5e41c979fe698792a099e4b047d
parent6bc4e3eea504f4a3afa93c8c5bf5febebec823f8 (diff)
[i3] Add shortcut to open terminal in scratchpad
-rw-r--r--i3/.config/i3/config4
1 files changed, 4 insertions, 0 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index 28a7a98..23a0667 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -29,6 +29,10 @@ floating_modifier $mod
# start a terminal
bindsym $mod+Return exec --no-startup-id i3-sensible-terminal
+# start a terminal in the scratchpad
+for_window [instance="scratchpad"] move window to scratchpad, scratchpad show
+bindsym $mod+Shift+Return exec --no-startup-id i3-sensible-terminal -name scratchpad
+
# kill focused window
bindsym $mod+d kill