X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=x%2F.xinitrc;h=685a75a0f58de8ca2e55b413d71080b8767e2c2c;hb=4c9a4ba24952cad37d093de6e1166013664b8fd2;hp=763a2b5b38a20e0c5dea47f680c7eacc5e29a5cf;hpb=ca4e74b1c8d81761eb0d5d8dc4a996928fae2745;p=dotfiles.git diff --git a/x/.xinitrc b/x/.xinitrc index 763a2b5..685a75a 100755 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -1,11 +1,23 @@ #!/bin/bash -PATH=$PATH:~/.local/bin -xautolock -locker ~/.local/bin/lock.sh & +#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 +# 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" @@ -13,5 +25,8 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then unset f fi +# status bar while true; do xsetroot -name "$(bar)"; sleep 1m; done & -while true; do dwm >dwm.log 2>&1; done + +# wm +while true; do dwm 1>/tmp/dwm.log 2>&1; done