aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x/xsession.sh19
1 files changed, 13 insertions, 6 deletions
diff --git a/x/xsession.sh b/x/xsession.sh
index 5d07ef18..b2f6d656 100644
--- a/x/xsession.sh
+++ b/x/xsession.sh
@@ -28,13 +28,20 @@ for program in xrandr xwallpaper ; do (
setxkbmap \
-option caps:ctrl_modifier \
-option compose:ralt \
- -option terminate:ctrl_alt_bksp &
+ -option terminate:ctrl_alt_bksp \
+ &
-# Set fast mouse acceleration with a natural threshold
-xset mouse 5/2 0 &
-
-# Disable screen saver and power management; my lock script handles this
-xset s off -dpms
+# Set a few X user preferences:
+#
+# - No power management
+# - Quick curved mouse acceleration
+# - No screen saver
+#
+xset \
+ -dpms \
+ mouse 5/2 0 \
+ s off \
+ &
# Update browser, since .profile set this to a curses browser on login
# shellcheck disable=SC2034