X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=x%2F.xinitrc;h=685a75a0f58de8ca2e55b413d71080b8767e2c2c;hb=bc7c93382c7b03165d472d205ec1261f876a8db5;hp=bbd42d89c7e1d1771ab17c3569a659bccc0f9cc4;hpb=29f4acd0ae2d23db79e33cc0d4d064b53771d1f6;p=dotfiles.git diff --git a/x/.xinitrc b/x/.xinitrc index bbd42d8..685a75a 100755 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -1,13 +1,23 @@ #!/bin/bash -urxvtd -q -o -f & -xautolock -locker ~/.local/bin/lock.sh & +#To fix java applications in tiling (e.g. arduino) +export _JAVA_AWT_WM_NONREPARENTING=1 + +# notifications dunst & -compton -b -~/.fehbg +# tray icons +# trayer --align right --widthtype request --SetPartialStrut false --height 22 & + +# gpg agent eval "$(gpg-agent --daemon)" + +# XResources xrdb -merge ~/.Xresources +# 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" @@ -15,4 +25,8 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then unset f fi -exec i3 +# status bar +while true; do xsetroot -name "$(bar)"; sleep 1m; done & + +# wm +while true; do dwm 1>/tmp/dwm.log 2>&1; done