Backlight selector shows current value. Dialog menus wait for term init.

This commit is contained in:
Dejvino
2020-06-14 07:44:17 +02:00
parent 56993dd275
commit 03d8dcc333
3 changed files with 9 additions and 9 deletions
+7 -7
View File
@@ -2,14 +2,14 @@
BACKLIGHT=~/.backlight
dialog --menu Backlight 0 0 10 \
dialog --scrollbar --default-item `pptk-backlight get` --menu Backlight 0 0 10 \
10 FULL \
9 . \
8 . \
7 . \
6 . \
5 . \
4 . \
9 :::: \
8 :::. \
7 ::: \
6 ::. \
5 :: \
4 :. \
3 MIN \
2>$BACKLIGHT && pptk-backlight set `cat $BACKLIGHT`