atomblocks

Crates.ioatomblocks
lib.rsatomblocks
version0.2.0
sourcesrc
created_at2024-02-10 13:21:40.299239
updated_at2024-02-12 14:07:14.576793
descriptionasync, absolutely lightweight and dead simple bar for dwm and similar window managers
homepagehttps://github.com/milchinskiy/atomblocks
repositoryhttps://github.com/milchinskiy/atomblocks
max_upload_size
id1134947
size37,896
Alexander Milchinskiy (milchinskiy)

documentation

README


AtomBlocks

async, absolutely lightweight and dead simple bar for dwm and similar window managers

Report Bug ยท Request Feature

About The Project

another bar implementation for the DWM window manager and similar ones, with asynchronous and independent blocks update.

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

Install Rust and Cargo. The easiest way to get Cargo is to install the current stable release of Rust by using rustup. Installing Rust using rustup will also install cargo.

Build from sources

  1. Clone the repo
    git clone https://github.com/milchinskiy/atomblocks.git && cd ./atomblocks
    
  2. Build release
    cargo build --release
    

Install from crates.io

cargo install atomblocks

Install from AUR (Arch Linux)

using yay, paru or any other AUR helper you prefer, yay for example:

yay -S atomblocks

Run via Nix Flakes

nix run github:milchinskiy/atomblocks -- run --config <your.config.toml>

(back to top)

Usage

An incredibly simple and straightforward configuration file can be found in the code repository sample/config.toml There are a few places where configuration could live

Run

atomblocks run

Manually hit the block to update

atomblocks hit <ID>
# where <ID> is a sequential block index in config file

Run with custom config

atomblocks run --config ./my-custom-config.toml

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project

  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)

  3. Commit your Changes (git commit -m 'Add some AmazingFeature')

  4. Push to the Branch (git push origin feature/AmazingFeature)

  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE file for more information.

Commit count: 0

cargo fmt