summaryrefslogtreecommitdiff
path: root/.xsessionrc
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-08-15 10:30:22 -0700
committerSean Whitton <spwhitton@spwhitton.name>2017-08-15 10:30:22 -0700
commitcf39a69be846af5907c4bca4cde846cd1b6c9606 (patch)
treed4a79b31b26b71695ed756651cf7c0740e358950 /.xsessionrc
parentb0f48c9f495e683418a3ad3620aab5b05891b61c (diff)
downloaddotfiles-cf39a69be846af5907c4bca4cde846cd1b6c9606.tar.gz
factor idempotent X config out of .xsessionrc
Diffstat (limited to '.xsessionrc')
-rwxr-xr-x.xsessionrc18
1 files changed, 1 insertions, 17 deletions
diff --git a/.xsessionrc b/.xsessionrc
index 42f83f69..1f1d6045 100755
--- a/.xsessionrc
+++ b/.xsessionrc
@@ -2,23 +2,7 @@
. $HOME/.shenv
-# ---- no bell please
-
-xset b off
-
-# ---- keyboard settings
-
-xset r rate 380 25
-setxkbmap -option ctrl:nocaps
-xmodmap ~/.xmodmaprc
-
-# enable numlock if using USB keyboard
-lsusb | grep -q "Chicony Electronics Co., Ltd" \
- && numlockx on
-
-# ---- monitor settings
-
-xset dpms 600
+normalise-x
# ---- screen locking