aboutsummaryrefslogtreecommitdiff
path: root/notify
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2022-02-09 19:50:38 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2022-02-09 19:50:38 +0100
commit6f45972265b532365421658f1370742bb82b757b (patch)
treec293262456ba35ae5c1b778684527ed5c70c7ad1 /notify
parent547311be5f6d90f36022a6e5e6fdbfb26862fd75 (diff)
downloadscripts-6f45972265b532365421658f1370742bb82b757b.tar.gz
scripts-6f45972265b532365421658f1370742bb82b757b.zip
Changed default notification system to herbe
Diffstat (limited to '')
-rwxr-xr-xnotify-battery8
-rwxr-xr-xnotify-time8
2 files changed, 13 insertions, 3 deletions
diff --git a/notify-battery b/notify-battery
index 0d26ef4..0294b70 100755
--- a/notify-battery
+++ b/notify-battery
@@ -1,4 +1,10 @@
1#!/bin/sh 1#!/bin/sh
2 2
3# Popup battery notification, based on the script battery-status 3# Popup battery notification, based on the script battery-status
4notify-send "Battery" "$(battery-status)" 4
5# Requires: notify-send or similar
6
7#notify=notify-send
8notify=herbe
9
10$notify "Battery" "$(battery-status)"
diff --git a/notify-time b/notify-time
index 1173bf0..39bc805 100755
--- a/notify-time
+++ b/notify-time
@@ -1,9 +1,13 @@
1#!/bin/sh 1#!/bin/sh
2 2
3# Little notification to show time and date 3# Little notification to show time and date
4# Requirements: notify-send 4
5# Requires: notify-send or similar
6
7#notify=notify-send
8notify=herbe
5 9
6t=$(date +"%H:%M:%S") 10t=$(date +"%H:%M:%S")
7d=$(date +"%d\ %B\ %Y,\ %A") 11d=$(date +"%d\ %B\ %Y,\ %A")
8 12
9notify-send "$t" "$d" 13$notify "$t" "$d"

Generated with cgit - Back to sebastiano.tronto.net