Created
August 29, 2016 14:18
-
-
Save Philonous/ea197d3a703e6e286706e103439c032f to your computer and use it in GitHub Desktop.
xinitrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
#xrandr --output DVI-D-0 --mode 1920x1080 --output HDMI-0 --mode 3840x2160 --right-of DVI-D-0 | |
xrandr --output DVI-D-0 --mode 1920x1080 --dpi 90 --output HDMI-0 --off | |
nvidia-settings --load-config-only | |
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) | |
export SSH_AUTH_SOCK | |
exec xmonad |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment