mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 05:04:34 +00:00
Add X config files
This commit is contained in:
parent
9cade487cb
commit
293840aafa
18
home/.config/x11/xinitrc
Normal file
18
home/.config/x11/xinitrc
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# xinitrc runs automatically when startx is ran
|
||||||
|
|
||||||
|
# There are some important commands that need to be executed when we start
|
||||||
|
# the graphical environment. There is a link to this file in ~/.xprofile
|
||||||
|
# because that file is ran automatically if someone uses a display manager
|
||||||
|
# (login screen) and so they are needed there. To prevent doubling up commands
|
||||||
|
# I source them here with the line below.
|
||||||
|
|
||||||
|
if [ -f "${XDG_CONFIG_HOME:-$HOME/config}/x11/xprofile" ]; then
|
||||||
|
source "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile"
|
||||||
|
else
|
||||||
|
source "$HOME/.xprofile"
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec xmonad
|
||||||
|
|
6
home/.config/x11/xprofile
Normal file
6
home/.config/x11/xprofile
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# This file runs when a DM logs you into a graphical session
|
||||||
|
# if you use startx/xinit this file should also be soruced.
|
||||||
|
|
||||||
|
xrandr --output eDP-1 --auto --output HDMI-1 --auto --left-of eDP-1
|
1
home/.xinitrc
Symbolic link
1
home/.xinitrc
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
.config/x11/xinitrc
|
1
home/.xprofile
Symbolic link
1
home/.xprofile
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
.config/x11/xprofile
|
Loading…
Reference in a new issue