unixchad/dam
3
5
Fork
You've already forked dam
0
Itsy-bitsy dwm-esque bar for river-classic
  • C 92.1%
  • Makefile 7.9%
Find a file
nate zhou 31ceb8760e
Mod(dam.c): river-classic version
Use my build of river-classic.
2026年02月02日 21:27:25 +08:00
drwl @28785d10a3 drwl: use submodule 2025年04月20日 20:28:36 +03:00
misc Mod(README.md): Add repo avatar 2025年07月10日 00:13:28 +08:00
patches Fix(patch): non-focus-status.patch 2025年07月16日 17:09:00 +08:00
.gitignore use config.def.h 2024年09月13日 16:15:00 +03:00
.gitmodules drwl: use submodule 2025年04月20日 20:28:36 +03:00
config.def.h Mod(config.def.h): Increase font weight 2025年12月18日 16:43:52 +08:00
dam-damblocks.png Refact(dam-damblocks.png): Update screenshot 2025年11月13日 23:16:20 +08:00
dam-demo.jpg change default layout names, add ><> 2024年11月10日 19:10:34 +03:00
dam.c Mod(dam.c): river-classic version 2026年02月02日 21:27:25 +08:00
LICENSE Mod(LICENSE): add contributor 2025年06月18日 19:10:33 -08:00
Makefile drwl: use submodule 2025年04月20日 20:28:36 +03:00
README.md Mod(README.md): replace river with river-classic 2026年01月20日 09:22:52 +08:00
river-control-unstable-v1.xml initial commit 2024年06月28日 09:06:38 +03:00
river-status-unstable-v1.xml initial commit 2024年06月28日 09:06:38 +03:00
wlr-layer-shell-unstable-v1.xml initial commit 2024年06月28日 09:06:38 +03:00

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.