Add hyprpicker
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
18
hosts/common/configs/user/gui/hyprpicker/default.nix
Normal file
18
hosts/common/configs/user/gui/hyprpicker/default.nix
Normal 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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
@@ -57,6 +57,7 @@ in
|
|||||||
(import ../../../common/configs/user/gui/firefox { inherit user home; })
|
(import ../../../common/configs/user/gui/firefox { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/gtk { inherit user home; })
|
(import ../../../common/configs/user/gui/gtk { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/hyprland { inherit user home; })
|
(import ../../../common/configs/user/gui/hyprland { inherit user home; })
|
||||||
|
(import ../../../common/configs/user/gui/hyprpicker { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/hyprshot { inherit user home; })
|
(import ../../../common/configs/user/gui/hyprshot { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/kitty { inherit user home; })
|
(import ../../../common/configs/user/gui/kitty { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/libreoffice { inherit user home; })
|
(import ../../../common/configs/user/gui/libreoffice { inherit user home; })
|
||||||
|
@@ -58,6 +58,7 @@ in
|
|||||||
(import ../../../common/configs/user/gui/firefox { inherit user home; })
|
(import ../../../common/configs/user/gui/firefox { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/gtk { inherit user home; })
|
(import ../../../common/configs/user/gui/gtk { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/hyprland { inherit user home; })
|
(import ../../../common/configs/user/gui/hyprland { inherit user home; })
|
||||||
|
(import ../../../common/configs/user/gui/hyprpicker { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/hyprshot { inherit user home; })
|
(import ../../../common/configs/user/gui/hyprshot { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/kitty { inherit user home; })
|
(import ../../../common/configs/user/gui/kitty { inherit user home; })
|
||||||
(import ../../../common/configs/user/gui/libreoffice { inherit user home; })
|
(import ../../../common/configs/user/gui/libreoffice { inherit user home; })
|
||||||
|
Reference in New Issue
Block a user