Add hyprpicker

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-06-08 12:04:32 +01:00
parent 946b598054
commit c5d0933648
3 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{
user ? throw "user argument is required",
home ? throw "home argument is required",
}:
{ lib, pkgs, ... }:
{
home-manager.users.${user} = {
home.packages = with pkgs; [ hyprpicker ];
wayland.windowManager.hyprland.settings.bind =
let
hyprpicker = lib.meta.getExe pkgs.hyprpicker;
in
[
"$mod_Shift, C, exec, uwsm app -- ${hyprpicker} -anrql"
];
};
}