Add aura farming

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-06-09 19:23:11 +01:00
parent 34b625a402
commit adb09135ce
3 changed files with 33 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ lib, pkgs, ... }:
{
home-manager.sharedModules = [
{
@@ -14,16 +14,32 @@
bindl =
let
touchpadHelper = pkgs.writeShellApplication {
name = "touchpad-helper";
runtimeInputs = with pkgs; [ hyprland ];
text = builtins.readFile ./touchpad-helper.sh;
};
touchpadHelper = lib.meta.getExe (
pkgs.writeShellApplication {
name = "touchpad-helper";
runtimeInputs = with pkgs; [ hyprland ];
text = builtins.readFile ./scripts/touchpad-helper.sh;
}
);
in
[
", XF86Launch4, exec, ${asusctl} profile -n"
", XF86TouchpadToggle, exec, ${touchpadHelper} asuf1209:00-2808:0219-touchpad"
];
bind =
let
farmAura = lib.meta.getExe (
pkgs.writeShellApplication {
name = "farm-aura";
runtimeInputs = with pkgs; [ genact ];
text = builtins.readFile ./scripts/farm-aura.sh;
}
);
in
[
", XF86Launch3, exec, uwsm app -- $term ${farmAura}"
];
};
}
];