diff --git a/dwm/dwm-time.service b/dwm/dwm-time.service new file mode 100644 index 0000000..1569cb5 --- /dev/null +++ b/dwm/dwm-time.service @@ -0,0 +1,12 @@ +[Unit] +Description=Show time in dwm dmenu bar + +[Service] + +#WorkingDirectory= +ExecStart=/home/ccppi/.scripts/dwm-time.sh +Restart=always + +[Install] +WantedBy=multi-user.target + diff --git a/dwm/dwm-time.sh b/dwm/dwm-time.sh new file mode 100755 index 0000000..887e8df --- /dev/null +++ b/dwm/dwm-time.sh @@ -0,0 +1,5 @@ +while true; do + xsetroot -name "$(date)" + sleep 2 + done + diff --git a/dwm/startdwm.sh b/dwm/startdwm.sh new file mode 100755 index 0000000..abc0cdb --- /dev/null +++ b/dwm/startdwm.sh @@ -0,0 +1,8 @@ +#! /bin/bash +#/usr/bin/startdwm + +xrandr --auto +nm-applet & +cbatticon & +blueman-applet & +dwm