mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
Add brightness control support with brightnessctl (#626)
* Added key binds to control brightness I added keybinds to control brightness with brightnessctl. F5 to decrease brightness. f6 to increase brightness. * Update src/main.zig Co-authored-by: ShiningLea <anerruption@disroot.org> * added proper keybinds and configs for brightness control * Update src/main.zig Co-authored-by: ShiningLea <anerruption@disroot.org> * code improvement and changes * updated en.ini --------- Co-authored-by: ShiningLea <anerruption@disroot.org>
This commit is contained in:
@@ -16,6 +16,10 @@ pub const xcb = @cImport({
|
||||
@cInclude("xcb/xcb.h");
|
||||
});
|
||||
|
||||
pub const unistd = @cImport({
|
||||
@cInclude("unistd.h");
|
||||
});
|
||||
|
||||
pub const c_size = u64;
|
||||
pub const c_uid = u32;
|
||||
pub const c_gid = u32;
|
||||
|
||||
Reference in New Issue
Block a user