Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: cointrace on 18 June 2025, 16:46:11

Title: Trying to extend dwm with dwmblocks
Post by: cointrace on 18 June 2025, 16:46:11
I'm trying to install this version of dwmblocks:
https://github.com/ashish-yadav11/dwmblocks.git

I can't get the icons in the status bar to work properly, however. I understand that the siji font is required, so I cloned this repo:
https://github.com/stark/siji

This doesn't seem to work either. I need xfd but I don't know where to get it... :-\
Title: Re: Trying to extend dwm with dwmblocks
Post by: SGOrava on 18 June 2025, 18:46:28
Hello,
than try pacman:
Code: [Select]
$ pacman -F xfd
world/gstreamer-docs 1.24.9-3
    usr/share/doc/gstreamer/html/assets/js/search/xfd
extra/gstreamer-docs 1.24.9-3
    usr/share/doc/gstreamer/html/assets/js/search/xfd
extra/xorg-xfd 1.1.4-2
    usr/bin/xfd

So I assume you need "extra/xorg-xfd" package.
Title: Re: Trying to extend dwm with dwmblocks
Post by: cointrace on 18 June 2025, 19:23:09
I figured out how to enable the extra repos and I installed xfd.
I'm now able to run the ./view.sh shell script to view the icons.

What do I do next to get the icons to appear on my status bar?
The ICON variable in the shell script for the calendar block, for example, is gibberish:

#!/bin/sh
ICON="
      
       "
printf "$ICON%s" "$(date '+%a, %b %d, %R')"