Installation

Nix

Add to your flake.nix inputs:

flake.nix
waycast.url = "git+https://gitgud.foo/thegrind/waycast";

Add the overlay:

flake.nix
  overlays = [
    inputs.waycast.overlays.default
  ];

Home Manager

We also provide a home manager module.

Just the package:

flake.nix
nixpkgs.overlays = [ inputs.waycast.overlays.default ];
environment.systemPackages = [ pkgs.waycast ];
# or for home-manager:
home.packages = [ pkgs.waycast ];

Nix Build

If you don't use Nix to manage your packages, you can still use it to build from source.

Just clone the repo and run:

nix build .

From source

Dependencies

WayCast's dependencies are primarily based on Iced's dependencies, with additional requirements for the plugin system. For development and nix installations, the flake.nix takes care of these. If you're installing WayCast on a different system, make sure you have the following libraries available:

Iced requirements:

  • expat
  • fontconfig
  • freetype
  • freetype.dev
  • libGL
  • pkg-config
  • xorg.libX11
  • xorg.libXcursor
  • xorg.libXi
  • xorg.libXrandr
  • wayland
  • libxkbcommon

Building WayCast

You'll need the rust toolchain as long as the dependencies outlined above. Then you can just run:

cargo install