aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-06-23 23:48:01 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-06-23 23:48:01 +1200
commitf4aa1b73512fca50536d410dce2d5fa45ab489df (patch)
tree2820f333a91dc01742ff419c9d5d98a7635f95ff
parentDon't set keyboard options in ~/.xsession (diff)
downloaddotfiles-f4aa1b73512fca50536d410dce2d5fa45ab489df.tar.gz
dotfiles-f4aa1b73512fca50536d410dce2d5fa45ab489df.zip
Remove hamfisted parallelizing
-rw-r--r--x/xsession.sh15
1 files changed, 6 insertions, 9 deletions
diff --git a/x/xsession.sh b/x/xsession.sh
index fa6a6c84..483707e6 100644
--- a/x/xsession.sh
+++ b/x/xsession.sh
@@ -12,13 +12,10 @@ BROWSER=x-www-browser
# - ~/.config/xrandr/config
# - ~/.config/xwallpaper/config
#
-# We wait for the monitor setup to finish before proceeding, but we can do
-# other things while we wait for the wallpaper to be drawn thereon.
-#
xargs xrandr \
< "${XDG_CONFIG_HOME:-"$HOME"/.config}"/xrandr/config
xargs xwallpaper \
- < "${XDG_CONFIG_HOME:-"$HOME"/.config}"/xwallpaper/config &
+ < "${XDG_CONFIG_HOME:-"$HOME"/.config}"/xwallpaper/config
# Set a few X user preferences:
#
@@ -31,13 +28,13 @@ xset \
b off \
-dpms \
mouse 5/2 0 \
- s off \
- &
+ s off
-# Start compton(1) X compositor
+# Start a couple of daemons if we can; it's OK if they don't exist, but log
+# the failed attempt to start them to the errors file.
+## compton: Display compositor
compton -b &
-
-# Start dunst(1) to display libnotify messages
+## dunst: Message display (libnotify)
dunst &
# Load all supplementary scripts in ~/.xsession.d