aboutsummaryrefslogtreecommitdiff
path: root/bin/startdwm
blob: 5f5007bfe95a07f2712fb8785441c45fedcd5813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
while true; do
    xsetroot -name  "$( date +"%F %R" )"
    sleep 1m
done &

picom -b
fcitx5 -d

csum=""
new_csum=$(sha1sum $(which dwm))
while true; do
    if [ "$csum" != "$new_csum" ]; then
        csum=$new_csum
        dwm
    else
        exit 0
    fi
    new_csum=$(sha1sum $(which dwm))
    sleep 0.5
done