summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2020-10-24 10:44:04 +0400
committerAndrew Guschin <saintruler@gmail.com>2020-10-24 10:44:04 +0400
commit2cd92521380bc25cdf40dda508498aa9a3029044 (patch)
tree36e1e35a9771849bc5d2acb46ebfd0c0f7446103 /.profile
parent23fa7e2c44ddbb9124728fa8e5ab885889b1e59a (diff)
Changed xprofile
Diffstat (limited to '.profile')
-rw-r--r--.profile8
1 files changed, 5 insertions, 3 deletions
diff --git a/.profile b/.profile
index cfabdf6..b7d6959 100644
--- a/.profile
+++ b/.profile
@@ -27,7 +27,7 @@ export DISPLAY_SESSION="dwm"
export SHELL="/bin/zsh"
export TERMINAL="st"
export EDITOR="nvim"
-export BROWSER="firefox"
+export BROWSER="qutebrowser"
export VIMINIT="source $MYVIMRC"
# For Jetbrains products
@@ -61,8 +61,10 @@ export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
# Autostarting window manager
-if [ "$(tty)" = "/dev/tty1" ] && [ "$AUTOSTART" = "1" ] && [ -z "$DISPLAY" ] && [ ! -z "$DISPLAY_SESSION" ]; then
- ! pidof Xorg >/dev/null 2>&1 && exec startx
+if [ "$(tty)" = "/dev/tty1" ]; then
+ if [ "$AUTOSTART" = "1" ] && [ -z "$DISPLAY" ] && [ ! -z "$DISPLAY_SESSION" ]; then
+ ! pidof Xorg >/dev/null 2>&1 && exec startx
+ fi
elif [ -z "$TMUX" ]; then
exec tmux
fi