Commit 757931f3 authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Added $mod+Ctrl+h,j,k,l for switching focused containers (basically selects...

Added $mod+Ctrl+h,j,k,l for switching focused containers (basically selects parent container and then focus switches).  Disabled dunstrc shortcuts (these interfered with $mod+Ctrl+h).
parent e2d6d449
...@@ -164,19 +164,19 @@ ...@@ -164,19 +164,19 @@
# Xev might be helpful to find names for keys. # Xev might be helpful to find names for keys.
# Close notification. # Close notification.
close = mod1+space #close = mod1+space
# Close all notifications. # Close all notifications.
# close_all = ctrl+shift+space # close_all = ctrl+shift+space
close_all = ctrl+mod1+space #close_all = ctrl+mod1+space
# Redisplay last message(s). # Redisplay last message(s).
# On the US keyboard layout "grave" is normally above TAB and left # On the US keyboard layout "grave" is normally above TAB and left
# of "1". # of "1".
history = ctrl+mod4+h #history = ctrl+mod4+h
# Context menu. # Context menu.
context = ctrl+mod1+c #context = ctrl+mod1+c
[urgency_low] [urgency_low]
# IMPORTANT: colors have to be defined in quotation marks. # IMPORTANT: colors have to be defined in quotation marks.
......
...@@ -19,7 +19,7 @@ set $txtucolor #bdbbbb ...@@ -19,7 +19,7 @@ set $txtucolor #bdbbbb
set $indcolor #00ff00 set $indcolor #00ff00
# set default desktop layout (default is tiling) <stacking|tabbed> # set default desktop layout (default is tiling) <stacking|tabbed>
workspace_layout tabbed #workspace_layout tabbed
# Configure border style <normal|1pixel|pixel xx|none|pixel> # Configure border style <normal|1pixel|pixel xx|none|pixel>
for_window [class=".*"] $border_no_name for_window [class=".*"] $border_no_name
...@@ -40,14 +40,6 @@ font xft:URWGothic-Book 11 ...@@ -40,14 +40,6 @@ font xft:URWGothic-Book 11
# Use Mouse+$mod to drag floating windows # Use Mouse+$mod to drag floating windows
floating_modifier $mod floating_modifier $mod
bindsym $mod+F4 exec "i3-msg 'append_layout ~/.i3/layout-1.json'"
bindsym $mod+Ctrl+1 exec --no-startup-id xdotool getactivewindow set_window --role 1 windowunmap windowmap
bindsym $mod+Ctrl+2 exec --no-startup-id xdotool getactivewindow set_window --role 2 windowunmap windowmap
bindsym $mod+Ctrl+3 exec --no-startup-id xdotool getactivewindow set_window --role 3 windowunmap windowmap
# start a terminal # start a terminal
bindsym $mod+Return exec terminator bindsym $mod+Return exec terminator
...@@ -121,6 +113,12 @@ bindsym $mod+j focus down ...@@ -121,6 +113,12 @@ bindsym $mod+j focus down
bindsym $mod+k focus up bindsym $mod+k focus up
bindsym $mod+l focus right bindsym $mod+l focus right
# container focusing
bindsym $mod+Ctrl+h focus parent, focus left
bindsym $mod+Ctrl+j focus parent, focus down
bindsym $mod+Ctrl+k focus parent, focus up
bindsym $mod+Ctrl+l focus parent, focus right
# move focused window # move focused window
bindsym $mod+Shift+Left move left 100px bindsym $mod+Shift+Left move left 100px
bindsym $mod+Shift+Down move down 100px bindsym $mod+Shift+Down move down 100px
...@@ -198,7 +196,6 @@ bindsym $mod+Shift+a focus child ...@@ -198,7 +196,6 @@ bindsym $mod+Shift+a focus child
bindsym $mod+slash exec "answer=$(zenity --title=\\"i3-msg title_format\\" --text \\"Change %title for parent container\\" --entry); if [ -n \\"$answer\\" ]; then i3-msg focus parent, title_format \\"<span foreground='#ff8c85'><b> 📦 $answer</b></span>\\", focus child; fi" bindsym $mod+slash exec "answer=$(zenity --title=\\"i3-msg title_format\\" --text \\"Change %title for parent container\\" --entry); if [ -n \\"$answer\\" ]; then i3-msg focus parent, title_format \\"<span foreground='#ff8c85'><b> 📦 $answer</b></span>\\", focus child; fi"
bindsym $mod+Mod1+slash focus parent, title_format "<span foreground='#ff8c85'><b> 📦 %title</b></span>", focus child bindsym $mod+Mod1+slash focus parent, title_format "<span foreground='#ff8c85'><b> 📦 %title</b></span>", focus child
# move the currently focused window to the scratchpad # move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad bindsym $mod+Shift+minus move scratchpad
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment