17 lines
227 B
Plaintext
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
|
|
}
|