script: refactor change-colortheme
This commit is contained in:
1 parent
f7fe2b00b5
commit
6f8b7431f9
49 files changed
+360
-1668
No files matched your search
@@ -11,7 +11,7 @@ if [ -z "$LYRICS" ] && [ -z "$LYRICS_SINGLE" ]; then
|
||||
elif [ -n "$LYRICS" ] && [ -z "$LYRICS_SINGLE" ]; then
|
||||
eww close lyrics
|
||||
# if waybar is running, open lyrics-single
|
||||
if pgrep -x "waybar" > /dev/null; then
|
||||
if pgrep -x "waybar" -u "$USER" > /dev/null; then
|
||||
sleep 0.5
|
||||
eww open lyrics-single
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user