This fork of swindlemccoop's dwmblocks goes with my fork of his dwm build.
WARNING: I have NOT updated this fork for FreeBSD in a while.
I have written some of my own bash scripts and D programs to provide blocks on dwmblocks.
Create a 1MB ramdisk on /ramdisk on your system for the control files
(bluetooth_off
and picom_off
) for the get_picom_status
and
get_bt_device
programs.
Append to end of /etc/fstab
:
tmpfs /ramdisk tmpfs nodev,nosuid,noexec,nodiratime,size=1M 0 0
Then run sudo/doas mount -a
.
Requirements:
Run to configure blocks.h:
-
make isotime
to just display the YYY-MM-DD, HH:MM time. -
make battery
to display the YYY-MM-DD, HH:MM time and battery left/status. -
make original
to just display Month Day and time.
Status bar built for my build of DWM. Compatible with Linux, OpenBSD, and FreeBSD, however I have not yet written the actual functionality for FreeBSD in the scripts yet.
./configure && make && doas make install
Replace doas with sudo as necessary.
Each module depends on a script of mine, specifically the following:
sb-cpuusage
sb-volume
sb-memory
sb-cputemp
sb-network
sb-battery
All of these scripts can be found in my dotfiles repo at.local/bin/
. Simply download each script, make them each executable, and place them somewhere in your $PATH.