initial commit of new dwmstart and dwmstatus

This commit is contained in:
2015-05-24 21:12:29 -06:00
parent 653cf53417
commit 1c60cb9771
2 changed files with 31 additions and 0 deletions
Executable
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
# Script to start dwm in loop
while true; do
$HOME/bin/dwmstatus
sleep 2
done &
while true; do
dwm >/dev/null
# to log stderrors to a file
# dwm 2> ~/Build/dwm/dwm.log
done
Executable
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
# status script for dwm
# influenced by:
# https://bitbucket.org/jasonwryan/shiv/Scripts/dwm-status
# https://github.com/w0ng/bin/blob/master/dwm-statusbar
########################
## eric@ewpt3ch.com ####
## dwmstatus ###########
########################
# colors:
dte(){
dte="$(date "+%I:%M")"
echo -e "\x02$dte\x01"
}
# Pipe to statusbar
xsetroot -name "$(dte) "