zaneyos/config/scripts/screenshootin.nix

6 lines
95 B
Nix

{ pkgs }:
pkgs.writeShellScriptBin "screenshootin" ''
grim -g "$(slurp)" - | swappy -f -
''