diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2023-02-06 20:45:11 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2023-02-06 20:45:11 -0500 |
| commit | 6d75bbdf8c3adea29468328425798d2fa2ab4928 (patch) | |
| tree | dc6a12c67a5e8d34e0860b793a318b2dbd4b3090 | |
| parent | c55a896653cacf5963fe6b4b66aebba61dfaf629 (diff) | |
| download | eibhear-6d75bbdf8c3adea29468328425798d2fa2ab4928.tar.gz eibhear-6d75bbdf8c3adea29468328425798d2fa2ab4928.tar.zst eibhear-6d75bbdf8c3adea29468328425798d2fa2ab4928.zip | |
remaps run by remapd automatically on startup
| -rwxr-xr-x | .config/x11/xprofile | 1 | ||||
| -rw-r--r-- | .local/bin/remapd | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/.config/x11/xprofile b/.config/x11/xprofile index affa8de..1d63fd2 100755 --- a/.config/x11/xprofile +++ b/.config/x11/xprofile @@ -6,7 +6,6 @@ xrandr --dpi 96 # Set DPI. User may want to use a larger number for larger screens. setbg & # set the background with the `setbg` script #xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & xrdbpid=$! # Uncomment to use Xresources colors/settings on startup -remaps & # run the remaps script, switching caps/esc and more; check it for more info autostart="mpd xcompmgr dunst unclutter pipewire remapd" diff --git a/.local/bin/remapd b/.local/bin/remapd index 4ce32b3..cf67428 100644 --- a/.local/bin/remapd +++ b/.local/bin/remapd @@ -1,10 +1,9 @@ #!/bin/sh -# Rerun the remaps script whenever a new input device is added. Run by the -# xprofile by default. +# Rerun the remaps script whenever a new input device is added. while : ; do + remaps dmesg -W -f kern | grep "input:" -q sleep 1 - remaps done |
