aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.profile
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-06-29 05:46:13 +0300
committerYaroslav <contact@yaroslavps.com>2020-06-29 05:46:13 +0300
commit378cab2ec31574daae3f8332cf30924214b58c8f (patch)
tree776b8bfbdafd5efbf5b573c5785a17bcbd75e501 /dotfiles/.profile
parent03af81b91d0b5570fb8fe2d33c16edd810637d2b (diff)
downloadswayrice-378cab2ec31574daae3f8332cf30924214b58c8f.tar.gz
swayrice-378cab2ec31574daae3f8332cf30924214b58c8f.zip
artix-specific stuff; use pacmixer instead of ncpamixer
Diffstat (limited to 'dotfiles/.profile')
-rw-r--r--dotfiles/.profile7
1 files changed, 5 insertions, 2 deletions
diff --git a/dotfiles/.profile b/dotfiles/.profile
index d849ada..76288ac 100644
--- a/dotfiles/.profile
+++ b/dotfiles/.profile
@@ -25,14 +25,17 @@ eval "$(sed 's/^[^#].*/export &/g;t;d' ~/.config/user-dirs.dirs)"
export LESSHISTFILE="-"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export INPUTRC="$XDG_CONFIG_HOME/zsh/inputrc"
+export WEECHAT_HOME="$XDG_CONFIG_HOME/weechat"
export CARGO_HOME="$XDG_DATA_HOME/cargo"
export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
eval "$(dircolors "$HOME/.config/dir_colors")"
-# Start sway automatically upon login on tty1
-if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
+# 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 > ~/.cache/sway.log 2>&1 && clear && exit
fi