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