From 35cf232bcbd3d9cd062b1a33a0e168cfe57e33a0 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 14 May 2026 11:58:48 +0200 Subject: [PATCH] Extract built-in notifications --- bin/omarchy-notification-battery | 5 +++++ bin/omarchy-notification-time | 5 +++++ bin/omarchy-notification-weather | 5 +++++ 3 files changed, 15 insertions(+) create mode 100755 bin/omarchy-notification-battery create mode 100755 bin/omarchy-notification-time create mode 100755 bin/omarchy-notification-weather diff --git a/bin/omarchy-notification-battery b/bin/omarchy-notification-battery new file mode 100755 index 00000000..6d69b1d5 --- /dev/null +++ b/bin/omarchy-notification-battery @@ -0,0 +1,5 @@ +#!/bin/bash + +# omarchy:summary=Show the current battery status notification + +omarchy-notification-send -u low "$(omarchy-battery-status)" diff --git a/bin/omarchy-notification-time b/bin/omarchy-notification-time new file mode 100755 index 00000000..eb1d0d81 --- /dev/null +++ b/bin/omarchy-notification-time @@ -0,0 +1,5 @@ +#!/bin/bash + +# omarchy:summary=Show the current time and date notification + +omarchy-notification-send -u low " $(date +"%A %H:%M · %d %B %Y · Week %V")" diff --git a/bin/omarchy-notification-weather b/bin/omarchy-notification-weather new file mode 100755 index 00000000..c17688c0 --- /dev/null +++ b/bin/omarchy-notification-weather @@ -0,0 +1,5 @@ +#!/bin/bash + +# omarchy:summary=Show the current weather notification + +omarchy-notification-send -u low "$(omarchy-weather-status)"