commit ffd9cda1c6c437a9a1a8fa3acb0b7ddbe70501c4
parent 6768340977879c44324bc20b7da9e0e4a1dcca73
Author: Alex Balgavy <alex@balgavy.eu>
Date: Wed, 22 Jun 2022 17:45:23 +0200
xinitrc: set terminal if necessary
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/xinitrc b/xinitrc
@@ -26,17 +26,18 @@ if [ -z "$DOTFILES" ]; then
. "$DOTFILES"/shell/env
. "$DOTFILES"/shell/paths
fi
+[ -z "$TERMINAL" ] && export TERMINAL="st"
setxkbmap -option ctrl:nocaps &
xcape &
{ wal -R && xdotool key "super+shift+r"; } &
export SHLVL=1
export _JAVA_AWT_WM_NONREPARENTING=1 # otherwise Ghidra shows a blank screen
-eval $(ssh-agent -s) &
+{ killall ssh-agent && eval $(ssh-agent -s); } &
command -v VBoxClient-all >/dev/null 2>&1 && VBoxClient-all &
xset r rate 300 50 &
dwmblocks 2>/var/log/dwm/dwmblocks.log &
dunst 2>/var/log/dunst/dunst.log &
unclutter &
-xcompmgr -f -c -C -D 2 &
+# xcompmgr -f -c -C -D 2 &
sxhkd 2>/var/log/sxhkd/sxhkd.log &
exec $HOME/.scripts/startdwm