about summary refs log tree commit diff stats
path: root/dot_profile
diff options
context:
space:
mode:
authorVitor Gonçalves <vitorg@tilde.team>2023-06-08 18:57:01 -0300
committerVitor Gonçalves <vitorg@tilde.team>2023-06-08 18:57:01 -0300
commitbb8763b9a815a7e9248828b243012ba5e8403c04 (patch)
tree791457febd67e85e0a0e5c3b538881acb0252767 /dot_profile
parent7b6cfcb910a44e2b1720dc53eb2ec63e4349183d (diff)
downloaddots-bb8763b9a815a7e9248828b243012ba5e8403c04.tar.gz
feat: added autostarting X on session login
Diffstat (limited to 'dot_profile')
-rw-r--r--dot_profile2
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