initial commit of new dwmstart and dwmstatus
This commit is contained in:
Executable
+13
@@ -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
@@ -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) "
|
||||
Reference in New Issue
Block a user