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:
@@ -2,6 +2,7 @@ authenticating: []const u8 = "authenticating...",
|
||||
capslock: []const u8 = "capslock",
|
||||
err_alloc: []const u8 = "failed memory allocation",
|
||||
err_bounds: []const u8 = "out-of-bounds index",
|
||||
err_brightness_change: []const u8 = "failed to change brightness",
|
||||
err_chdir: []const u8 = "failed to open home folder",
|
||||
err_console_dev: []const u8 = "failed to access console",
|
||||
err_dgn_oob: []const u8 = "log message",
|
||||
@@ -54,3 +55,5 @@ sleep: []const u8 = "sleep",
|
||||
wayland: []const u8 = "wayland",
|
||||
xinitrc: [:0]const u8 = "xinitrc",
|
||||
x11: []const u8 = "x11",
|
||||
brightness_down: []const u8 = "decrease brightness",
|
||||
brightness_up: []const u8 = "increase brightness",
|
||||
|
||||
Reference in New Issue
Block a user