mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-09 07:09:13 +02:00
Brother what am I doing
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
parent
54f1ff14ee
commit
018d797ed6
1 changed files with 12 additions and 16 deletions
28
src/main.zig
28
src/main.zig
|
|
@ -504,23 +504,19 @@ pub fn main(init: std.process.Init) !void {
|
|||
.{ state.config.show_password_key, state.lang.toggle_password },
|
||||
);
|
||||
}
|
||||
if (state.config.brightness_down_key != null) {
|
||||
if (state.config.brightness_down_key) |key| {
|
||||
try state.brightness_down_label.setTextAlloc(
|
||||
state.allocator,
|
||||
"{s} {s}",
|
||||
.{ key, state.lang.brightness_down },
|
||||
);
|
||||
}
|
||||
if (state.config.brightness_down_key) |key| {
|
||||
try state.brightness_down_label.setTextAlloc(
|
||||
state.allocator,
|
||||
"{s} {s}",
|
||||
.{ key, state.lang.brightness_down },
|
||||
);
|
||||
}
|
||||
if (state.config.brightness_up_key != null) {
|
||||
if (state.config.brightness_up_key) |key| {
|
||||
try state.brightness_up_label.setTextAlloc(
|
||||
state.allocator,
|
||||
"{s} {s}",
|
||||
.{ key, state.lang.brightness_up },
|
||||
);
|
||||
}
|
||||
if (state.config.brightness_up_key) |key| {
|
||||
try state.brightness_up_label.setTextAlloc(
|
||||
state.allocator,
|
||||
"{s} {s}",
|
||||
.{ key, state.lang.brightness_up },
|
||||
);
|
||||
}
|
||||
|
||||
state.numlock_label = Label.init(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue