From 08b317901bb133fe2c6aee4d0fb190a31c2132e2 Mon Sep 17 00:00:00 2001 From: Bruno Ribeiro Date: Thu, 2 Apr 2026 11:32:12 +0100 Subject: [PATCH] Create pictures dir if non existent (#5181) * Create pictures dir if non existent * Simplify Don't need to guard against mkdir failing --------- Co-authored-by: David Heinemeier Hansson --- bin/omarchy-cmd-screenshot | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/omarchy-cmd-screenshot b/bin/omarchy-cmd-screenshot index 16060e91..f821c919 100755 --- a/bin/omarchy-cmd-screenshot +++ b/bin/omarchy-cmd-screenshot @@ -8,8 +8,7 @@ OUTPUT_DIR="${OMARCHY_SCREENSHOT_DIR:-${XDG_PICTURES_DIR:-$HOME/Pictures}}" if [[ ! -d $OUTPUT_DIR ]]; then - notify-send "Screenshot directory does not exist: $OUTPUT_DIR" -u critical -t 3000 - exit 1 + notify-send "Created screenshot directory: $OUTPUT_DIR" -u normal -t 2000 fi pkill slurp && exit 0