summaryrefslogtreecommitdiff
path: root/i3/.config
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-04-21 21:57:33 +0200
committerJulian T <julian@jtle.dk>2020-04-21 21:57:33 +0200
commite865e1765043df76bc6e080323bca5c85fd3cec7 (patch)
tree7c4ff4026dbae61279f066d509006493e9923e0a /i3/.config
parent8117073221f6c568d6f242bb2db82b9447686c2e (diff)
Added mark stuff, scratchpad and keybindings to i3
Diffstat (limited to 'i3/.config')
-rw-r--r--i3/.config/i3/config15
1 files changed, 12 insertions, 3 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index d498f92..001dd61 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -113,6 +113,13 @@ set $ws10 "10"
# DWM alt tab behavior
bindsym $mod+Tab workspace back_and_forth
+# Mark stuff
+# Create mark
+bindsym $mod+m exec i3-input -F 'mark %s' -l 1 -P 'Mark: '
+bindsym $mod+g exec i3-input -F '[con_mark="%s"] focus' -l 1 -P 'Goto: '
+
+bindsym $mod+Shift+s swap container with mark s
+
# scratchpad
# Make the currently focused window a scratchpad
bindsym $mod+Shift+minus move scratchpad
@@ -120,8 +127,9 @@ bindsym $mod+Shift+minus move scratchpad
# Show the first scratchpad window
bindsym $mod+minus scratchpad show
-# Mail scratchpad
-bindsym $mod+m [title="^alot"] scratchpad show
+# Create a new terminal scratchpad
+bindsym $mod+Shift+i exec --no-startup-id i3-sensible-terminal --title float
+for_window [title="float"] floating enable
# Multiple monitors
bindsym $mod+period move workspace to output right
@@ -162,7 +170,7 @@ bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle
# launch script thingy
bindsym $mod+semicolon exec --no-startup-id Scripts/lc --dmenu
-bindsym $mod+Shift+i exec --no-startup-id Scripts/lc common
+bindsym $mod+Shift+o exec --no-startup-id Scripts/lc common
# default app workspaces
assign [class="qutebrowser"] $ws9
@@ -198,6 +206,7 @@ mode "resize" {
# back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
bindsym Escape mode "default"
+ bindsym Control+bracketleft mode "default"
bindsym $mod+r mode "default"
}