replace light with brightnessctl

This commit is contained in:
piotr
2024-01-10 12:45:02 +01:00
parent dbf8dd7686
commit 27f41bd247
3 changed files with 5 additions and 5 deletions

View File

@@ -230,7 +230,7 @@ SKELETON_PANEL: dict = {
"angle": 0.0,
"icon-placement": "start",
"backlight-device": "",
"backlight-controller": "light",
"backlight-controller": "brightnessctl",
"slider-orientation": "horizontal",
"slider-inverted": False,
"popup-icon-placement": "start",
@@ -2775,7 +2775,7 @@ class EditorWrapper(object):
"angle": 0.0,
"icon-placement": "start",
"backlight-device": "",
"backlight-controller": "light",
"backlight-controller": "brightnessctl",
"slider-orientation": "horizontal",
"slider-inverted": False,
"popup-icon-placement": "start",
@@ -3549,7 +3549,7 @@ class EditorWrapper(object):
"show-values": False,
"output-switcher": False,
"per-app-volume" : False,
"backlight-controller": "light",
"backlight-controller": "brightnessctl",
"backlight-device": "",
"interval": 1,
"window-width": 0,

View File

@@ -25,7 +25,7 @@ class BrightnessSlider(Gtk.EventBox):
"angle": 0.0,
"icon-placement": "start",
"backlight-device": "",
"backlight-controller": "light",
"backlight-controller": "brightnessctl",
"slider-orientation": "horizontal",
"slider-inverted": False,
"popup-icon-placement": "start",

View File

@@ -230,7 +230,7 @@ class PopupWindow(Gtk.Window):
if monitor:
GtkLayerShell.set_monitor(self, monitor)
check_key(settings, "backlight-controller", "light")
check_key(settings, "backlight-controller", "brightnessctl")
check_key(settings, "backlight-device", "")
check_key(settings, "css-name", "controls-window")