aboutsummaryrefslogtreecommitdiff
path: root/scripts/menuitems.sh
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2021-01-11 21:52:49 +0530
committerAkshay Nair <phenax5@gmail.com>2021-01-11 21:52:49 +0530
commit0a4dc975e0a02bda8bebbf14dd9cc516b2819fcc (patch)
tree26e087bc89c9a6b2d567dd59acf885393470d35f /scripts/menuitems.sh
parent9c6ca8f41864fc1e0bf367dd4324e38d22aece98 (diff)
downloadnixos-config-0a4dc975e0a02bda8bebbf14dd9cc516b2819fcc.tar.gz
nixos-config-0a4dc975e0a02bda8bebbf14dd9cc516b2819fcc.zip
Updates scripts
Diffstat (limited to 'scripts/menuitems.sh')
-rwxr-xr-xscripts/menuitems.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/menuitems.sh b/scripts/menuitems.sh
index 92e24d4..4cdb086 100755
--- a/scripts/menuitems.sh
+++ b/scripts/menuitems.sh
@@ -38,12 +38,12 @@ icon() {
}
date_module() {
- echo "$(icon date) $(date +"%A, %e %b - %I:%M %p")";
+ echo "$(icon date) $(date +"%A, %e %b - %I:%M %p")";
}
battery_module() {
local capacity=$(cat "/sys/class/power_supply/BAT0/capacity");
- echo "$(icon battery) $capacity%";
+ echo "$(icon battery) $capacity%";
}
music_module() {
@@ -52,7 +52,7 @@ music_module() {
}
brightness_module() {
- echo "$(icon brightness) $(printf "%.0f%s" "$(xbacklight -get)" "%")"
+ echo "$(icon brightness) $(printf "%.0f%s" "$(xbacklight -get)" "%")"
}
volume_module() {