summaryrefslogtreecommitdiff
path: root/.scripts/wm
diff options
context:
space:
mode:
authorDrNuget <drnuget@outlook.com>2025-01-17 11:14:28 +0200
committerDrNuget <drnuget@outlook.com>2025-01-17 11:14:28 +0200
commit85acf40be916d0ffcc085cde6e3893ea9bdfff2d (patch)
tree2e908b10b73c69136d7412f7ea29ad2b07e57428 /.scripts/wm
parentcad911c14a6ec5f4134d56a3f5154cd4d668efb2 (diff)
dwl scripts
Diffstat (limited to '.scripts/wm')
-rwxr-xr-x.scripts/wm14
1 files changed, 14 insertions, 0 deletions
diff --git a/.scripts/wm b/.scripts/wm
new file mode 100755
index 0000000..6fe8608
--- /dev/null
+++ b/.scripts/wm
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export XDG_CURRENT_DESKTOP=wlroots
+
+clock() {
+ while :; do
+ time="$(date +%d.%m.%Y\ %H.%M)"
+ mem=$(free -h | awk '/^Mem:/ {print $3"/"$2}')
+ echo " ^fg(20ccff)MEM^fg() $mem | 📅 $time "
+ sleep 60
+ done
+}
+
+clock | dbus-run-session dwl -s "~/.scripts/wm-config"