mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-22 13:34:19 +02:00
Refactor brightness handling code
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
parent
f0869f0e13
commit
096b1a7d44
3 changed files with 11 additions and 21 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue