diff options
Diffstat (limited to 'dotfiles/.profile')
-rw-r--r-- | dotfiles/.profile | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/dotfiles/.profile b/dotfiles/.profile index 00fed07..f3ff763 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -44,12 +44,6 @@ eval "$(dircolors "$HOME/.config/dir_colors")" # Start sway automatically upon login on tty1 or tty2 if [ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ] || [ $(tty) = /dev/tty2 ]; then - dbus-run-session sway - if [ $? = 0 ] && [ ! -e ~/.cache/dont-kill ]; then - killall -u $(whoami) - clear - exit - fi - mv ~/.cache/sway.log ~/.cache/sway-crash-$(date +"%Y-%m-%dT%H:%M").log + exec dbus-run-session sway 2> ~/.cache/sway.log fi |