Skip to content

fufexan/gross

Repository files navigation

gross

🗒 About

This is a (simple) bundled collection of JSON generators that should be consumed by Eww. It aims to replace my shell scripts, which have become too complex to be written easily in bash.

🗃️ Contents

Currently, the program has these commands functional:

  • battery - battery & charging information
  • hyprland - present workspaces, focused workspace, screensharing state
  • music - general info about a song
  • music-time - time info about a song

⚒ Building & Installing

Most of the following instructions will assume you have this repository cloned.

📦 Cargo

You will need several dependencies installed on your system. Cargo will print an error about missing packages in case I forget anything

dbus openssl pkg-config

When that's done, you can compile with

cargo build --release

Success! Now you can run the binary from target/release/gross.

Arch

There is a PKGBUILD available on the AUR: https://aur.archlinux.org/packages/gross-git. Use your favourite AUR helper to install it.

❄ Nix

For this next command, you don't need to have the repo cloned. It will build and run gross directly.

nix run github:fufexan/gross

If you wish to hack on this program, you can use its devShell. In the cloned repo, run the command nix develop. You now have everything needed to develop and build gross.