Update keybinds

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-05-22 17:01:46 +01:00
parent a2af7705ff
commit c233b5a11a
5 changed files with 65 additions and 7 deletions

View File

@@ -0,0 +1,30 @@
{ pkgs, ... }:
{
home-manager.sharedModules = [
{
wayland.windowManager.hyprland.settings =
let
asusctl = "${pkgs.asusctl}/bin/asusctl";
in
{
bindle = [
", XF86KbdBrightnessUp, exec, ${asusctl} -n"
", XF86KbdBrightnessDown, exec, ${asusctl} -p"
];
bindl =
let
touchpadHelper = pkgs.writeShellApplication {
name = "touchpad-helper";
runtimeInputs = with pkgs; [ hyprland ];
text = builtins.readFile ./touchpad-helper.sh;
};
in
[
", XF86Launch4, exec, ${asusctl} profile -n"
", XF86TouchpadToggle, exec, ${touchpadHelper} asuf1209:00-2808:0219-touchpad"
];
};
}
];
}