dotfiles/homedir/.config/zxinit/sessions/zwm

17 lines
227 B
Plaintext
Raw Normal View History

# 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
}