diff options
| author | Andrew Guschin <saintruler@gmail.com> | 2020-10-24 10:44:04 +0400 |
|---|---|---|
| committer | Andrew Guschin <saintruler@gmail.com> | 2020-10-24 10:44:04 +0400 |
| commit | 2cd92521380bc25cdf40dda508498aa9a3029044 (patch) | |
| tree | 36e1e35a9771849bc5d2acb46ebfd0c0f7446103 /.profile | |
| parent | 23fa7e2c44ddbb9124728fa8e5ab885889b1e59a (diff) | |
Changed xprofile
Diffstat (limited to '.profile')
| -rw-r--r-- | .profile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |