aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.profile
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.profile')
-rw-r--r--dotfiles/.profile3
1 files changed, 2 insertions, 1 deletions
diff --git a/dotfiles/.profile b/dotfiles/.profile
index 7d6f809..0ad601e 100644
--- a/dotfiles/.profile
+++ b/dotfiles/.profile
@@ -38,10 +38,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)
- export $(dbus-launch)
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