diff options
author | Mattias Andrée <maandree@kth.se> | 2021-06-26 09:36:23 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-06-26 09:36:23 +0200 |
commit | 58b1fdb7dd822d24fe23b322e14a08a4056fe19e (patch) | |
tree | a7fea83984c4aa86beab6cb6dec9d3fcfd528a64 /xmonad/xinit | |
parent | Add dead key fix for emacs (diff) | |
download | dotfiles-58b1fdb7dd822d24fe23b322e14a08a4056fe19e.tar.gz dotfiles-58b1fdb7dd822d24fe23b322e14a08a4056fe19e.tar.bz2 dotfiles-58b1fdb7dd822d24fe23b322e14a08a4056fe19e.tar.xz |
xmonad: remove old session
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | xmonad/xinit | 5 |
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 |