summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-12-06 16:21:58 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-12-06 16:21:58 +0100
commita72c885c41d9511133cc4523da7a082c0b2f46d0 (patch)
treec5c41e346ccebc627ea45129157389ebaf6d2766 /config
parent72a02162233bca1df80f57e7157d6d5d83257a74 (diff)
checkpoint
Diffstat (limited to 'config')
-rwxr-xr-xconfig/extra/gdb/gdbinit1
-rwxr-xr-xconfig/home/.xprofile8
2 files changed, 6 insertions, 3 deletions
diff --git a/config/extra/gdb/gdbinit b/config/extra/gdb/gdbinit
index 7731881..86f7625 100755
--- a/config/extra/gdb/gdbinit
+++ b/config/extra/gdb/gdbinit
@@ -3,3 +3,4 @@ set debuginfod enabled off
#set height 0
set pagination off
set disassembly-flavor intel
+
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 &