Package Details: batsignal 1.5.0-1

Git Clone URL: https://aur.archlinux.org/batsignal.git (read-only, click to copy)
Package Base: batsignal
Description: A lightweight battery monitor daemon
Upstream URL: https://github.com/electrickite/batsignal
Keywords: battery notify
Licenses: ISC
Submitter: electrickite
Maintainer: electrickite
Last Packager: electrickite
Votes: 8
Popularity: 0.82
First Submitted: 2018-11-19 03:26 (UTC)
Last Updated: 2022-05-07 00:43 (UTC)

Required by (0)

Sources (1)

Latest Comments

openurice commented on 2021-11-06 09:54 (UTC)

There is no multi-user.target in systemd --user mode. I solved it by using WantedBy=default.target in the batsignal.service.

gesh commented on 2021-10-31 20:37 (UTC) (edited on 2021-11-01 16:20 (UTC) by gesh)

Please rename the source tarball to ${pkgname}-${pkgver}.tar.gz so that it's more distinct in a shared srcdir, eg as:

diff --git a/PKGBUILD b/PKGBUILD
index 3e835e6..2e70eba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@

 pkgname=batsignal
 pkgver=1.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A lightweight battery monitor daemon"
 arch=("any")
 url="https://github.com/electrickite/${pkgname%-git}"
 license=("ISC")
 depends=("libnotify")
-source=("https://github.com/electrickite/${pkgname}/archive/${pkgver}.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/electrickite/${pkgname}/archive/${pkgver}.tar.gz")
 sha256sums=("79f72e7cfe660734ab14950b7592e8b46df3ebf15d41cb2cab45437dda3dfffb")

 package() {

bunnybooboo commented on 2020-10-15 15:47 (UTC) (edited on 2020-10-15 16:11 (UTC) by bunnybooboo)

I've never setup a custom notification, nor created units for systemd, therefor a little confused on how to implement this under Gnome 3. I've created the unit file as @d0lphin describes and saved as batsignal.service and saved within

/usr/lib/systemd/system/

Enabled and started the service

systemctl enable batsignal && systemctl start batsignal

..but nothing seems to happen. Checking the Gnome service

systemctl status batsignal

shows it as

active (running)

Gnome's notifications

settings >> notifications

does not show batsignal. Anyone able to assist in what I'm missing out in my setup? I'm presuming from the manual that each f/w/c/d command will need a corresponding F/W/C/D notification text? Should that be added to the unit?

scrouthtv commented on 2020-09-05 07:49 (UTC)

Feel free to add this unit file:

[Unit]
Description=Lightweight battery daemon

[Service]
ExecStart=/usr/bin/batsignal -f 90 -w 20 -c 10 -d 3

[Install]
WantedBy=multi-user.target