Skip to content

wholikeel/fabric-nix-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fabric Nix Template/Example

Example of a Fabric widget packaged with Nix.

The bar example (bar.py, bar.css) is taken from the Fabric repository. bar.py was slightly modified to supply an entry point for pyproject.toml.

Usage

Note

Ensure the correct Github Repository/Branch is correct.

mkdir my-bar-project
cd my-bar-project
nix flake init -t github:wholikeel/fabric-nix-example#bar
nix run

Integration

Hyprland Example

Add your project as a nix flake

wayland.windowManager.hyprland = {
  ...
  exec-once = [
    "${inputs.my-bar-project.packages.${system}.default}/bin/bar"
  ];
  ...
};

About

Example for packaging a fabric widget with Nix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published