vdotfiles

Cem's Dotfiles for Void Linux
git clone git://git.ckyln.com/vdotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 902c2684a59b12eb7e3b2a5a0b0bde6a54aaa029
parent 02942f9c7f8e96d7ac03207065918ec228c15d88
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri, 27 Sep 2019 12:09:37 +0300

portable to non-systemd environments

Diffstat:
M.bash_profile | 4+---
M.zprofile | 4+---
2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/.bash_profile b/.bash_profile @@ -1,4 +1,2 @@ source $HOME/.profile -which systemctl >/dev/null && if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then - exec startx -fi +[ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ] && exec startx diff --git a/.zprofile b/.zprofile @@ -1,4 +1,2 @@ source $HOME/.profile -which systemctl >/dev/null && if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then - exec startx -fi +[ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ] && exec startx