add comment, remove remaps from displayselect

This commit is contained in:
Luke Smith 2023-02-06 18:19:09 -05:00
parent 37d26eccd8
commit 136456e4fa
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
2 changed files with 4 additions and 1 deletions

View file

@ -58,7 +58,6 @@ onescreen() { # If only one output available or chosen.
postrun() { # Stuff to run to clean up. postrun() { # Stuff to run to clean up.
setbg # Fix background if screen size/arangement has changed. setbg # Fix background if screen size/arangement has changed.
remaps # Re-remap keys if keyboard added (for laptop bases)
{ killall dunst ; setsid -f dunst ;} >/dev/null 2>&1 # Restart dunst to ensure proper location on screen { killall dunst ; setsid -f dunst ;} >/dev/null 2>&1 # Restart dunst to ensure proper location on screen
} }

View file

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