added stuff

This commit is contained in:
Charlie Root 2024-04-09 23:11:33 +02:00
commit 9d0ebdfbd0
907 changed files with 70990 additions and 0 deletions

View file

@ -0,0 +1,10 @@
{pkgs, ...}:
pkgs.writeShellApplication {
name = "hyprshot";
runtimeInputs = with pkgs; [grim slurp swappy];
text = ''
hyprctl keyword animation "fadeOut,0,8,slow" && \
grim -g "$(slurp -w 0 -b 5e81acd2)" - | swappy -f -; \
hyprctl keyword animation "fadeOut,1,8,slow"
'';
}