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
dc5d937a
Commit
dc5d937a
authored
Aug 03, 2021
by
Jay Ta'ala
Browse files
Changed %title format for containers (now smaller)
parent
b0fc0360
Changes
2
Show whitespace changes
Inline
Side-by-side
i3/config
View file @
dc5d937a
...
...
@@ -174,11 +174,12 @@ workspace_auto_back_and_forth yes
# Set $con_title (embedded script) - used in split orientations below.
# Sets a simple "..." container title. You can then use $mod+slash to set a custom name.
# NOTE: requires xdotool.
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>
<small><i>%title</i></small>
</span>\\", focus child
# renaming of parent container
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>\\"'"
set $con_title_title <small><i>%title</i></small>
bindsym $mod+slash exec "i3-msg focus parent; i3-input -f $i3inputfont -P \\"Change Title: \\" -F 'title_format \\"<span> <b><tt>%s:</tt></b> $con_title_title</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> $con_title_title</span>\\"'"
# sets back to default i3 container title
bindsym $mod+Ctrl+slash title_format " %title"
...
...
i3/config.simple
View file @
dc5d937a
...
...
@@ -138,11 +138,12 @@ workspace_auto_back_and_forth yes
# Set $con_title (embedded script) - used in split orientations below.
# Sets a simple "..." container title. You can then use $mod+slash to set a custom name.
# NOTE: requires xdotool.
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>
<small><i>%title</i></small>
</span>\\", focus child
# renaming of parent container
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>\\"'"
set $con_title_title <small><i>%title</i></small>
bindsym $mod+slash exec "i3-msg focus parent; i3-input -f $i3inputfont -P \\"Change Title: \\" -F 'title_format \\"<span> <b><tt>%s:</tt></b> $con_title_title</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> $con_title_title</span>\\"'"
# sets back to default i3 container title
bindsym $mod+Ctrl+slash title_format " %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