mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 04:44:03 +01:00
Revert "Remove xinit"
I may want to use this in the future and even if I don't use it it's not going to have a significant impact on the computer, so I might as well keep it here just in case.
This commit is contained in:
parent
df1d328de9
commit
c01f79ffcc
18
xinit/.xinitrc
Normal file
18
xinit/.xinitrc
Normal file
@ -0,0 +1,18 @@
|
||||
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
||||
# Copyright (C) 2017-2018 Donovan Glover
|
||||
|
||||
# Source the .Xresources file
|
||||
xrdb -merge ~/.Xresources
|
||||
|
||||
# Source the files in the xinitrc.d directory
|
||||
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
|
||||
|
||||
# Start the window manager
|
||||
exec bspwm
|
||||
|
||||
# vim:ft=sh
|
15
xinit/README.md
Normal file
15
xinit/README.md
Normal file
@ -0,0 +1,15 @@
|
||||
# xinit
|
||||
|
||||
[xinit][xinit] is used to run the X display server with `startx`.
|
||||
|
||||
## Use Cases
|
||||
|
||||
xinit can be used to:
|
||||
|
||||
- Start X from a tty
|
||||
|
||||
You should not use xinit if:
|
||||
|
||||
- You use a display manager that bypasses the tty
|
||||
|
||||
[xinit]: https://wiki.archlinux.org/index.php/Xinit
|
Loading…
Reference in New Issue
Block a user