diff --git a/pkgs/scripts/assets/qr-scan.png b/pkgs/scripts/assets/qr-scan.png new file mode 100644 index 0000000..a725f40 Binary files /dev/null and b/pkgs/scripts/assets/qr-scan.png differ diff --git a/pkgs/scripts/assets/qr-scan.svg b/pkgs/scripts/assets/qr-scan.svg deleted file mode 100644 index 75f6650..0000000 --- a/pkgs/scripts/assets/qr-scan.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/pkgs/scripts/screenshot-area-scan-qr.nix b/pkgs/scripts/screenshot-area-scan-qr.nix index 2a0ed3c..cbdafc5 100644 --- a/pkgs/scripts/screenshot-area-scan-qr.nix +++ b/pkgs/scripts/screenshot-area-scan-qr.nix @@ -36,7 +36,7 @@ writeShellApplication { ${xclip}/bin/xclip -selection clipboard <<< "$DATA" ${libnotify}/bin/notify-send \ "šŸ” QR Code scan" "āœ… $N codes detected\nšŸ“‹ copied ''${#DATA} bytes" \ - --hint="string:image-path:"${./assets/qr-scan.svg} \ + --hint="string:image-path:"${./assets/qr-scan.png} \ --hint="string:wired-tag:screenshot-$date" \ || true else @@ -44,14 +44,14 @@ writeShellApplication { "4") ${libnotify}/bin/notify-send \ "šŸ” QR Code scan" "āŒ 0 codes detected" \ - --hint="string:image-path:"${./assets/qr-scan.svg} \ + --hint="string:image-path:"${./assets/qr-scan.png} \ --hint="string:wired-tag:screenshot-$date" \ || true ;; *) ${libnotify}/bin/notify-send \ "šŸ” QR Code scan" "āŒ Error while processing image: zbarimg exited with code $?" \ - --hint="string:image-path:"${./assets/qr-scan.svg} \ + --hint="string:image-path:"${./assets/qr-scan.png} \ --hint="string:wired-tag:screenshot-$date" \ || true ;; diff --git a/users/modules/config/utils.nix b/users/modules/config/utils.nix index f7f84bc..bf213f3 100644 --- a/users/modules/config/utils.nix +++ b/users/modules/config/utils.nix @@ -9,6 +9,7 @@ lib.optionalAttrs (!minimal) { packages = with pkgs; [ bandwhich btop + delta fd file hexyl