summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorValentin Weber2024-04-30 21:45:26 +0200
committerValentin Weber2024-04-30 21:45:26 +0200
commitc48fb95abca300fb7c5d1bbbffea41065dd171f6 (patch)
treef3d5727eedfeafe51ddc674f691ee26b9e4b921f
parentb3fdf80b2ff56e62bff10d117fc52adb418b1e5a (diff)
downloadaur-c48fb95abca300fb7c5d1bbbffea41065dd171f6.tar.gz
fic: set sane default for threshold
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--battery_status_rs_sleep.service2
3 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d14ae741741c..736647156769 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = battery_status_rs
pkgdesc = A utility to watch the battery level.
pkgver = 3.0.0
- pkgrel = 1
+ pkgrel = 2
arch = any
makedepends = cargo
makedepends = git
@@ -11,7 +11,7 @@ pkgbase = battery_status_rs
source = battery_status_rs_sleep.service
sha256sums = 4a858b6467fe4aba898c9a3f0b944cf0b3da51043903cb637971712dba9f3846
sha256sums = 92ecbb16524c4ec6423d87979f655838b502fc0c5206127f34553c5ff837f3f8
- sha256sums = e104c41b6c84c60ebca61545cc06a9e53c169f00d4eab50c2dd4df3d2f22500b
+ sha256sums = cfd70a35335c7e9ca9d2a0314665e8f40ece15933503ce4ea1396df26583edfb
pkgname = battery_status_rs_notification
diff --git a/PKGBUILD b/PKGBUILD
index 06ecfa4054c1..eefdbe2bce25 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@ pkgbase="battery_status_rs"
pkgname=("battery_status_rs_notification"
"battery_status_rs_sleep")
pkgver="3.0.0"
-pkgrel="1"
+pkgrel="2"
pkgdesc="A utility to watch the battery level."
arch=('any')
depends=('systemd')
@@ -16,7 +16,7 @@ source=("git+https://git.unfug.hs-furtwangen.de/weva/battery_status_rs/#tag=$pkg
sha256sums=('4a858b6467fe4aba898c9a3f0b944cf0b3da51043903cb637971712dba9f3846'
'92ecbb16524c4ec6423d87979f655838b502fc0c5206127f34553c5ff837f3f8'
- 'e104c41b6c84c60ebca61545cc06a9e53c169f00d4eab50c2dd4df3d2f22500b')
+ 'cfd70a35335c7e9ca9d2a0314665e8f40ece15933503ce4ea1396df26583edfb')
prepare() {
cd battery_status_rs
diff --git a/battery_status_rs_sleep.service b/battery_status_rs_sleep.service
index 2d7397e8b7a5..6ff9b44c92bc 100644
--- a/battery_status_rs_sleep.service
+++ b/battery_status_rs_sleep.service
@@ -3,7 +3,7 @@ Description=Battery Status Sleep Daemon
[Service]
Type=notify
-ExecStart=/bin/battery_status_rs_sleep
+ExecStart=/bin/battery_status_rs_sleep --threshold=5
Restart=always
RestartSec=1