kiss-nihal

personal KISS Linux package repo
git clone git://git.nihaljere.xyz/kiss-nihal
Log | Files | Refs | Submodules

commit ebad9cf0e451ce381e791e5f419364bc93b6cb60
parent bb169351ce7bb146cb861e94ebdb43ef4e7415e9
Author: Nihal Jere <nihal@nihaljere.xyz>
Date:   Sun, 14 Mar 2021 21:43:13 -0500

dwmblocks: new package

Diffstat:
Adwmblocks/build | 4++++
Adwmblocks/checksums | 1+
Adwmblocks/depends | 1+
Adwmblocks/files/blocks.h | 18++++++++++++++++++
Adwmblocks/sources | 2++
Adwmblocks/version | 1+
6 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/dwmblocks/build b/dwmblocks/build @@ -0,0 +1,4 @@ +#!/bin/sh -e + +make +make DESTDIR="$1" PREFIX=/usr install diff --git a/dwmblocks/checksums b/dwmblocks/checksums @@ -0,0 +1 @@ +935b467f4ff6fe20346f218b58519ecf3ad07e9ee16d3b5b9963216d5fb9a627 diff --git a/dwmblocks/depends b/dwmblocks/depends @@ -0,0 +1 @@ +libX11 diff --git a/dwmblocks/files/blocks.h b/dwmblocks/files/blocks.h @@ -0,0 +1,18 @@ +//Modify this file to change what commands output to your statusbar, and recompile using the make command. + +#define SCRIPTS "~/.local/scripts/statusbar/" +static const Block blocks[] = { + /*Icon Command Interval Signal*/ + +// {"", SCRIPTS"bluetooth.sh", 120, 0 }, +// {"", "~/scripts/statusbar/vpn.sh", 120, 10 }, +// {"", SCRIPTS"wifi.sh", 10, 11 }, +// {"", "~/scripts/statusbar/ethernet.sh", 10, 12 }, + {"", SCRIPTS"datetime.sh", 60, 0 }, + {"", SCRIPTS"status_volume.sh", 0, 13 }, + {"", SCRIPTS"battery.sh", 10, 14 }, +}; + +//sets delimeter between status commands. NULL character ('\0') means no delimeter. +static unsigned int delimLen = 2; +static char delim[] = " "; diff --git a/dwmblocks/sources b/dwmblocks/sources @@ -0,0 +1,2 @@ +https://github.com/noocsharp/dwmblocks/archive/0.1.tar.gz +files/blocks.h diff --git a/dwmblocks/version b/dwmblocks/version @@ -0,0 +1 @@ +0.1 1