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.stackletor
$ nix-env -f '<nixpkgs>' -iA nur.repos.ggemre.stackletor
# 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 stackletBegin by cloning this repository:
git clone https://github.com/ggemre/stacklet.gitIn 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 allowIf 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 -- --versionor packaged with Cargo:
cargo build --release --lockedThis built binary will be in target/release.