diff options
| author | Akshay Nair <phenax5@gmail.com> | 2021-01-11 21:52:49 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2021-01-11 21:52:49 +0530 |
| commit | 0a4dc975e0a02bda8bebbf14dd9cc516b2819fcc (patch) | |
| tree | 26e087bc89c9a6b2d567dd59acf885393470d35f /scripts/menuitems.sh | |
| parent | 9c6ca8f41864fc1e0bf367dd4324e38d22aece98 (diff) | |
| download | nixos-config-0a4dc975e0a02bda8bebbf14dd9cc516b2819fcc.tar.gz nixos-config-0a4dc975e0a02bda8bebbf14dd9cc516b2819fcc.zip | |
Updates scripts
Diffstat (limited to '')
| -rwxr-xr-x | scripts/menuitems.sh | 6 |
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() { |
