diff options
-rwxr-xr-x | .config/x11/xprofile | 11 | ||||
-rwxr-xr-x | .local/bin/remaps | 5 |
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 |