summaryrefslogtreecommitdiff
path: root/bin/.local/bin/statusbar
diff options
context:
space:
mode:
Diffstat (limited to 'bin/.local/bin/statusbar')
-rwxr-xr-xbin/.local/bin/statusbar8
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
6vol(){ 6vol(){
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
11bat() { 11bat() {
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
16dte() { 16dte() {
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
21tie() { 21tie() {
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
26while :; do 26while :; do