summaryrefslogtreecommitdiff
path: root/jackrandom/.xinitrc
blob: d9a1157460d8e055a42e14a7813528342360ad77 (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
#!/bin/sh

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

# x resources
xrdb -load ~/.Xresources
setxkbmap -layout us -variant altgr-intl -option terminate:ctrl_alt_bksp
xset -dpms; xset s off	# fix nvidia DPMS fuckup
xrandr --dpi 96 # fix nvidia DPI fuckup

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

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

sh ~/.fehbg &		# bg
exec i3			# window manager