mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-14 05:37:17 +00:00
18 lines
304 B
Nix
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}
|
|
'';
|
|
}
|