summaryrefslogtreecommitdiff
path: root/jackrandom/.xinitrc
diff options
context:
space:
mode:
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