From a72c885c41d9511133cc4523da7a082c0b2f46d0 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Fri, 6 Dec 2024 16:21:58 +0100 Subject: checkpoint --- config/home/.xprofile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'config/home') diff --git a/config/home/.xprofile b/config/home/.xprofile index a4de557..f51fcad 100755 --- a/config/home/.xprofile +++ b/config/home/.xprofile @@ -1,5 +1,5 @@ # TODO: check if this is home -if [ "$HOST" = "winter" ]; then +if [ "$(hostname)" = "winter" ]; then ( CurrentOutput="$(xrandr | grep '\bconnected\b' | awk '{print $1}')" xrandr --output "$CurrentOutput" --mode 1920x1080 --rate 144 @@ -20,8 +20,10 @@ slstatus & unclutter --timeout 3 --jitter 50 -b & 202020 & -# signal-desktop & -# discord & +if [ "$(hostname)" = "winter" ]; then + signal-desktop & + discord & +fi st -e "sh" "-c" "pgrep tmux && tmux a || tmux" & printf '%s\t%s' "$(date +%y_%m_%d-%T )" "$DISPLAY" >> ~/.x_displays.log & -- cgit v1.2.3