#!/bin/bash
-urxvtd -q -o -f &
-xautolock -locker ~/.local/bin/lock.sh &
-dunst &
-compton -b
-~/.fehbg
+#To fix java applications in tiling (e.g. arduino)
+export _JAVA_AWT_WM_NONREPARENTING=1
-eval "$(gpg-agent --daemon)"
-xrdb -merge ~/.Xresources
+# notifications
+dunst &
-if [ -d /etc/X11/xinit/xinitrc.d ] ; then
- for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
- [ -x "$f" ] && . "$f"
- done
- unset f
+# auto locking but only on laptop
+if [ $(hostname) != ygdrassil ]; then
+ xautolock -locker slock -time 10 &
fi
-exec i3
+# status bar
+slstatus &
+
+# compositor
+xcompmgr -a -c -l0 -t0 -r0 -o.00 &
+
+setxkbmap dvorak,ru ,phonetic_dvorak compose:ralt,grp:shifts_toggle,grp_led:scroll,ctrl:swapcaps
+
+
+# Other system wide xinit files
+if [ -f /etc/X11/xinit/xinitrc ]; then
+ . /etc/X11/xinit/xinitrc
+fi