dotfiles/homedir/.config/zxinit/sessions/zwm
fbt c78cb78ff0 init
Signed-off-by: fbt <fbt@fleshless.org>
2017-05-03 16:10:13 +03:00

17 lines
227 B
Plaintext

# A simple dwm session
session.cleanup() {
service zwm-daemon stop
service sxhkd stop
}
trap session.cleanup EXIT
start_session() {
rm -r "/tmp/$USER/zwm"
service zwm-daemon start
service sxhkd start
sleep infinity
}