Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
dejvino
/
pinephone-sway-poc
réplica de
https://github.com/Dejvino/pinephone-sway-poc
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
Backlight selector shows current value. Dialog menus wait for term init.
pull/1/head
Dejvino
hace 3 años
padre
56993dd275
commit
03d8dcc333
Se han
modificado 3 ficheros
con
9 adiciones
y
9 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-1
home/config/waybar/config_0
+1
-1
home/config/waybar/config_1
+7
-7
usr/local/bin/swayphone_backlightselect
+ 1
- 1
home/config/waybar/config_0
Ver fichero
@@ -39,7 +39,7 @@
"format": " {:%e %b %Y}", // Icon: calendar-alt
//"tooltip-format": "{:%e %B %Y}"
"tooltip": true,
"on-click": "termite -e swayphone_menuselect"
"on-click": "termite -e s
leep 1; s
wayphone_menuselect"
},
"battery": {
+ 1
- 1
home/config/waybar/config_1
Ver fichero
@@ -134,7 +134,7 @@
"format": "{icon} {percent}% ",
"states": [0,50],
"format-icons": ["", ""],
"on-click": "termite -e swayphone_backlightselect"
"on-click": "termite -e s
leep 1; s
wayphone_backlightselect"
},
"tray": {
"icon-size": 22
+ 7
- 7
usr/local/bin/swayphone_backlightselect
Ver fichero
@@ -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`
Escribir
Vista previa
Cargando…
Cancelar
Guardar