remaps run by remapd automatically on startup

This commit is contained in:
Luke Smith 2023-02-06 20:45:11 -05:00
parent c55a896653
commit 6d75bbdf8c
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
2 changed files with 2 additions and 4 deletions

View file

@ -6,7 +6,6 @@
xrandr --dpi 96 # Set DPI. User may want to use a larger number for larger screens. xrandr --dpi 96 # Set DPI. User may want to use a larger number for larger screens.
setbg & # set the background with the `setbg` script 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 #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" autostart="mpd xcompmgr dunst unclutter pipewire remapd"

View file

@ -1,10 +1,9 @@
#!/bin/sh #!/bin/sh
# Rerun the remaps script whenever a new input device is added. Run by the # Rerun the remaps script whenever a new input device is added.
# xprofile by default.
while : ; do while : ; do
remaps
dmesg -W -f kern | grep "input:" -q dmesg -W -f kern | grep "input:" -q
sleep 1 sleep 1
remaps
done done