summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoroda2019-05-20 13:46:59 +0900
committeroda2019-05-20 13:46:59 +0900
commit6301df8a9dc5e876d082b6f9a71903ff1be9cb26 (patch)
treea42a78065f71ab93145f052ec2a31e16a9a6ea5a
parentcf5288eec1c979df5aa3771ec1db70e6c65d237b (diff)
downloadaur-6301df8a9dc5e876d082b6f9a71903ff1be9cb26.tar.gz
update to v0.4.0
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD7
-rw-r--r--config.h19
3 files changed, 20 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4c4a9238e97..49951d9bd9c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = bspwmbar
pkgdesc = A lightweight status bar for bspwm
- pkgver = 0.3.3
+ pkgver = 0.4.0
pkgrel = 1
url = https://github.com/odknt/bspwmbar
arch = x86_64
@@ -10,9 +10,9 @@ pkgbase = bspwmbar
depends = libxft
depends = fontconfig
optdepends = ttf-nerd-fonts-symbols: default prefix icons font
- source = https://github.com/odknt/bspwmbar/archive/v0.3.3.tar.gz
+ source = https://github.com/odknt/bspwmbar/archive/v0.4.0.tar.gz
source = config.h
- sha256sums = cf81833b2b60e3bf2f7cc971241b66f263d63bf6981495370aa4180ed5295ae5
+ sha256sums = e97e12042b93977d39abb158713f16317f4d3b8bf6d3a6699ed146b0893cf5fe
sha256sums = SKIP
pkgname = bspwmbar
diff --git a/PKGBUILD b/PKGBUILD
index 243c5091341..0664a21d821 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# maintainer: odknt <oda.kenta.hj at gmail.com>
pkgname=bspwmbar
-pkgver=0.3.3
+pkgver=0.4.0
pkgrel=1
pkgdesc='A lightweight status bar for bspwm'
arch=(x86_64)
@@ -10,7 +10,7 @@ depends=(bspwm alsa-lib libxft fontconfig)
optdepends=('ttf-nerd-fonts-symbols: default prefix icons font')
source=("https://github.com/odknt/bspwmbar/archive/v${pkgver}.tar.gz"
'config.h')
-sha256sums=('cf81833b2b60e3bf2f7cc971241b66f263d63bf6981495370aa4180ed5295ae5'
+sha256sums=('e97e12042b93977d39abb158713f16317f4d3b8bf6d3a6699ed146b0893cf5fe'
'SKIP')
prepare() {
@@ -22,7 +22,8 @@ prepare() {
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make PREFIX=/usr
+ ./configure --prefix=/usr
+ make
}
package() {
diff --git a/config.h b/config.h
index 4f28f9209e9..d56d31f50fb 100644
--- a/config.h
+++ b/config.h
@@ -40,12 +40,19 @@ const char *colors[] = {
const char *fontname = "sans-serif:size=10";
-/* init, deinit, handler for polling fd */
-const Poller pollers[] = {
- /* init deinit handler */
- { alsa_connect, alsa_disconnect, alsa_update },
-};
-
+/*
+ * function description
+ *
+ * logo render the given string
+ * workspace bspwm workspaces
+ * windowtitle active window title
+ * datetime the current time in the given format
+ * thermal temperature of given sensor file
+ * volume playback volume
+ * memgraph memory usage
+ * cpugraph cpu usage per core
+ * systray systray icons
+ */
/* for modules on the right (float: right;) */
const Module modules[] = {
/* function argument event handler */