mirror of
https://github.com/fairyglade/ly.git
synced 2026-08-06 21:21:58 +00:00
Brother what am I doing
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -504,7 +504,6 @@ pub fn main(init: std.process.Init) !void {
|
|||||||
.{ state.config.show_password_key, state.lang.toggle_password },
|
.{ state.config.show_password_key, state.lang.toggle_password },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (state.config.brightness_down_key != null) {
|
|
||||||
if (state.config.brightness_down_key) |key| {
|
if (state.config.brightness_down_key) |key| {
|
||||||
try state.brightness_down_label.setTextAlloc(
|
try state.brightness_down_label.setTextAlloc(
|
||||||
state.allocator,
|
state.allocator,
|
||||||
@@ -512,8 +511,6 @@ pub fn main(init: std.process.Init) !void {
|
|||||||
.{ key, state.lang.brightness_down },
|
.{ key, state.lang.brightness_down },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (state.config.brightness_up_key != null) {
|
|
||||||
if (state.config.brightness_up_key) |key| {
|
if (state.config.brightness_up_key) |key| {
|
||||||
try state.brightness_up_label.setTextAlloc(
|
try state.brightness_up_label.setTextAlloc(
|
||||||
state.allocator,
|
state.allocator,
|
||||||
@@ -521,7 +518,6 @@ pub fn main(init: std.process.Init) !void {
|
|||||||
.{ key, state.lang.brightness_up },
|
.{ key, state.lang.brightness_up },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
state.numlock_label = Label.init(
|
state.numlock_label = Label.init(
|
||||||
"",
|
"",
|
||||||
|
|||||||
Reference in New Issue
Block a user