diff options
Diffstat (limited to 'bin/.local/bin/statusbar')
-rwxr-xr-x | bin/.local/bin/statusbar | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/.local/bin/statusbar b/bin/.local/bin/statusbar index 433b4d5..00b5d2b 100755 --- a/bin/.local/bin/statusbar +++ b/bin/.local/bin/statusbar | |||
@@ -5,22 +5,22 @@ BB='\033[00m' | |||
5 | 5 | ||
6 | vol(){ | 6 | vol(){ |
7 | vol=$(pulsemixer --get-volume | awk '{print $1}') | 7 | vol=$(pulsemixer --get-volume | awk '{print $1}') |
8 | echo -e "+@fg=1;vol+@fg=0; $vol% " | 8 | echo -e "vol $vol% " |
9 | } | 9 | } |
10 | 10 | ||
11 | bat() { | 11 | bat() { |
12 | power=$(cat /sys/class/power_supply/BAT0/capacity) | 12 | power=$(cat /sys/class/power_supply/BAT0/capacity) |
13 | echo -e "+@fg=1;bat+@fg=0; $power% " | 13 | echo -e "bat $power% " |
14 | } | 14 | } |
15 | 15 | ||
16 | dte() { | 16 | dte() { |
17 | dte=$(date +"%A, %B %d") | 17 | dte=$(date +"%A, %B %d") |
18 | echo -e "+@fg=1;date+@fg=0; $dte " | 18 | echo -e "date $dte " |
19 | } | 19 | } |
20 | 20 | ||
21 | tie() { | 21 | tie() { |
22 | tme=$(date +"%I:%M %p") | 22 | tme=$(date +"%I:%M %p") |
23 | echo -e "+@fg=1;time+@fg=0; $tme " | 23 | echo -e "time $tme " |
24 | } | 24 | } |
25 | 25 | ||
26 | while :; do | 26 | while :; do |