From 3870a64981b0e9d00b028e319c9712cee9aea13b Mon Sep 17 00:00:00 2001 From: "jonathan.wyss" Date: Tue, 9 Sep 2025 22:00:43 +0200 Subject: [PATCH] make notes about paths --- dwm/dwm-time.service | 12 ++++++++++++ dwm/dwm-time.sh | 5 +++++ dwm/startdwm.sh | 8 ++++++++ 3 files changed, 25 insertions(+) create mode 100644 dwm/dwm-time.service create mode 100755 dwm/dwm-time.sh create mode 100755 dwm/startdwm.sh 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