mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-21 03:34:54 +00:00
Refactor brightness handling code
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -14,10 +14,10 @@ bigclock: bool = false,
|
||||
blank_box: bool = true,
|
||||
border_fg: u16 = 8,
|
||||
box_title: ?[]const u8 = null,
|
||||
brightness_change: []const u8 = "10",
|
||||
brightness_down_cmd: [:0]const u8 = build_options.prefix_directory ++ "/bin/brightnessctl -q s 10%-",
|
||||
brightness_down_key: []const u8 = "F5",
|
||||
brightness_up_cmd: [:0]const u8 = build_options.prefix_directory ++ "/bin/brightnessctl -q s +10%",
|
||||
brightness_up_key: []const u8 = "F6",
|
||||
brightnessctl: [:0]const u8 = build_options.prefix_directory ++ "/bin/brightnessctl",
|
||||
clear_password: bool = false,
|
||||
clock: ?[:0]const u8 = null,
|
||||
cmatrix_fg: u16 = 3,
|
||||
|
||||
Reference in New Issue
Block a user