picom grayscale
This commit is contained in:
parent
8fe671866c
commit
5a7f23de43
@ -12,6 +12,7 @@ menu() {
|
||||
case $LANG in
|
||||
pl*)
|
||||
ENABLE="Włącz Kompozytora"
|
||||
GREYSCALE="Skala szarości"
|
||||
RESTART="Restartuj Kompozytora"
|
||||
DISABLE="Wyłącz Kompozytora"
|
||||
CHOOSE="Wybierz plik konfiguracyjny"
|
||||
@ -22,6 +23,7 @@ case $LANG in
|
||||
;;
|
||||
es*)
|
||||
ENABLE="Activar Compositor"
|
||||
GREYSCALE="Greyscale"
|
||||
RESTART="Reiniciar Compositor"
|
||||
DISABLE="Desactivar Compositor"
|
||||
CHOOSE="Elegir el archivo de configuración"
|
||||
@ -32,6 +34,7 @@ case $LANG in
|
||||
;;
|
||||
*)
|
||||
ENABLE="Enable Compositor"
|
||||
GREYSCALE="Greyscale"
|
||||
RESTART="Restart Compositor"
|
||||
DISABLE="Disable Compositor"
|
||||
CHOOSE="Choose config file"
|
||||
@ -45,9 +48,15 @@ esac
|
||||
out+=("^sep(Picom)")
|
||||
if ! pidof picom > /dev/null; then
|
||||
out+=("$ENABLE,compton_toggle")
|
||||
out+=("^sep()")
|
||||
out+=("$GREYSCALE,greyscale")
|
||||
|
||||
else
|
||||
out+=("$RESTART,compton_toggle;compton_toggle")
|
||||
out+=("$DISABLE,compton_toggle")
|
||||
out+=("^sep()")
|
||||
out+=("$GREYSCALE,greyscale")
|
||||
|
||||
fi
|
||||
|
||||
out+=("^sep($CHOOSE)")
|
||||
|
Loading…
Reference in New Issue
Block a user