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
cb3ce778
Commit
cb3ce778
authored
Jul 24, 2021
by
Jay Ta'ala
Browse files
Changed to using i3-input instead of zennity which allows renaming
selected containers.
parent
d90de9c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
i3/config
View file @
cb3ce778
...
@@ -158,9 +158,9 @@ workspace_auto_back_and_forth yes
...
@@ -158,9 +158,9 @@ 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 "
ANSWER=$(zenity --title=\\"i3-msg title_format\\" --text
\\"Change
t
itle
for parent container\\" --entry); if [ -n \\"$ANSWER\\" ]; then i3-msg focus parent,
title_format \\"<span> <b><tt>
$ANSWER
</tt></b></span>\\"
, focus child; fi
"
bindsym $mod+slash exec "
i3-input -f \\"-*-*-*-*-*-*-24-*-*-*-*-*-*-*\\" -P
\\"Change
T
itle
: \\" -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
focus parent,
title_format " %title"
, focus child
bindsym $mod+$mod_next+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