Skip to content

gnuunixchad/dam

Repository files navigation

My build of dam

dam is a itsy-bitsy dwm-esque bar for river-classic.

For changes I've made, check patches

To use a status-bar, you can pass in status text via stdin:

# Start in river-classic with damblocks, a line generator with signaling support I wrote
# https://codeberg.org/unixchad/damblocks
# https://github.com/gnuunixchad/damblocks
riverctl spawn "${HOME}/.local/bin/dam-run"
bar_start() {
    ${HOME}/.local/bin/damblocks | dam &
    ${HOME}/.local/bin/damblocks-mpdd
}

bar_restart() {
    killall dam
    pkill -f damblocks
    bar_start
}

! pgrep 'dam' > /dev/null 2>&1 \
    || ! pgrep -f 'damblocks' > /dev/null 2>&1 \
    || ! pgrep -f 'damblocks-mpd' > /dev/null 2>&1 \
    && bar_restart

Building

To build dam first ensure that you have the following dependencies:

  • wayland
  • wayland-protocols
  • fcft
  • pixman
  • pkg-config

Afterwards, run:

make
make install

Usage

Run dam.

To hide the current selected output's monitor, the USR1 signal can be sent to do so.

About

dwm bar for river-classic

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •