From 52ce411c2bd01b69aff16c2613c716fbdba4c06c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 17 May 2026 09:36:13 +0200 Subject: [PATCH] Use our built-in notifications --- bin/omarchy-notification-send | 7 +++---- default/hypr/bindings/utilities.lua | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/bin/omarchy-notification-send b/bin/omarchy-notification-send index 751ef075..db61107c 100755 --- a/bin/omarchy-notification-send +++ b/bin/omarchy-notification-send @@ -68,11 +68,10 @@ done # Tag as a user-action toast so it pops through DND. See dnd-fix-plan.md. args+=("-a" "omarchy-action" "-u" "$urgency") -# Send the glyph both as a custom hint and in a summary prefix. -# Quickshell strips the prefix back into the icon slot; other notification -# daemons still get the familiar glyph + spacing presentation. +# Send the glyph in a summary prefix inline. This keeps the notification +# thin and compact, replicating the old Mako style, because Quickshell won't +# render the 40x40 icon slot if the custom hint isn't present. if [[ -n $glyph ]]; then - args+=("--hint=string:omarchy-glyph:$glyph") headline="$glyph $headline" fi diff --git a/default/hypr/bindings/utilities.lua b/default/hypr/bindings/utilities.lua index 0ee6d6b5..2684542a 100644 --- a/default/hypr/bindings/utilities.lua +++ b/default/hypr/bindings/utilities.lua @@ -49,8 +49,8 @@ hl.bind("SUPER + CTRL + R", hl.dsp.exec_cmd("omarchy-shell-ipc menu toggle remin hl.bind("SUPER + CTRL + ALT + R", hl.dsp.exec_cmd("omarchy-reminder show"), { description = "Show reminders" }) hl.bind("SUPER + SHIFT + CTRL + R", hl.dsp.exec_cmd("omarchy-reminder clear"), { description = "Clear reminders" }) -hl.bind("SUPER + CTRL + ALT + T", hl.dsp.exec_cmd([[notify-send -a omarchy-action -u low " $(date +"%A %H:%M · %d %B %Y · Week %V")"]]), { description = "Show time" }) -hl.bind("SUPER + CTRL + ALT + B", hl.dsp.exec_cmd([[notify-send -a omarchy-action -u low "$(omarchy-battery-status)"]]), { description = "Show battery remaining" }) +hl.bind("SUPER + CTRL + ALT + T", hl.dsp.exec_cmd("omarchy-notification-time"), { description = "Show time" }) +hl.bind("SUPER + CTRL + ALT + B", hl.dsp.exec_cmd("omarchy-notification-battery"), { description = "Show battery remaining" }) hl.bind("SUPER + CTRL + ALT + W", hl.dsp.exec_cmd("omarchy-notification-weather"), { description = "Show weather" }) hl.bind("SUPER + CTRL + A", hl.dsp.exec_cmd("omarchy-launch-audio"), { description = "Audio controls" })