+ Added bspwm, sxhkd, and polybar

This commit is contained in:
ziro 2020-04-11 18:55:14 +07:00
parent 29a1ca8ab2
commit 9a50ab1c1a
14 changed files with 1558 additions and 0 deletions

15
.config/polybar/scripts/cmus.sh Executable file
View 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 "$@"