1
0
mirror of https://github.com/Dejvino/pinephone-sway-poc.git synced 2024-11-22 22:13:21 +00:00
pinephone-sway-poc/usr/local/bin/swayphone_backlightselect

17 lines
201 B
Plaintext
Raw Normal View History

2020-05-31 01:21:22 +00:00
#!/bin/bash
BACKLIGHT=~/.backlight
dialog --menu EXECUTE 20 40 12 \
10 FULL \
9 . \
8 . \
7 . \
6 . \
5 . \
4 . \
3 . \
2 MIN \
2>$BACKLIGHT && pptk-backlight set `cat $BACKLIGHT`