Skip to content

Modular status bar for dwm written in c (small tweak to swindlesmccoop's build).

License

Notifications You must be signed in to change notification settings

stpettersens/dwmblocks

 
 

Repository files navigation

Tweak by stpettersens

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.

DWMBlocks

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.

Compiling and Installing

./configure && make && doas make install

Replace doas with sudo as necessary.

Software Made to Work With This

Dependencies

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.

About

Modular status bar for dwm written in c (small tweak to swindlesmccoop's build).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 54.2%
  • Makefile 17.8%
  • Shell 9.6%
  • D 9.3%
  • Python 9.1%