aboutsummaryrefslogtreecommitdiff
path: root/lint
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-04-27 21:25:03 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-04-27 21:25:03 +1200
commit1287cf7167393a17497ae1aa33ac7c7bb47a3964 (patch)
tree1bfae27d76dfe60f13287b353be39fb37d09518c /lint
parentRefine browser selection logic (diff)
downloaddotfiles-1287cf7167393a17497ae1aa33ac7c7bb47a3964.tar.gz
dotfiles-1287cf7167393a17497ae1aa33ac7c7bb47a3964.zip
Switch .xinitrc to .xsession
This is Debian-specific, but that's the only system with which I'm presently using X11 anyway. From Debian's startx(1): > Note that in the Debian system, what many people traditionally put in > the .xinitrc file should go in .xsession instead; this permits the > same X environment to be presented whether startx, xdm, or xinit is > used to start the X session. All discussion of the .xinitrc file in > the xinit(1) manual page applies equally well to .xsession. Keep in > mind that .xinitrc is used only by xinit(1) and completely ignored by > xdm(1). Indeed, everything just seems to work a bit better, probably because problems are more likely to be able to find the user instance of dbus.
Diffstat (limited to 'lint')
-rw-r--r--lint/xsession.sh (renamed from lint/xinit.sh)4
1 files changed, 2 insertions, 2 deletions
diff --git a/lint/xinit.sh b/lint/xsession.sh
index 0fab84d2..fd60c864 100644
--- a/lint/xinit.sh
+++ b/lint/xsession.sh
@@ -1,4 +1,4 @@
set \
- X/xinitrc \
- X/xinitrc.d/*.sh
+ X/xsession \
+ X/xsession.d/*.sh
shellcheck -e SC1090 -s sh -- "$@"