aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.profile
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.profile')
-rw-r--r--dotfiles/.profile9
1 files changed, 4 insertions, 5 deletions
diff --git a/dotfiles/.profile b/dotfiles/.profile
index 320c1ae..5657155 100644
--- a/dotfiles/.profile
+++ b/dotfiles/.profile
@@ -39,12 +39,11 @@ eval "$(dircolors "$HOME/.config/dir_colors")"
. "$HOME/.config/lf/icons"
-export $(dbus-launch)
-
# Start sway automatically upon login on tty1 or tty2
if [ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ] || [ $(tty) = /dev/tty2 ]; then
- # DBUS variables (for Artix)
- exec sway -d 2> ~/.cache/sway.log 1> /dev/null && clear && exit
- mv ~/.cache/sway.log ~/.cache/sway-crash-$(date +"%Y-%m-%dT%H:%M").log
+ # DBUS variables (for Artix)
+ export $(dbus-launch)
+ exec sway -d 2> ~/.cache/sway.log 1> /dev/null && clear && exit
+ mv ~/.cache/sway.log ~/.cache/sway-crash-$(date +"%Y-%m-%dT%H:%M").log
fi