This commit is contained in:
Hadi
2024-03-20 18:01:15 +01:00
parent aa25061ad7
commit 0fee3682d0
16 changed files with 245 additions and 55 deletions

View File

@@ -18,7 +18,7 @@ let
mode="output"
fi
${pkgs.hyprshot}/bin/hyprshot -m $mode -o $folder -f $filename -s
${pkgs.hyprshot}/bin/hyprshot -m $mode -o $folder -f $filename -s || exit 1
if [[ $2 == "swappy" ]];then
${pkgs.swappy}/bin/swappy -f "$folder/$filename" -o "$HOME/Pictures/screenshots/$filename"