aboutsummaryrefslogtreecommitdiff
path: root/i3blocks
diff options
context:
space:
mode:
Diffstat (limited to 'i3blocks')
-rwxr-xr-xi3blocks/i3flags.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/i3blocks/i3flags.sh b/i3blocks/i3flags.sh
index 8d18ca0..0e363dd 100755
--- a/i3blocks/i3flags.sh
+++ b/i3blocks/i3flags.sh
@@ -15,7 +15,7 @@
#esac
if [ -z "$1" ]; then
- programs="picom dunst"
+ programs="cmus picom dunst"
else
programs="$*"
fi
@@ -26,7 +26,8 @@ for program in $programs; do
flag="$(echo "${program:0:1}" | awk '{print toupper($1)}')"
flags="${flags}${flag}"
else
- flags="${flags}-"
+ flag="$(echo "${program:0:1}" | awk '{print tolower($1)}')"
+ flags="${flags}${flag}"
fi
done