summaryrefslogtreecommitdiff
path: root/.scripts/wm
blob: 6fe86087fb1413e124ff2e717028d49f1d9d2f48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"