Fixed backlight and menuselect delays.
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
BACKLIGHT=~/.backlight
|
||||
|
||||
usleep 250000 # term stabilization
|
||||
|
||||
dialog --scrollbar --default-item `pptk-backlight get` --menu Backlight 0 0 10 \
|
||||
10 FULL \
|
||||
9 :::: \
|
||||
|
||||
@@ -16,5 +16,7 @@ then
|
||||
echo '"sudo poweroff" Shutdown' >> $MENUOPTIONS
|
||||
fi
|
||||
|
||||
usleep 250000 # term stabilization
|
||||
|
||||
cat $MENUOPTIONS | xargs dialog --menu EXECUTE $HEIGHT $WIDTH $LINES 2>$MENUSELECT && swaymsg exec "`cat $MENUSELECT`"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user