nixdots/home/programs/graphical/wms/hyprland/packages/hyprland-screenshot/default.nix
2024-06-21 16:07:45 +02:00

18 lines
304 B
Nix

# - `grim`: screenshot utility for wayland
{pkgs, ...}:
pkgs.writeShellApplication {
name = "hyprland-screenshot";
runtimeInputs = with pkgs; [
jq
grim
slurp
swappy
wl-clipboard
libnotify
hyprland
];
text = ''
${builtins.readFile ./hyprland-screenshot.sh}
'';
}