|
|
@ -6,7 +6,7 @@ PANEL="lemonbar_panel" |
|
|
|
title() { |
|
|
|
title() { |
|
|
|
# Grabs focused window's title |
|
|
|
# Grabs focused window's title |
|
|
|
ID="$(printf "%s" "$1" | awk '{print $5}')" |
|
|
|
ID="$(printf "%s" "$1" | awk '{print $5}')" |
|
|
|
if [ "$ID" == "0x0" ]; then |
|
|
|
if [ "$ID" = "0x0" ]; then |
|
|
|
TITLE="" |
|
|
|
TITLE="" |
|
|
|
else |
|
|
|
else |
|
|
|
TITLE="$(xprop -id "$ID" WM_NAME \ |
|
|
|
TITLE="$(xprop -id "$ID" WM_NAME \ |
|
|
|