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:
tubi16
2024-07-04 14:17:56 +03:00
committed by GitHub
parent cbe7b37564
commit dc8d143fac
6 changed files with 52 additions and 0 deletions

View File

@@ -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;