Commit f68ec816 authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Experimenting with container text coloring.

parent 94fa90ed
......@@ -157,8 +157,12 @@ workspace_auto_back_and_forth yes
# The second option uses application window title (but colored and bolded) that was selected when the container was created.
# NOTE: requires xdotool
#
#set $con_title focus parent; title_format "<span foreground='#ff8c85'><b> 📦 %title</b></span>"; focus child; title_format " %title"
set $con_title exec "ANSWER=$(xdotool getwindowfocus getwindowname); i3-msg focus parent, title_format \\"<span foreground='#ff8c85'><b> ⮡\\"$ANSWER\\"</b></span>\\", focus child"
set $con_title focus parent; title_format "<span foreground='#FEC196'><b> 📦 %title</b></span>"; focus child; title_format " %title"
#set $con_title exec "ANSWER=$(xdotool getwindowfocus getwindowname); i3-msg focus parent, title_format \\"<span foreground='#FEC196'><b> ⮡\\"$ANSWER\\"</b></span>\\", focus child"
# 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+Mod1+slash focus parent, title_format "<span foreground='#FEC196'><b> 📦 %title</b></span>", focus child
# split orientations
bindsym $mod+q layout toggle split;exec notify-send 'layout toggled'
......@@ -209,10 +213,6 @@ bindsym $mod+Mod1+c exec --no-startup-id "pkill compton; compton -b"
bindsym $mod+a focus parent
bindsym $mod+Ctrl+a focus child
# 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='#ff8c85'><b> 📦 $ANSWER</b></span>\\", focus child; fi"
bindsym $mod+Mod1+slash focus parent, title_format "<span foreground='#ff8c85'><b> 📦 %title</b></span>", focus child
# move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
......@@ -303,6 +303,7 @@ for_window [class="Timeset-gui"] floating enable border normal
for_window [class="Xfburn"] floating enable
for_window [class="copyq"] floating enable border pixel 1
for_window [class="Shutter"] floating enable
for_window [title="Color Picker"] floating enable border none
# switch to workspace with urgent window automatically
for_window [urgent=latest] focus
......
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