diff options
Diffstat (limited to 'desktop/dwmblocks')
-rw-r--r-- | desktop/dwmblocks/README | 14 | ||||
-rw-r--r-- | desktop/dwmblocks/dwmblocks.SlackBuild | 17 | ||||
-rw-r--r-- | desktop/dwmblocks/dwmblocks.info | 8 |
3 files changed, 20 insertions, 19 deletions
diff --git a/desktop/dwmblocks/README b/desktop/dwmblocks/README index 1ede2b7a456e..0f4cc29acd22 100644 --- a/desktop/dwmblocks/README +++ b/desktop/dwmblocks/README @@ -1,12 +1,12 @@ dwmblocks is a modular status bar for dwm written in C. -The statusbar is made from text output from commandline programs. -Blocks are added and removed by editing the blocks.h header file. +This build of dwmblocks, by UtkarshVerma, is asynchronous (that is, +each status block updates independently of one another) and handles +mouse clicks. -If a blocks.h is found in the SlackBuild directory it will be copied to +If a config.h is found in the SlackBuild directory it will be copied to the source directory and used in the build, allowing easy customisation. -This build of dwmblocks (written by torrinfail) only contains basic text -support. An asynchronous version of dwmblocks by UtkarshVerma with -clickability support and other features is available at: -https://github.com/UtkarshVerma/dwmblocks-async +For better window manager stability, replace pulseaudio by installing a +newer version of pipewire (>= 0.3.52; for context, Slackware 15.0 +provides pipewire 0.3.44) and wireplumber (>= 0.4.11, at SBo). diff --git a/desktop/dwmblocks/dwmblocks.SlackBuild b/desktop/dwmblocks/dwmblocks.SlackBuild index f16165664e8c..62da95b3a227 100644 --- a/desktop/dwmblocks/dwmblocks.SlackBuild +++ b/desktop/dwmblocks/dwmblocks.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for dwmblocks # -# Copyright 2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2024 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,12 +25,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dwmblocks -VERSION=${VERSION:-20220107} +VERSION=${VERSION:-20231219} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -COMMIT=${COMMIT:-a933ce0d6109524b393feb3e7156cbf0de88b42c} +SRCNAM=dwmblocks-async +COMMIT=${COMMIT:-12d4decdd45015b9b6f1ac50a2bd65c98695f1c3} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -68,12 +69,12 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$COMMIT -tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz -cd $PRGNAM-$COMMIT +rm -rf $SRCNAM-$COMMIT +tar xvf $CWD/$SRCNAM-$COMMIT.tar.gz +cd $SRCNAM-$COMMIT -if [ -e "$CWD/blocks.h" ]; then - cp -v $CWD/blocks.h blocks.def.h +if [ -e "$CWD/config.h" ]; then + cp -v $CWD/config.h config.h fi chown -R root:root . diff --git a/desktop/dwmblocks/dwmblocks.info b/desktop/dwmblocks/dwmblocks.info index b17ccdd1ba88..08b744c3359d 100644 --- a/desktop/dwmblocks/dwmblocks.info +++ b/desktop/dwmblocks/dwmblocks.info @@ -1,8 +1,8 @@ PRGNAM="dwmblocks" -VERSION="20220107" -HOMEPAGE="https://github.com/torrinfail/dwmblocks" -DOWNLOAD="https://github.com/torrinfail/dwmblocks/archive/a933ce0/dwmblocks-a933ce0d6109524b393feb3e7156cbf0de88b42c.tar.gz" -MD5SUM="7d0399af33c7c1d9fe33136357aa392d" +VERSION="20231219" +HOMEPAGE="https://github.com/UtkarshVerma/dwmblocks-async" +DOWNLOAD="https://github.com/UtkarshVerma/dwmblocks-async/archive/12d4dec/dwmblocks-async-12d4decdd45015b9b6f1ac50a2bd65c98695f1c3.tar.gz" +MD5SUM="87280dd1996fdcd2870e74aea20deebb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |