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
428bfdb1
Commit
428bfdb1
authored
Jul 30, 2021
by
Jay Ta'ala
Browse files
Tweaked container renaming (select parent by default).
parent
c14fe708
Changes
2
Show whitespace changes
Inline
Side-by-side
i3/config
View file @
428bfdb1
...
@@ -69,7 +69,7 @@ exec --no-startup-id "xkbset exp =m; xkbset m"
...
@@ -69,7 +69,7 @@ exec --no-startup-id "xkbset exp =m; xkbset m"
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id copyq
exec --no-startup-id copyq
exec --no-startup-id fcitx -d
exec --no-startup-id fcitx -d
#
exec --no-startup-id nitrogen --restore
exec --no-startup-id nitrogen --restore
exec --no-startup-id nm-applet
exec --no-startup-id nm-applet
exec --no-startup-id polychromatic-tray-applet
exec --no-startup-id polychromatic-tray-applet
exec --no-startup-id xautolock -time 10 -locker blurlock
exec --no-startup-id xautolock -time 10 -locker blurlock
...
@@ -177,9 +177,10 @@ workspace_auto_back_and_forth yes
...
@@ -177,9 +177,10 @@ workspace_auto_back_and_forth yes
set $con_title i3-msg focus parent, title_format \\"<span> <b><tt>...</tt></b></span>\\", focus child
set $con_title i3-msg focus parent, title_format \\"<span> <b><tt>...</tt></b></span>\\", focus child
# renaming of parent container
# renaming of parent container
bindsym $mod+slash exec "i3-input -f $i3inputfont -P \\"Change Title: \\" -F 'title_format \\"<span> <b><tt>%s</tt></b></span>\\"'"
bindsym $mod+slash exec "i3-msg focus parent; i3-input -f $i3inputfont -P \\"Change Title: \\" -F 'title_format \\"<span> <b><tt>%s</tt></b></span>\\"'; i3-msg focus child"
bindsym $mod+$mod_next+slash exec "i3-input -f $i3inputfont -P \\"Change Title: \\" -F 'title_format \\"<span> <b><tt>%s</tt></b></span>\\"'"
# sets back to default i3 container title
# sets back to default i3 container title
bindsym $mod+
$mod_next
+slash title_format " %title"
bindsym $mod+
Ctrl
+slash title_format " %title"
# container layouts
# container layouts
bindsym $mod+w layout tabbed
bindsym $mod+w layout tabbed
...
...
i3/config.simple
View file @
428bfdb1
...
@@ -141,9 +141,10 @@ workspace_auto_back_and_forth yes
...
@@ -141,9 +141,10 @@ workspace_auto_back_and_forth yes
set $con_title i3-msg focus parent, title_format \\"<span> <b><tt>...</tt></b></span>\\", focus child
set $con_title i3-msg focus parent, title_format \\"<span> <b><tt>...</tt></b></span>\\", focus child
# renaming of parent container
# renaming of parent container
bindsym $mod+slash exec "i3-input -f $i3inputfont -P \\"Change Title: \\" -F 'title_format \\"<span> <b><tt>%s</tt></b></span>\\"'"
bindsym $mod+slash exec "i3-msg focus parent; i3-input -f $i3inputfont -P \\"Change Title: \\" -F 'title_format \\"<span> <b><tt>%s</tt></b></span>\\"'; i3-msg focus child"
bindsym $mod+$mod_next+slash exec "i3-input -f $i3inputfont -P \\"Change Title: \\" -F 'title_format \\"<span> <b><tt>%s</tt></b></span>\\"'"
# sets back to default i3 container title
# sets back to default i3 container title
bindsym $mod+
$mod_next
+slash title_format " %title"
bindsym $mod+
Ctrl
+slash title_format " %title"
# container layouts
# container layouts
bindsym $mod+w layout tabbed
bindsym $mod+w layout tabbed
...
...
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