diff options
author | Vitor Gonçalves <vitorg@tilde.team> | 2023-06-08 18:57:01 -0300 |
---|---|---|
committer | Vitor Gonçalves <vitorg@tilde.team> | 2023-06-08 18:57:01 -0300 |
commit | bb8763b9a815a7e9248828b243012ba5e8403c04 (patch) | |
tree | 791457febd67e85e0a0e5c3b538881acb0252767 /dot_profile | |
parent | 7b6cfcb910a44e2b1720dc53eb2ec63e4349183d (diff) | |
download | dots-bb8763b9a815a7e9248828b243012ba5e8403c04.tar.gz |
feat: added autostarting X on session login
Diffstat (limited to 'dot_profile')
-rw-r--r-- | dot_profile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dot_profile b/dot_profile index 25eb7de..292f80e 100644 --- a/dot_profile +++ b/dot_profile @@ -14,3 +14,5 @@ export HISTFILE="$XDG_STATE_HOME/bash/history" export GOPATH="$XDG_DATA_HOME/go" export GOMODCACHE="$XDG_CACHE_HOME/go/mod" + +[[ -z $(pidof Xorg) ]] && [[ $(tty) = "/dev/tty1" ]] && sx |