summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-28 22:59:44 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-28 22:59:44 +0200
commit80513942a4b2e23514b5263a61ba0f5ff9ca24b5 (patch)
tree7e1d21d5f464eddb907525580f10e47dc8415c9f
parentab60a8ef2afa47f013b60e6ee536591d6ff4925b (diff)
Update x11 profile
-rwxr-xr-x.config/x11/xprofile11
-rwxr-xr-x.local/bin/remaps5
2 files changed, 10 insertions, 6 deletions
diff --git a/.config/x11/xprofile b/.config/x11/xprofile
index 15f3bf5..8fce5ef 100755
--- a/.config/x11/xprofile
+++ b/.config/x11/xprofile
@@ -3,14 +3,13 @@
# This file runs when a DM logs you into a graphical session.
# If you use startx/xinit like a Chad, this file will also be sourced.
-setbg & # Set the background with the `setbg` script
-xset r rate 300 50 & # Speed xrate up
-unclutter & # Remove mouse when idle
-xbanish & # Remove mouse when typing
-dwmblocks & # Status bar
+setbg & # Set the background with the `setbg` script
+dwmblocks & # Status bar
+remaps & # Speed xrate up
+
xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & xrdbpid=$!
-autostart="xcompmgr dunst unclutter pipewire"
+autostart="xcompmgr dunst unclutter xbanish pipewire"
for program in $autostart; do
pidof -s "$program" || setsid -f "$program"
diff --git a/.local/bin/remaps b/.local/bin/remaps
new file mode 100755
index 0000000..a373282
--- /dev/null
+++ b/.local/bin/remaps
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# This script is called on startup to remap keys.
+# Decrease key repeat delay to 300ms and increase key repeat rate to 50 per second.
+xset r rate 300 60