dwm is my best friend, back off i3

master
TiynGER 5 years ago
parent 95d57d3b63
commit 55ea573277

@ -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 "bash$" >/dev/null && [ -f ~/.bashrc ] && source "$HOME/.bashrc"
echo "$0" | grep "zsh$" >/dev/null && [ -f $ZDOTDIR/.zshrc ] && source "$ZDOTDIR/.zshrc" echo "$0" | grep "zsh$" >/dev/null && [ -f $ZDOTDIR/.zshrc ] && source "$ZDOTDIR/.zshrc"
# Start graphical server if i3 not already running. # Start graphical server if dwm not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x i3 >/dev/null && exec startx [ "$(tty)" = "/dev/tty1" ] && ! pgrep -x dwm >/dev/null && exec startx

Loading…
Cancel
Save