aboutsummaryrefslogtreecommitdiffstats
path: root/xmonad
diff options
context:
space:
mode:
Diffstat (limited to 'xmonad')
-rw-r--r--xmonad/xinit5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmonad/xinit b/xmonad/xinit
index 13f8392..bbb15f1 100644
--- a/xmonad/xinit
+++ b/xmonad/xinit
@@ -21,4 +21,9 @@ if test "${SESSION}" = xmonad; then
# Start application panel
mate-panel &
+ # Remove old session
+ if test -f ~/.xmonad/xmonad.state; then
+ rm -f -- ~/.xmonad/xmonad.state
+ fi
+
fi