diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2023-02-06 18:19:09 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2023-02-06 18:19:09 -0500 |
| commit | 136456e4fab5a7cb428add6e995c941b2c99dcbe (patch) | |
| tree | 427ddf16f493a228cb9769fd22460f12b114165e /.local | |
| parent | 37d26eccd8c518a7e3f404fe59ad6c52e5474063 (diff) | |
| download | eibhear-136456e4fab5a7cb428add6e995c941b2c99dcbe.tar.gz eibhear-136456e4fab5a7cb428add6e995c941b2c99dcbe.tar.zst eibhear-136456e4fab5a7cb428add6e995c941b2c99dcbe.zip | |
add comment, remove remaps from displayselect
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/displayselect | 1 | ||||
| -rw-r--r-- | .local/bin/remapd | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.local/bin/displayselect b/.local/bin/displayselect index f9e8062..0227a32 100755 --- a/.local/bin/displayselect +++ b/.local/bin/displayselect @@ -58,7 +58,6 @@ onescreen() { # If only one output available or chosen. postrun() { # Stuff to run to clean up. 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 } diff --git a/.local/bin/remapd b/.local/bin/remapd index 93a23f6..4ce32b3 100644 --- a/.local/bin/remapd +++ b/.local/bin/remapd @@ -1,4 +1,8 @@ #!/bin/sh + +# Rerun the remaps script whenever a new input device is added. Run by the +# xprofile by default. + while : ; do dmesg -W -f kern | grep "input:" -q sleep 1 |
