Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jay Ta'ala
jt-config-repo
Commits
1fbb996d
Commit
1fbb996d
authored
Sep 02, 2019
by
Jay Ta'ala
Browse files
Trying change of shortcut keys for creating a tabbed container of a window and doing for all.
parent
dd37fdcb
Changes
1
Hide whitespace changes
Inline
Side-by-side
i3/config
View file @
1fbb996d
...
@@ -153,8 +153,8 @@ set $con_title ANSWER=$(xdotool getwindowfocus getwindowname); i3-msg focus pare
...
@@ -153,8 +153,8 @@ set $con_title ANSWER=$(xdotool getwindowfocus getwindowname); i3-msg focus pare
# dynamic renaming of parent container
# 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+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+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 \\"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+
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
# split orientations
bindsym $mod+q layout toggle split;exec notify-send 'layout toggled'
bindsym $mod+q layout toggle split;exec notify-send 'layout toggled'
...
@@ -164,9 +164,9 @@ bindsym $mod+Mod1+e split v; exec "$con_title"
...
@@ -164,9 +164,9 @@ bindsym $mod+Mod1+e split v; exec "$con_title"
# change container layout (stacked, tabbed, toggle split)
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking;exec notify-send 'stacking layout'
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+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
# 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"
bindsym $mod+x split h, layout splith, focus right, move left, focus left, exec "$con_title"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment