diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-11-27 21:37:28 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-11-27 21:37:28 +0100 |
commit | 3d6ee0856e4477378e8237f11f6f74eec9754488 (patch) | |
tree | faa621e25dea3f5285e0ea079bc32295b0e11e64 | |
parent | 3b659f14503defce477efa12c3af2c8796b1d8eb (diff) |
checkpoint
-rwxr-xr-x | config/X/x11/xinitrc | 2 | ||||
-rwxr-xr-x | config/home/.xprofile | 19 |
2 files changed, 14 insertions, 7 deletions
diff --git a/config/X/x11/xinitrc b/config/X/x11/xinitrc index 2ec027e..48c0fcf 100755 --- a/config/X/x11/xinitrc +++ b/config/X/x11/xinitrc @@ -24,4 +24,6 @@ fi export MENUCMD="dmenu" export IMAGE="feh" +eval "$(keychain --dir "$XDG_CONFIG_HOME/keychain" --eval --quiet --agents gpg,ssh)" + exec startdwm diff --git a/config/home/.xprofile b/config/home/.xprofile index 9d01277..884b829 100755 --- a/config/home/.xprofile +++ b/config/home/.xprofile @@ -1,8 +1,14 @@ -xrandr --output "$(xrandr | grep '\bconnected\b' | awk '{print $1}')" --mode 1920x1080 --rate 144 & +# TODO: check if this is home +if [ "$HOST" = "winter" ]; then + ( + CurrentOutput="$(xrandr | grep '\bconnected\b' | awk '{print $1}')" + xrandr --output "$CurrentOutput" --mode 1920x1080 --rate 144 + ) & +fi picom -b & -feh --no-fehbg --bg-scale ~/pics/wallpaper -setxkbmap colemak -option ctrl:swapcaps,altwin:menu_win +feh --no-fehbg --bg-scale "$HOME"/pics/wallpaper & +setxkbmap colemak -option ctrl:swapcaps,altwin:menu_win & # xautolock -locker slock & @@ -11,10 +17,9 @@ ntfy transmission & herbimisu & slstatus & # upds & -eval "$(keychain --dir "$XDG_CONFIG_HOME/keychain" --eval --quiet --agents gpg,ssh)" -unclutter --timeout 3 --jitter 50 -b +unclutter --timeout 3 --jitter 50 -b & 202020 & -signal-desktop & -discord & +# signal-desktop & +# discord & st -e "sh" "-c" "pgrep tmux && tmux a || tmux" & |