-fbgrab /tmp/bg.png
-
-envfile="$HOME/.gnupg/gpg-agent.env"
-if [[ -e "$envfile" ]] && kill -0 $(grep GPG_AGENT_INFO "$envfile" | cut -d: -f 2) 2>/dev/null
-then
- eval "$(cat "$envfile")"
-else
- eval "$(gpg-agent --daemon --enable-ssh-support --write-env-file "$envfile")"
+#!/bin/bash
+#To fix java applications in tiling (e.g. arduino)
+export _JAVA_AWT_WM_NONREPARENTING=1
+
+# notifications
+dunst &
+
+# gpg agent
+eval "$(gpg-agent --daemon)"
+
+# XResources
+xrdb -merge ~/.Xresources
+
+# auto locking but not on laptop
+if [ $(hostname) != "ygdrassil" ]; then
+ xautolock -locker slock -time 10 &