From 0116c861bdb950483d4a7c69d2b5b3f13fa1bb32 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Tue, 2 Sep 2025 17:24:28 +0200 Subject: [PATCH] fix(screencapt): screenshot preview was not displayed in notification --- modules/home-manager/desktop/sway/includes/files/screencapt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home-manager/desktop/sway/includes/files/screencapt.sh b/modules/home-manager/desktop/sway/includes/files/screencapt.sh index 2b15b35..353218d 100755 --- a/modules/home-manager/desktop/sway/includes/files/screencapt.sh +++ b/modules/home-manager/desktop/sway/includes/files/screencapt.sh @@ -41,7 +41,7 @@ notify() { message+="Available in the clipboard" fi command=(notify-send "${summary}" --app-name="$APP_NAME") - if [[ -n "$filename" && "$ACTION" == "screenshots" ]]; then + if [[ -n "$filename" && "$ACTION" == "screenshot" ]]; then command+=(--icon="${filename}") else command+=("--icon=${ICONS[$ACTION]}")