diff options
Diffstat (limited to 'config')
-rwxr-xr-x | config/essentials/zsh/.zprofile | 3 | ||||
-rwxr-xr-x | config/home/.xprofile | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/config/essentials/zsh/.zprofile b/config/essentials/zsh/.zprofile index f67e3f7..2e40c32 100755 --- a/config/essentials/zsh/.zprofile +++ b/config/essentials/zsh/.zprofile @@ -1,6 +1,7 @@ #!/bin/sh -if [ "$TTY" = "/dev/tty1" ] && [ "$(id -u)" -ne 0 ]; then +if { [ "$TTY" = "/dev/tty1" ] || [ "$TTY" = "/dev/tty8" ]; } && + [ "$(id -u)" -ne 0 ]; then exec startx > /dev/null 2>&1 exit fi diff --git a/config/home/.xprofile b/config/home/.xprofile index 9d01277..e0f671d 100755 --- a/config/home/.xprofile +++ b/config/home/.xprofile @@ -18,3 +18,5 @@ unclutter --timeout 3 --jitter 50 -b signal-desktop & discord & st -e "sh" "-c" "pgrep tmux && tmux a || tmux" & + +printf '%s\t%s' "$(date +%y_%m_%d-%T )" "$DISPLAY" >> ~/.x_displays.log & |