summaryrefslogtreecommitdiff
path: root/jackrandom/.xinitrc
blob: 8520ad4d22e05472ab3597c0ea6d8bd9b256c7c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# general foobar
xrdb -load ~/.Xresources
sh ~/.fehbg &
setxkbmap -layout us -variant altgr-intl -option terminate:ctrl_alt_bksp
xset -dpms; xset s off

# Gnome Keyring
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK

# active Screensaver
( ( sleep 10 && /usr/bin/xscreensaver -no-splash -display :0.0 ) & )

exec i3