summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfig/X/x11/xinitrc2
-rwxr-xr-xconfig/home/.xprofile19
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" &