commit 9de6c21c9ac2a8cbfaea0d58a779d55bdca92c6e parent 11b61f6d243a6d39a1bd61c181c80bf57cc649d6 Author: Alex Balgavy <alex@balgavy.eu> Date: Wed, 22 Jun 2022 17:30:48 +0200 xinitrc: fixes Diffstat:
M | xinitrc | | | 18 | +++++++++--------- |
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/xinitrc b/xinitrc @@ -21,18 +21,18 @@ if [ -f "$usermodmap" ]; then xmodmap "$usermodmap" fi -# start some nice programs -if [ -d /etc/X11/xinit/xinitrc.d ] ; then - for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do - [ -x "$f" ] && . "$f" - done - unset f +if [ -z "$DOTFILES" ]; then + export DOTFILES="$HOME/.dotfiles" + . "$DOTFILES"/shell/env + . "$DOTFILES"/shell/paths fi -wal -R && xdotool key "super+shift+r" +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) -command -v VBoxClient-all >/dev/null 2>&1 && VBoxClient-all +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 &