Skip to content

Instantly share code, notes, and snippets.

@madprops
Created October 11, 2023 11:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madprops/4802f624e933628708de4824a19a25c0 to your computer and use it in GitHub Desktop.
Save madprops/4802f624e933628708de4824a19a25c0 to your computer and use it in GitHub Desktop.
#!/usr/bin/sh
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
export QT_QPA_PLATFORMTHEME=qt5ct
export XDG_SESSION_TYPE=x11
eval $(gnome-keyring-daemon --start)
export SSH_AUTH_SOCK
xrandr --output HDMI-A-0 --primary
xrandr --output HDMI-A-0 --left-of DisplayPort-0
exec awesome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment