Commit: c559f9a3f75d4681fe12eb302cc779939fe75fe4 Parent: cb086136c259dfa82248edcbd5a8a587a1f78dae Author: Randy Palamar Date: Fri, 26 Feb 2021 11:55:12 -0700 add xinitrc Diffstat:
| M | .config/ksh/kshrc | | | 2 | +- |
| A | .config/x11/xinitrc | | | 21 | +++++++++++++++++++++ |
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/.config/ksh/kshrc b/.config/ksh/kshrc @@ -28,7 +28,7 @@ fi if [ $UNAME == "Linux" ]; then if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then - startx + startx ~/.config/x11/xinitrc fi fi diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc @@ -0,0 +1,20 @@ +bgs -z ~/.config/h_wallpaper.jpg + +[ -z $SSH_AGENT_PID ] && eval $(ssh-agent) + +[ $(pgrep mpd) ] || mpd +[ $(pgrep cron) ] || cron -f ~/.config/crontab +[ $(pgrep xbanish) ] || xbanish & + +[ $(prgrep status) ] || status & + +[ -d /tmp/downloads ] || mkdir /tmp/downloads + +xset s off -dpms + +export XMODIFIERS=@im=ibus +export GTK_IM_MODULE=ibus +export QT_IM_MODULE=ibus +ibus-daemon -drx + +exec ~/bin/dwm +\ No newline at end of file