aboutsummaryrefslogtreecommitdiff
path: root/X
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-04-30 14:49:13 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-04-30 14:56:32 +1200
commita88c1c6b1e126339e7fa4318c2f0079d48642160 (patch)
tree8dbe216bc793290aef0d85437265aba986da0724 /X
parentSet Vim filetype for X startup scripts (diff)
downloaddotfiles-a88c1c6b1e126339e7fa4318c2f0079d48642160.tar.gz
dotfiles-a88c1c6b1e126339e7fa4318c2f0079d48642160.zip
Move X mouse settings to subscript
Diffstat (limited to 'X')
-rw-r--r--X/xsession3
-rw-r--r--X/xsession.d/mouse.sh2
2 files changed, 2 insertions, 3 deletions
diff --git a/X/xsession b/X/xsession
index b8fdcce6..7f0c9609 100644
--- a/X/xsession
+++ b/X/xsession
@@ -2,9 +2,6 @@
# shellcheck disable=SC1091
[ -e "$HOME"/.xrandrrc ] && . "$HOME"/.xrandrrc
-# Faster mouse acceleration with a natural threshold
-xset mouse 5/2 0
-
# Load all supplementary scripts in ~/.xsession.d
for sh in "$HOME"/.xsession.d/*.sh ; do
[ -e "$sh" ] && . "$sh"
diff --git a/X/xsession.d/mouse.sh b/X/xsession.d/mouse.sh
new file mode 100644
index 00000000..0f5e56d4
--- /dev/null
+++ b/X/xsession.d/mouse.sh
@@ -0,0 +1,2 @@
+# Faster mouse acceleration with a natural threshold
+xset mouse 5/2 0