diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-05-05 21:57:40 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-05-05 21:57:40 +0200 |
| commit | 8f1bad5de975e24e641ff7a18a665f8a6cd48774 (patch) | |
| tree | 2cda6e3faa46108be5e9d5c9140ea166ca142edb /old/notify-battery | |
| parent | 71a43325c4b523c781202785390bb11149d204e7 (diff) | |
| download | scripts-8f1bad5de975e24e641ff7a18a665f8a6cd48774.tar.gz scripts-8f1bad5de975e24e641ff7a18a665f8a6cd48774.zip | |
Merged some status scripts into one. The functionality as changed a bit, check the source if you relied on notify-* scripts.
Diffstat (limited to 'old/notify-battery')
| -rwxr-xr-x | old/notify-battery | 10 |
1 files changed, 10 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)" | ||
