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
f68ec816
Commit
f68ec816
authored
Jun 02, 2019
by
Jay Ta'ala
Browse files
Experimenting with container text coloring.
parent
94fa90ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
i3/config
View file @
f68ec816
...
@@ -157,8 +157,12 @@ workspace_auto_back_and_forth yes
...
@@ -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.
# The second option uses application window title (but colored and bolded) that was selected when the container was created.
# NOTE: requires xdotool
# 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 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='#ff8c85'><b> ⮡\\"$ANSWER\\"</b></span>\\", focus child"
#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
# split orientations
bindsym $mod+q layout toggle split;exec notify-send 'layout toggled'
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"
...
@@ -209,10 +213,6 @@ bindsym $mod+Mod1+c exec --no-startup-id "pkill compton; compton -b"
bindsym $mod+a focus parent
bindsym $mod+a focus parent
bindsym $mod+Ctrl+a focus child
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
# move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
bindsym $mod+Shift+minus move scratchpad
...
@@ -303,6 +303,7 @@ for_window [class="Timeset-gui"] floating enable border normal
...
@@ -303,6 +303,7 @@ for_window [class="Timeset-gui"] floating enable border normal
for_window [class="Xfburn"] floating enable
for_window [class="Xfburn"] floating enable
for_window [class="copyq"] floating enable border pixel 1
for_window [class="copyq"] floating enable border pixel 1
for_window [class="Shutter"] floating enable
for_window [class="Shutter"] floating enable
for_window [title="Color Picker"] floating enable border none
# switch to workspace with urgent window automatically
# switch to workspace with urgent window automatically
for_window [urgent=latest] focus
for_window [urgent=latest] focus
...
...
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