#name #status #dwmblocks

bin+lib dwmblocks

Simple and fast modular status bar for dwm written in rust

2 releases

0.1.1 Jan 24, 2025
0.1.0 Aug 24, 2024

#434 in GUI

Download history 67/week @ 2025-01-18 47/week @ 2025-01-25 11/week @ 2025-02-01 14/week @ 2025-02-08 3/week @ 2025-02-15

171 downloads per month

GPL-3.0-only

16KB
142 lines

Dwmblocks

Simple and fast modular status bar for dwm written in rust.

Usage:

Add this library to a project

$ cargo add dwmblocks
use dwmblocks::status;

fn main() {
    status!(
        base_path: "./scripts/",
        gap: "",

        // prefix, suffix, interval, script name
        [""      , " "   , 10      , "wifi"     ],
        ["| "    , " "   , 5       , "cpu"      ],
        ["| [ "  , " ] " , 20      , "battery"  ],
        ["| "    , " "   , 10      , "mem"      ],
        ["| "    , " "   , 60      , "hdd"      ],
        ["| "    , ""    , 30      , "date"     ],
    );
}

No runtime deps