+ Added script for dwm status bar (dwmbar no longer used, now using

dwmblocks)
This commit is contained in:
ziro 2020-05-18 12:51:45 +07:00
parent 57c06d99ce
commit 3d7272b103
3 changed files with 39 additions and 0 deletions

2
.local/bin/dwmbar/clock Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
printf "%s\n" "$(date +" %a, %d %b %Y • %H:%M %Z")"

View file

@ -0,0 +1,8 @@
#!/bin/sh
if [ x$(pidof dwmblocks) = "x" ]
then
dwmblocks &
else
echo 'dwmblocks is running, skipped.'
fi