diff options
Diffstat (limited to 'notify-time')
| -rwxr-xr-x | notify-time | 8 |
1 files changed, 6 insertions, 2 deletions
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 | ||
| 8 | notify=herbe | ||
| 5 | 9 | ||
| 6 | t=$(date +"%H:%M:%S") | 10 | t=$(date +"%H:%M:%S") |
| 7 | d=$(date +"%d\ %B\ %Y,\ %A") | 11 | d=$(date +"%d\ %B\ %Y,\ %A") |
| 8 | 12 | ||
| 9 | notify-send "$t" "$d" | 13 | $notify "$t" "$d" |
