Browse Source

Make lemonbar POSIX compliant

master
Riyyi 6 years ago
parent
commit
613925527c
  1. 2
      .scripts/panel/lemonbar.sh

2
.scripts/panel/lemonbar.sh

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

Loading…
Cancel
Save