mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 03:23:50 +02:00
slstatus: update to 1.1. (#4647)
This commit is contained in:
parent
42567267d6
commit
fc8d44c828
2 changed files with 8 additions and 6 deletions
|
@ -27,11 +27,13 @@ static unsigned int update_interval = 1;
|
||||||
- ram_perc (ram usage in percent) [argument: NULL]
|
- ram_perc (ram usage in percent) [argument: NULL]
|
||||||
- ram_total (ram usage in percent) [argument: NULL]
|
- ram_total (ram usage in percent) [argument: NULL]
|
||||||
- ram_used (ram usage in percent) [argument: NULL]
|
- ram_used (ram usage in percent) [argument: NULL]
|
||||||
|
- run_command (run custom shell command) [argument: command]
|
||||||
- temp (temperature in degrees) [argument: temperature file]
|
- temp (temperature in degrees) [argument: temperature file]
|
||||||
- uid (uid of current user) [argument: NULL]
|
- uid (uid of current user) [argument: NULL]
|
||||||
- username (username of current user) [argument: NULL]
|
- username (username of current user) [argument: NULL]
|
||||||
- vol_perc (alsa volume and mute status in percent) [argument: soundcard]
|
- vol_perc (alsa volume and mute status in percent) [argument: soundcard]
|
||||||
- wifi_perc (wifi signal in percent) [argument: wifi card interface name] */
|
- wifi_perc (wifi signal in percent) [argument: wifi card interface name]
|
||||||
|
- wifi_essid (wifi essid) [argument: wifi card interface name] */
|
||||||
static const struct arg args[] = {
|
static const struct arg args[] = {
|
||||||
/* function format argument */
|
/* function format argument */
|
||||||
{ cpu_perc, "cpu %4s | ", NULL },
|
{ cpu_perc, "cpu %4s | ", NULL },
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
# Template file for 'slstatus'
|
# Template file for 'slstatus'
|
||||||
pkgname=slstatus
|
pkgname=slstatus
|
||||||
version=1.0
|
version=1.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
short_desc="Suckless status monitor for dwm"
|
short_desc="Suckless status monitor for dwm"
|
||||||
maintainer="Dom H. <dom@hxy.io>"
|
maintainer="Dom H. <dom@hxy.io>"
|
||||||
license="GPL-3"
|
license="ISC"
|
||||||
homepage="https://git.nulltime.net/${pkgname}"
|
homepage="https://git.nulltime.net/slstatus"
|
||||||
distfiles="https://git.nulltime.net/${pkgname}/snapshot/${pkgname}-${version}.tar.gz"
|
distfiles="${homepage}/snapshot/${pkgname}-${version}.tar.gz"
|
||||||
makedepends="alsa-lib-devel libX11-devel"
|
makedepends="alsa-lib-devel libX11-devel"
|
||||||
checksum=6b3510d6bc96b39a45cb2e2e02240ed7bc23eecb9b2fe79850dfe9f3b9ffff73
|
checksum=77c42876571c7b1d850325e8d09a37ca9264031e4e6237195480d718a9a584f6
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
cp ${FILESDIR}/config.h config.h
|
cp ${FILESDIR}/config.h config.h
|
||||||
|
|
Loading…
Add table
Reference in a new issue