This website works better with JavaScript.
Home
Explore
Help
Sign In
dejvino
/
pinephone-sway-poc
mirror of
https://github.com/Dejvino/pinephone-sway-poc
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Add backlight select
pull/1/head
Dejvino
3 years ago
parent
707d0c77c2
commit
a3f826a5ac
2 changed files
with
18 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
home/config/waybar/config_1
+16
-0
usr/local/bin/swayphone_backlightselect
+ 2
- 1
home/config/waybar/config_1
View File
@@ -133,7 +133,8 @@
// "device": "acpi_video1",
"format": "{icon} {percent}% ",
"states": [0,50],
"format-icons": ["", ""]
"format-icons": ["", ""],
"on-click": "termite -e swayphone_backlightselect"
},
"tray": {
"icon-size": 22
+ 16
- 0
usr/local/bin/swayphone_backlightselect
View File
@@ -0,0 +1,16 @@
#!/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`
Write
Preview
Loading…
Cancel
Save