1
0
Fork 0

clean up initialization

This commit is contained in:
Luca Bilke 2023-02-09 13:13:39 +01:00
parent e01f0dfe3b
commit c129a1b8c8
2 changed files with 1 additions and 3 deletions

View file

@ -49,8 +49,6 @@ export LESS_TERMCAP_ue="$(printf '%b' '')"
export LESSOPEN="| /usr/bin/highlight -O ansi %s 2>/dev/null"
export ANSIBLE_NOCOWS=1 # Stop those fucking cows in Ansible
xcommand=${XDG_CONFIG_HOME:-$HOME/.config}/X11/startgraphical
[ ! -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc" ] && shortcuts >/dev/null 2>&1 &
[ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ] && ! pidof -s Xorg >/dev/null 2>&1 && exec $xcommand
[ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startgraphical