forked from Shinonome/dots-hyprland
brightness: use exponential adjustment
This commit is contained in:
@@ -48,7 +48,7 @@ Singleton {
|
|||||||
Process {
|
Process {
|
||||||
id: decreaseBrightness
|
id: decreaseBrightness
|
||||||
|
|
||||||
command: ["brightnessctl", "set", "5%-"]
|
command: ["brightnessctl", "set", "5%-", "-e"]
|
||||||
running: false
|
running: false
|
||||||
onExited: {
|
onExited: {
|
||||||
running = false;
|
running = false;
|
||||||
@@ -59,7 +59,7 @@ Singleton {
|
|||||||
Process {
|
Process {
|
||||||
id: increaseBrightness
|
id: increaseBrightness
|
||||||
|
|
||||||
command: ["brightnessctl", "set", "5%+"]
|
command: ["brightnessctl", "set", "5%+", "-e"]
|
||||||
running: false
|
running: false
|
||||||
onExited: {
|
onExited: {
|
||||||
running = false;
|
running = false;
|
||||||
@@ -70,7 +70,7 @@ Singleton {
|
|||||||
Process {
|
Process {
|
||||||
id: preventPitchBlack
|
id: preventPitchBlack
|
||||||
|
|
||||||
command: ["brightnessctl", "set", "1%+"]
|
command: ["brightnessctl", "set", "1%+", "-e"]
|
||||||
running: false
|
running: false
|
||||||
onExited: {
|
onExited: {
|
||||||
running = false;
|
running = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user