diff options
-rwxr-xr-x | spectrwm/.config/spectrwm/statusbar | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spectrwm/.config/spectrwm/statusbar b/spectrwm/.config/spectrwm/statusbar index 150c519..fe750c8 100755 --- a/spectrwm/.config/spectrwm/statusbar +++ b/spectrwm/.config/spectrwm/statusbar | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | vol(){ | 3 | vol() { |
4 | vol=$(pulsemixer --get-volume | awk '{print $1}') | 4 | vol=$(pulsemixer --get-volume | awk '{print $1}') |
5 | mute=$(pulsemixer --get-mute) | 5 | mute=$(pulsemixer --get-mute) |
6 | if [ "$mute" == 1 ]; then | 6 | if [ "$mute" == 1 ]; then |
@@ -21,13 +21,13 @@ bat() { | |||
21 | } | 21 | } |
22 | 22 | ||
23 | dte() { | 23 | dte() { |
24 | dte=$(date +"%a, %b %d") | 24 | dte=$(date +"%a, %b %d") |
25 | echo -e "+@fg=1;date+@fg=0; $dte " | 25 | echo -e "+@fg=1;date+@fg=0; $dte " |
26 | } | 26 | } |
27 | 27 | ||
28 | tie() { | 28 | tie() { |
29 | tme=$(date +"%I:%M %P") | 29 | tme=$(date +"%I:%M %P") |
30 | echo -e "+@fg=1;time+@fg=0; $tme " | 30 | echo -e "+@fg=1;time+@fg=0; $tme " |
31 | } | 31 | } |
32 | 32 | ||
33 | while :; do | 33 | while :; do |