+ Added bspwm, sxhkd, and polybar
This commit is contained in:
parent
29a1ca8ab2
commit
9a50ab1c1a
14 changed files with 1558 additions and 0 deletions
15
.config/polybar/scripts/cmus.sh
Executable file
15
.config/polybar/scripts/cmus.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/dash
|
||||
main() {
|
||||
status=$(cmus-remote -Q | grep "status")
|
||||
if [ "$status" = "status playing" ]; then
|
||||
echo ""
|
||||
elif [ "$status" = "status paused" ]; then
|
||||
echo "契"
|
||||
elif [ "$status" = "status stopped" ]; then
|
||||
echo "栗"
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
echo $status
|
||||
}
|
||||
main "$@"
|
Loading…
Add table
Add a link
Reference in a new issue