diff options
| author | Shubham Saini <pryr@pryr.xyz> | 2020-08-14 18:48:19 +0000 |
|---|---|---|
| committer | Shubham Saini <pryr@pryr.xyz> | 2020-08-14 18:48:19 +0000 |
| commit | 84f973c475822e1f8438d7c6ad42ae67674195b1 (patch) | |
| tree | 116a6d7960ab1ce1b57c99661e03754e2df12a55 | |
| parent | e5b053606d0dd24a2159fc298af1892132c0e8da (diff) | |
indentation
| -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 |
