diff options
Diffstat (limited to 'old')
| -rwxr-xr-x | old/notify-battery | 10 | ||||
| -rwxr-xr-x | old/notify-time | 15 |
2 files changed, 25 insertions, 0 deletions
diff --git a/old/notify-battery b/old/notify-battery new file mode 100755 index 0000000..0294b70 --- /dev/null +++ b/old/notify-battery | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # Popup battery notification, based on the script battery-status | ||
| 4 | |||
| 5 | # Requires: notify-send or similar | ||
| 6 | |||
| 7 | #notify=notify-send | ||
| 8 | notify=herbe | ||
| 9 | |||
| 10 | $notify "Battery" "$(battery-status)" | ||
diff --git a/old/notify-time b/old/notify-time new file mode 100755 index 0000000..4b77c74 --- /dev/null +++ b/old/notify-time | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # Little notification to show time and date | ||
| 4 | |||
| 5 | # Requires: notify-send or similar | ||
| 6 | |||
| 7 | # TODO: check if it still works with notify-send | ||
| 8 | |||
| 9 | #notify=notify-send | ||
| 10 | notify=herbe | ||
| 11 | |||
| 12 | t=$(date +"%H:%M:%S") | ||
| 13 | d=$(date +"%d %B %Y, %A") | ||
| 14 | |||
| 15 | $notify "$t" "$d" | ||
