summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoroda2019-05-09 14:38:11 +0900
committeroda2019-05-09 14:40:12 +0900
commit7fa42a7b9b9296acf7e55719e87509e570a4797c (patch)
tree9f1a083a0a07399ab52641f68ce58b476c68efe2
parent710b34db223017e2d4806eb9ebeb1206e666cc23 (diff)
downloadaur-7fa42a7b9b9296acf7e55719e87509e570a4797c.tar.gz
update to v0.3.0
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
-rw-r--r--config.def.h66
-rw-r--r--config.h2
4 files changed, 7 insertions, 71 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6169ac22aa9..0f0eceb0edc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = bspwmbar
pkgdesc = A lightweight status bar for bspwm
- pkgver = 0.2.0
+ pkgver = 0.3.0
pkgrel = 1
url = https://github.com/odknt/bspwmbar
arch = x86_64
@@ -9,9 +9,9 @@ pkgbase = bspwmbar
depends = alsa-lib
depends = libxft
depends = fontconfig
- source = https://github.com/odknt/bspwmbar/archive/v0.2.0.tar.gz
+ source = https://github.com/odknt/bspwmbar/archive/v0.3.0.tar.gz
source = config.h
- sha256sums = 0f81370e64ae2946dd585ae2e09150b174834a6238d0eb5365ec3ca40981cca2
+ sha256sums = facbb9baa2d19e5539b126daf8253db9a71618212d4a589dc260eaceec1071d7
sha256sums = SKIP
pkgname = bspwmbar
diff --git a/PKGBUILD b/PKGBUILD
index 8b5dfc2abe0..7a8f4b4f4a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# maintainer: odknt <oda.kenta.hj at gmail.com>
pkgname=bspwmbar
-pkgver=0.2.0
+pkgver=0.3.0
pkgrel=1
pkgdesc='A lightweight status bar for bspwm'
arch=(x86_64)
@@ -9,7 +9,7 @@ url='https://github.com/odknt/bspwmbar'
depends=(bspwm alsa-lib libxft fontconfig)
source=("https://github.com/odknt/bspwmbar/archive/v${pkgver}.tar.gz"
'config.h')
-sha256sums=('0f81370e64ae2946dd585ae2e09150b174834a6238d0eb5365ec3ca40981cca2'
+sha256sums=('facbb9baa2d19e5539b126daf8253db9a71618212d4a589dc260eaceec1071d7'
'SKIP')
prepare() {
diff --git a/config.def.h b/config.def.h
deleted file mode 100644
index b90d62a4da2..00000000000
--- a/config.def.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-
-#ifndef BSPWMBAR_CONFIG_H_
-#define BSPWMBAR_CONFIG_H_
-
-#include "bspwmbar.h"
-
-/* intel */
-#define THERMAL_PATH "/sys/class/thermal/thermal_zone0/temp"
-/* k10temp */
-/* #define THERMAL_PATH "/sys/class/hwmon/hwmon1/temp1_input" */
-
-#define FONT_MAXSZ 3
-#define NAME_MAXSZ 32
-#define TITLE_MAXSZ 50
-#define WS_MAXSZ 5
-#define BAR_HEIGHT 24
-#define BGCOLOR 0
-#define ALTFGCOLOR 1
-#define ALTBGCOLOR 8
-#define FGCOLOR 2
-#define LOGOCOLOR 3
-
-const char *workspace_chars[] = { "", "" };
-
-const char *colors[] = {
- "#222222", /* black */
- "#7f7f7f", /* gray */
- "#e5e5e5", /* white */
- "#1793d1", /* logo color */
-
- "#449f3d", /* success color */
- "#2f8419", /* normal color */
- "#f5a70a", /* warning color */
- "#ed5456", /* critical color */
-
- "#555555", /* dark gray */
-};
-
-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 },
-};
-
-/* for modules on the right (float: right;) */
-const Module modules[] = {
- /* function argument event handler */
- /* float: left; */
- { logo, "", NULL },
- { workspace, NULL, NULL },
- { windowtitle, "…", NULL },
-
- /* float: right; */
- { float_right, NULL, NULL },
- { datetime, "%H:%M", NULL },
- { thermal, THERMAL_PATH, NULL },
- { filesystem, "/", NULL },
- { volume, NULL, volume_ev },
- { memgraph, NULL, NULL },
- { cpugraph, NULL, NULL },
-};
-
-#endif
diff --git a/config.h b/config.h
index b90d62a4da2..4f28f9209e9 100644
--- a/config.h
+++ b/config.h
@@ -15,6 +15,7 @@
#define TITLE_MAXSZ 50
#define WS_MAXSZ 5
#define BAR_HEIGHT 24
+#define TRAY_ICONSZ 16
#define BGCOLOR 0
#define ALTFGCOLOR 1
#define ALTBGCOLOR 8
@@ -61,6 +62,7 @@ const Module modules[] = {
{ volume, NULL, volume_ev },
{ memgraph, NULL, NULL },
{ cpugraph, NULL, NULL },
+ { systray, NULL, NULL },
};
#endif