summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-11-26 22:27:32 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-11-26 22:27:32 +0100
commit5464c097a44165473b352c463805a39799888c52 (patch)
tree66b0c0ed1eaac15e288f3831b307771c21b3cdf7 /config
parent42c8c1657de27ca7b35981c89f6edb8f31fbfe1a (diff)
checkpoint
Diffstat (limited to 'config')
-rwxr-xr-xconfig/essentials/zsh/.zprofile3
-rwxr-xr-xconfig/home/.xprofile2
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 &