add comment, remove remaps from displayselect
This commit is contained in:
parent
37d26eccd8
commit
136456e4fa
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue