aboutsummaryrefslogtreecommitdiff
path: root/x/xsession.sh
diff options
context:
space:
mode:
Diffstat (limited to 'x/xsession.sh')
-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