summaryrefslogtreecommitdiff
path: root/spectrwm/.config/spectrwm/statusbar
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@pm.me>2020-06-16 10:55:50 +0000
committerShubham Saini <shubham6405@pm.me>2020-06-16 10:55:50 +0000
commit2c80d39ee174beea5a8a78f9bcf9d02a24415f73 (patch)
tree4cad38eb107cff1f27ce457917f0e3f97b0202b3 /spectrwm/.config/spectrwm/statusbar
parent8857288945fb0202666092c524803ed86a5d03d8 (diff)
nice date&time
Diffstat (limited to 'spectrwm/.config/spectrwm/statusbar')
-rwxr-xr-xspectrwm/.config/spectrwm/statusbar6
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
13dte() { 13dte() {
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
18tie() { 18tie() {
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
23while :; do 23while :; do
24 echo "$(vol) $(bat) $(tie) $(dte)" 24 echo "$(vol) $(bat) $(tie) $(dte)"
25 sleep 2 25 sleep 2
26done 26done
27 27