diff --git a/bin/omarchy-toggle-idle b/bin/omarchy-toggle-idle index 4b02b919..f82fee4c 100755 --- a/bin/omarchy-toggle-idle +++ b/bin/omarchy-toggle-idle @@ -4,10 +4,8 @@ if pgrep -x hypridle >/dev/null; then pkill -x hypridle - omarchy-notification-send -g 󱫖 "Stop locking computer when idle" else uwsm-app -- hypridle >/dev/null 2>&1 & - omarchy-notification-send -g 󱫖 "Now locking computer when idle" fi omarchy-shell-ipc --if-running bar refreshIndicators >/dev/null 2>&1 || true diff --git a/bin/omarchy-toggle-notification-silencing b/bin/omarchy-toggle-notification-silencing index 7257969f..965af896 100755 --- a/bin/omarchy-toggle-notification-silencing +++ b/bin/omarchy-toggle-notification-silencing @@ -2,11 +2,5 @@ # omarchy:summary=Toggle notification do-not-disturb mode -state=$(omarchy-shell-ipc notifications toggleDnd 2>/dev/null || echo "") - -case $state in -on) omarchy-notification-send "Silenced notifications" -g 󰂛 -e ;; -off) omarchy-notification-send "Enabled notifications" -g 󰂚 -e ;; -esac - -omarchy-shell-ipc --if-running bar refreshIndicators >/dev/null 2>&1 || true +state=$(omarchy-shell notifications toggleDnd 2>/dev/null || echo "") +omarchy-shell --if-running bar refreshIndicators >/dev/null 2>&1 || true