diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-12-06 16:21:58 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-12-06 16:21:58 +0100 |
commit | a72c885c41d9511133cc4523da7a082c0b2f46d0 (patch) | |
tree | c5c41e346ccebc627ea45129157389ebaf6d2766 | |
parent | 72a02162233bca1df80f57e7157d6d5d83257a74 (diff) |
checkpoint
-rwxr-xr-x | bin/extra/202020 | 7 | ||||
-rwxr-xr-x | config/extra/gdb/gdbinit | 1 | ||||
-rwxr-xr-x | config/home/.xprofile | 8 |
3 files changed, 11 insertions, 5 deletions
diff --git a/bin/extra/202020 b/bin/extra/202020 index 132d57b..1386058 100755 --- a/bin/extra/202020 +++ b/bin/extra/202020 @@ -1,11 +1,14 @@ #!/bin/sh +mpvwopts="mpv --no-resume-playback --volume=100" +sounds="$HOME/sync/share/sounds" + while true do sleep 20m - mpv --volume=100 .local/share/sounds/avert1.ogg & + $mpvwopts "$sounds"/avert1.ogg & herbe '202020' 'avert!' sleep 20s - mpv --volume=100 .local/share/sounds/avert2.ogg & + $mpvwopts "$sounds"/avert2.ogg & herbe '202020' 'stop averting' & done 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 & |