Commit 1fbb996d authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Trying change of shortcut keys for creating a tabbed container of a window and doing for all.

parent dd37fdcb
......@@ -153,8 +153,8 @@ set $con_title ANSWER=$(xdotool getwindowfocus getwindowname); i3-msg focus pare
# dynamic renaming of parent container
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='#FEC196'><b> 📦 $ANSWER</b></span>\\", focus child; fi"
bindsym $mod+Mod1+slash focus parent, title_format "<span foreground='#FEC196'><b> 📦 %title</b></span>", focus child
bindsym $mod+Shift+w exec "WINDOWS=$(xdotool search --all --onlyvisible --desktop $(xprop -notype -root _NET_CURRENT_DESKTOP | cut -c 24-) \\"\\" 2>/dev/null); for window in $WINDOWS; do xdotool windowactivate $window; i3-msg \\"split h; layout tabbed\\"; $con_title; done"
bindsym $mod+Ctrl+w exec "WINDOWS=$(xdotool search --all --onlyvisible --desktop $(xprop -notype -root _NET_CURRENT_DESKTOP | cut -c 24-) \\"\\" 2>/dev/null); for window in $WINDOWS; do xdotool windowactivate $window; i3-msg \\"move left\\"; $con_title; done"
bindsym $mod+Ctrl+w exec "WINDOWS=$(xdotool search --all --onlyvisible --desktop $(xprop -notype -root _NET_CURRENT_DESKTOP | cut -c 24-) \\"\\" 2>/dev/null); for window in $WINDOWS; do xdotool windowactivate $window; i3-msg \\"split h; layout tabbed\\"; $con_title; done"
bindsym $mod+Mod1+Ctrl+w exec "WINDOWS=$(xdotool search --all --onlyvisible --desktop $(xprop -notype -root _NET_CURRENT_DESKTOP | cut -c 24-) \\"\\" 2>/dev/null); for window in $WINDOWS; do xdotool windowactivate $window; i3-msg \\"move left\\"; $con_title; done"
# split orientations
bindsym $mod+q layout toggle split;exec notify-send 'layout toggled'
......@@ -164,9 +164,9 @@ bindsym $mod+Mod1+e split v; exec "$con_title"
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking;exec notify-send 'stacking layout'
bindsym $mod+Mod1+s split h; layout stacking; exec "$con_title"
bindsym $mod+Shift+s split h; layout stacking; exec "$con_title"
bindsym $mod+w layout tabbed;exec notify-send 'tabbed layout'
bindsym $mod+Mod1+w split h; layout tabbed; exec "$con_title"
bindsym $mod+Shift+w split h; layout tabbed; exec "$con_title"
# special combo for horizontal split of two windows next to each other
bindsym $mod+x split h, layout splith, focus right, move left, focus left, exec "$con_title"
......
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