diff options
author | Shubham Saini <shubham6405@pm.me> | 2020-06-16 10:55:50 +0000 |
---|---|---|
committer | Shubham Saini <shubham6405@pm.me> | 2020-06-16 10:55:50 +0000 |
commit | 2c80d39ee174beea5a8a78f9bcf9d02a24415f73 (patch) | |
tree | 4cad38eb107cff1f27ce457917f0e3f97b0202b3 /spectrwm/.config/spectrwm/statusbar | |
parent | 8857288945fb0202666092c524803ed86a5d03d8 (diff) |
nice date&time
Diffstat (limited to 'spectrwm/.config/spectrwm/statusbar')
-rwxr-xr-x | spectrwm/.config/spectrwm/statusbar | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spectrwm/.config/spectrwm/statusbar b/spectrwm/.config/spectrwm/statusbar index fa02a69..5f6918c 100755 --- a/spectrwm/.config/spectrwm/statusbar +++ b/spectrwm/.config/spectrwm/statusbar | |||
@@ -11,17 +11,17 @@ bat() { | |||
11 | } | 11 | } |
12 | 12 | ||
13 | dte() { | 13 | dte() { |
14 | dte=$(date +"%A, %B %d") | 14 | dte=$(date +"%a, %b %d") |
15 | echo -e "+@fg=1;date+@fg=0; $dte " | 15 | echo -e "+@fg=1;date+@fg=0; $dte " |
16 | } | 16 | } |
17 | 17 | ||
18 | tie() { | 18 | tie() { |
19 | tme=$(date +"%I:%M %p") | 19 | tme=$(date +"%I:%M %P") |
20 | echo -e "+@fg=1;time+@fg=0; $tme " | 20 | echo -e "+@fg=1;time+@fg=0; $tme " |
21 | } | 21 | } |
22 | 22 | ||
23 | while :; do | 23 | while :; do |
24 | echo "$(vol) $(bat) $(tie) $(dte)" | 24 | echo "$(vol) $(bat) $(tie) $(dte)" |
25 | sleep 2 | 25 | sleep 2 |
26 | done | 26 | done |
27 | 27 | ||