X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=x%2F.xinitrc;h=685a75a0f58de8ca2e55b413d71080b8767e2c2c;hb=3a92354af22bbdab45045d2acfe095d52a4eb59b;hp=90bcd2f3ed435bf650d13ac424af018d703e871b;hpb=75f3a552c1b9dcaeead05882a94e6805375be506;p=dotfiles.git diff --git a/x/.xinitrc b/x/.xinitrc index 90bcd2f..685a75a 100755 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -1,6 +1,32 @@ #!/bin/bash +#To fix java applications in tiling (e.g. arduino) +export _JAVA_AWT_WM_NONREPARENTING=1 +# notifications +dunst & + +# tray icons +# trayer --align right --widthtype request --SetPartialStrut false --height 22 & + +# gpg agent eval "$(gpg-agent --daemon)" + +# XResources xrdb -merge ~/.Xresources -exec i3 +# auto locking +xautolock -locker slock -time 10 & + +# Other system wide xinit files +if [ -d /etc/X11/xinit/xinitrc.d ] ; then + for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +# status bar +while true; do xsetroot -name "$(bar)"; sleep 1m; done & + +# wm +while true; do dwm 1>/tmp/dwm.log 2>&1; done