remove proxy, add transparency, add compton
[dotfiles.git] / x / .xinitrc
old mode 100644 (file)
new mode 100755 (executable)
index 6c2f666..bbd42d8
@@ -1,15 +1,18 @@
+#!/bin/bash
+urxvtd -q -o -f &
+xautolock -locker ~/.local/bin/lock.sh &
+dunst &
+compton -b
+~/.fehbg
+
+eval "$(gpg-agent --daemon)"
 xrdb -merge ~/.Xresources
-urxvtd -q -o -f
 
-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")"
+if [ -d /etc/X11/xinit/xinitrc.d ] ; then
+       for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
+               [ -x "$f" ] && . "$f"
+       done
+       unset f
 fi
-export GPG_AGENT_INFO
-export SSH_AUTH_SOCK
 
-setxkbmap -layout dvorak,ru -variant ,phonetic_dvorak -option compose:ralt,grp:menu_toggle
 exec i3