Commit 428bfdb1 authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Tweaked container renaming (select parent by default).

parent c14fe708
......@@ -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 copyq
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 polychromatic-tray-applet
exec --no-startup-id xautolock -time 10 -locker blurlock
......@@ -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
# 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
bindsym $mod+$mod_next+slash title_format " %title"
bindsym $mod+Ctrl+slash title_format " %title"
# container layouts
bindsym $mod+w layout tabbed
......
......@@ -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
# 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
bindsym $mod+$mod_next+slash title_format " %title"
bindsym $mod+Ctrl+slash title_format " %title"
# container layouts
bindsym $mod+w layout tabbed
......
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