summaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
Diffstat (limited to 'i3')
-rw-r--r--i3/.config/i3/config9
1 files changed, 6 insertions, 3 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index 24eb24c..2693c5e 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
@@ -178,10 +182,9 @@ bindsym XF86AudioPlay exec $HOME/bin/touchpad
bindsym $mod+n exec $HOME/bin/workspace n
bindsym $mod+Shift+n exec $HOME/bin/workspace m
bindsym $mod+semicolon exec --no-startup-id $HOME/bin/run
-bindsym $mod+z exec --no-startup-id $HOME/bin/tmux_attach
-bindsym $mod+e exec --no-startup-id $HOME/bin/rename_workspace
+bindsym $mod+e exec --no-startup-id $HOME/bin/tmux_attach
bindsym $mod+o exec --no-startup-id $HOME/bin/references
-bindsym $mod+Escape exec systemctl suspend
+bindsym $mod+Escape exec --no-startup-id "i3lock -c 000000 && systemctl suspend"
# bindsym $mod+m exec --no-startup-id $HOME/bin/i3-shell
for_window [class="^.*"] border pixel 2