summaryrefslogtreecommitdiff
path: root/jackrandom/.xinitrc
diff options
context:
space:
mode:
authorJack Random <jack@random.to>2015-04-29 11:33:24 +0200
committerJack Random <jack@random.to>2015-04-29 11:33:24 +0200
commit48da778e106331d7a07f377327d5a6c7221865da (patch)
tree2e3681b8b6523f3485a49b84bdb8a4d851513eab /jackrandom/.xinitrc
parent8fc7092afea4f1bfbcf3d30fe9fb08ef1a004c21 (diff)
mmooaar
Diffstat (limited to 'jackrandom/.xinitrc')
-rw-r--r--jackrandom/.xinitrc16
1 files changed, 6 insertions, 10 deletions
diff --git a/jackrandom/.xinitrc b/jackrandom/.xinitrc
index 8520ad4..d9a1157 100644
--- a/jackrandom/.xinitrc
+++ b/jackrandom/.xinitrc
@@ -1,8 +1,4 @@
#!/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
@@ -11,18 +7,18 @@ if [ -d /etc/X11/xinit/xinitrc.d ]; then
unset f
fi
-# general foobar
+# x resources
xrdb -load ~/.Xresources
-sh ~/.fehbg &
setxkbmap -layout us -variant altgr-intl -option terminate:ctrl_alt_bksp
-xset -dpms; xset s off
+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
-# active Screensaver
+# Xscreensaver daemon
( ( sleep 10 && /usr/bin/xscreensaver -no-splash -display :0.0 ) & )
-exec i3
-
+sh ~/.fehbg & # bg
+exec i3 # window manager