xinitrc with wpa_gui, volumecontrol in bar fixed
[dotfiles.git] / x / .xinitrc
index dfabfa3..3b7197f 100755 (executable)
@@ -1,6 +1,9 @@
 #!/bin/bash
-xautolock -locker ~/.local/bin/lock.sh &
+#To fix java applications in tiling (e.g. arduino)
+export _JAVA_AWT_WM_NONREPARENTING=1
 dunst &
+trayer --align right --widthtype request --SetPartialStrut false --height 22 &
+/usr/sbin/wpa_gui -t &
 
 eval "$(gpg-agent --daemon)"
 xrdb -merge ~/.Xresources
@@ -12,4 +15,5 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
        unset f
 fi
 
-exec i3
+while true; do xsetroot -name "$(bar)"; sleep 1m; done &
+while true; do dwm 1>/tmp/dwm.log 2>&1; done