replace light with brightnessctl
This commit is contained in:
@@ -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,
|
||||
|
@@ -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",
|
||||
|
@@ -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")
|
||||
|
Reference in New Issue
Block a user