mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-25 04:20:24 +10:00
Adding a conky
This commit is contained in:
14
.config/conky/qtile/Mimosa/scripts/playerctl.sh
Executable file
14
.config/conky/qtile/Mimosa/scripts/playerctl.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Closebox73
|
||||
# Simple script to get playerctl status
|
||||
|
||||
PCTL=$(playerctl status)
|
||||
|
||||
if [[ ${PCTL} == "" ]]; then
|
||||
echo "No Music Played"
|
||||
else
|
||||
playerctl metadata xesam:artist
|
||||
fi
|
||||
|
||||
exit
|
||||
Reference in New Issue
Block a user