Skip to main content
Topic: Trying to extend dwm with dwmblocks (Read 521 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Trying to extend dwm with dwmblocks

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... :-\

Re: Trying to extend dwm with dwmblocks

Reply #1
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.

 

Re: Trying to extend dwm with dwmblocks

Reply #2
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')"