1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 23:08:01 +00:00

[polybar] Change active window color at task bar

This commit is contained in:
Daniel Carrillo 2020-08-03 19:32:09 +02:00
parent a17b9de70a
commit 237de9bf62

View File

@ -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