Stacklet allows you to create custom menus and applets using the standard output of any program, script, or executable.
Table of Contents
Stacklet is available in both the NUR and the AUR.
Install from the NUR Stacklet Namespace using the method of your choice:
$ nix-shell -p nur.repos.ggemre.stacklet
or
$ nix-env -f '<nixpkgs>' -iA nur.repos.ggemre.stacklet
or
# configuration.nix
environment.systemPackages = with pkgs; [
nur.repos.ggemre.stacklet
];
For help on setting up the NUR on your machine, see the Nix Community NUR How to Guide.
Install from the AUR Stacklet Entry using the AUR helper of your choice:
For example:
yay -S stacklet
Begin by cloning this repository:
git clone https://github.com/ggemre/stacklet.git
In order to build Stacklet from source, you must have the necessary build dependencies installed. There are two approaches to achieving this depending on if you use Nix or not:
If you use Nix, (you are on NixOS or use the Nix package manager), then this is trivial thanks to the provided shell.nix
and .envrc
files, which will setup an ephemeral development environment with everything you need in the repository once you allow it do so:
direnv allow
If you do not use Nix, the following build dependencies must be installed:
rustup
ncurses
Please use the stable branch of rust, (rustup default stable
).
With the environment setup, Stacklet can be run from Cargo like so:
cargo run -- --version
or packaged with Cargo:
cargo build --release --locked
This built binary will be in target/release
.