Use our built-in notifications
This commit is contained in:
@@ -68,11 +68,10 @@ done
|
|||||||
# Tag as a user-action toast so it pops through DND. See dnd-fix-plan.md.
|
# Tag as a user-action toast so it pops through DND. See dnd-fix-plan.md.
|
||||||
args+=("-a" "omarchy-action" "-u" "$urgency")
|
args+=("-a" "omarchy-action" "-u" "$urgency")
|
||||||
|
|
||||||
# Send the glyph both as a custom hint and in a summary prefix.
|
# Send the glyph in a summary prefix inline. This keeps the notification
|
||||||
# Quickshell strips the prefix back into the icon slot; other notification
|
# thin and compact, replicating the old Mako style, because Quickshell won't
|
||||||
# daemons still get the familiar glyph + spacing presentation.
|
# render the 40x40 icon slot if the custom hint isn't present.
|
||||||
if [[ -n $glyph ]]; then
|
if [[ -n $glyph ]]; then
|
||||||
args+=("--hint=string:omarchy-glyph:$glyph")
|
|
||||||
headline="$glyph $headline"
|
headline="$glyph $headline"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -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 + 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 + 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 + T", hl.dsp.exec_cmd("omarchy-notification-time"), { 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 + 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 + 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" })
|
hl.bind("SUPER + CTRL + A", hl.dsp.exec_cmd("omarchy-launch-audio"), { description = "Audio controls" })
|
||||||
|
|||||||
Reference in New Issue
Block a user