mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-23 04:58:00 +00:00
[polybar] Change active window color at task bar
This commit is contained in:
parent
a17b9de70a
commit
237de9bf62
@ -124,7 +124,7 @@ print_task_icon()
|
|||||||
icon=$(get_icon_by_name "$name")
|
icon=$(get_icon_by_name "$name")
|
||||||
|
|
||||||
if [ "$(get_task_id "$1")" = "$(get_active_window)" ]; then
|
if [ "$(get_task_id "$1")" = "$(get_active_window)" ]; then
|
||||||
echo '%{T6}%{F#FDD835}'"$icon"'%{F-}%{T-}'
|
echo '%{T6}%{F#F5A70A}'"$icon"'%{F-}%{T-}'
|
||||||
if [ -f $STATUS_FILE.active ]; then
|
if [ -f $STATUS_FILE.active ]; then
|
||||||
polybar-msg hook "taskbar$(cat $STATUS_FILE.active)" 2 > /dev/null
|
polybar-msg hook "taskbar$(cat $STATUS_FILE.active)" 2 > /dev/null
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user