Plain text status line generator written in POSIX shell, fork of sbar.
- individual update intervals and signals
- individual modules only updated when needed, instantly
- supporting stdin, fifo and xsetroot
- supporting Wayland, Xorg and TTY
- restart damblocks with reload
- time and date
- battery or AC power supply, bluetooth battery
- brightness level, microphone volume, speaker volume
- wifi signal, ethernet connection
- memory usage, cpu usage, cpu temperature, cpu fan speed
- disk usage on root and home partition
- pacman update count, tty login count, system uptime
- calcurse coming event count, newsboat unread count, maildir unread count
- weather report
- mpd music title
| depends | ttf-nerd-fonts-symbols wireplumber brightnessctl coreutils sed grep awk curl cronie udev |
| suggests | dash bluez-utils isync newsboat calcurse mpc wob xob stow |
Every function that supports signaling depends on one or more of:
Specific dependencies are listed in the SIGNALING session in this script.
To mange all the scripts, udev rules and cronjobs:
# no sudo, scripts and cronjobs are installed as current user instead of root
# install
make install
# uninstall
make uninstall- output to stdin by default
--fiforedirects to${XDG_RUNTIME_DIR}/damblocks.fifo--xsetrootsets the X root window title
Use dam-run.
kwm can read from stdin:
damblocks | kwm &
killall -q mpc
damblocks-mpddor a named pipe:
damblocks --fifo &
killall -q mpc
damblocks-mpdd# .xinitrc
damblocks --xsetroot &
exec dwmdamblocks | dwl# .config/{i3,sway}/config
bar {
status_command damblocks
}
exec_always "killall -q mpc; damblocks-mpdd"damblocks --fifo &
dvtm -s ${XDG_RUNTIME_DIR}/damblocks.fifo