mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-23 14:04:20 +02: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:
parent
cbe7b37564
commit
dc8d143fac
6 changed files with 52 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue