Use our built-in notifications

This commit is contained in:
David Heinemeier Hansson
2026-05-17 09:36:13 +02:00
parent 881b5d177f
commit 52ce411c2b
2 changed files with 5 additions and 6 deletions
+3 -4
View File
@@ -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
+2 -2
View File
@@ -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" })