mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 12:54:15 +01:00
c4b7b69f66
It turns out that placing similar config files (i.e. bspwm-related) in the same directory is not the way to go about handling dotfiles since each config file (or dotfile) *should* manipulate only a single program. This was not the case back when I used urxvt (which would require the old method of .Xresources), but now that I understand more about how *modern* dotfiles work (with $XDG_CONFIG_HOME), separating dotfiles by program became the obvious choice.
19 lines
419 B
Bash
19 lines
419 B
Bash
# 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
|