dwm is my best friend, back off i3

master
TiynGER 5 years ago
parent 71e6506923
commit 46fdba7499

@ -57,5 +57,5 @@ export LESS_TERMCAP_ue="$(printf '%b' '')"; a="${a%_}"
echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && source "$HOME/.bashrc"
echo "$0" | grep "zsh$" >/dev/null && [ -f $ZDOTDIR/.zshrc ] && source "$ZDOTDIR/.zshrc"
# Start graphical server if i3 not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x i3 >/dev/null && exec startx
# Start graphical server if dwm not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x dwm >/dev/null && exec startx

Loading…
Cancel
Save