Skip to content

Installation and Branches

github-actions[bot] edited this page Nov 27, 2026 · 3 revisions

Installation and branches

Vectorator keeps two parallel branches for different Wayfire plugin application binary interfaces (ABIs). Install a signed package for your distribution, use the NixOS flake overlay, or build from the branch that matches your installed Wayfire version.

Packages

Platform Repository Target
Debian and Ubuntu apt.wimpys.world Ubuntu 26.04 LTS (Wayfire 0.10)
Fedora and openSUSE rpm.wimpys.world Fedora 44 (Wayfire 0.10)
Arch Linux pkg.wimpys.world Arch Linux (Wayfire 0.11)

Each repository is signed, and its page gives the setup steps and keeps Vectorator up to date.

Branch compatibility matrix

Do not merge main and wayfire-0.10. Each branch targets a different Wayfire release and carries its own build requirements and metadata.

Field main wayfire-0.10
Wayfire version range >=0.11.0 and <0.12.0 (initial target 0.11.0) >=0.10.1 and <0.11.0 (target 0.10.1)
Extra dependency glm None
WCM icon path wayfire.pc icondir (typically <prefix>/share/wayfire/icons) <datadir>/wcm/icons
titlebar option Multi-mode string: always, windowed, maximized, never Boolean: true or false
title_font default sans 12 Empty string (uses the GNOME system font)
button_layout option Supported (default :minimize,maximize,close) Not present

Build dependencies

Install these tools and libraries before building Vectorator:

  • Meson 0.59.0 or later and Ninja
  • A C11 and C++17 compiler toolchain
  • Wayfire development headers (wayfire.pc) matching your target branch
  • Cairo (cairo)
  • librsvg-2.0
  • gettext (msgfmt, used to compile translation catalogues)
  • glm (required on main only)

Optional test dependencies:

  • Python 3 (runs the metadata and source contract tests under meson test)

Build and install with Meson

Set --prefix to match the prefix of your Wayfire installation so Wayfire loads the plugin and metadata from the expected paths.

Wayfire 0.11 and later (main)

git clone https://github.com/wimpysworld/vectorator.git
cd vectorator
meson setup build --prefix=/usr
ninja -C build
sudo ninja -C build install

Wayfire 0.10.1 (wayfire-0.10)

git clone -b wayfire-0.10 https://github.com/wimpysworld/vectorator.git
cd vectorator
meson setup build --prefix=/usr
ninja -C build
sudo ninja -C build install

Restart Wayfire after installation so the compositor discovers libvectorator.so and vectorator.xml.

Installed files

The ninja -C build install command installs these files under your configured prefix:

Artefact Install path Notes
Plugin shared module <libdir>/wayfire/libvectorator.so Loaded by Wayfire when vectorator is in [core] plugins.
Plugin metadata wayfire.pc metadatadir (/usr/share/wayfire/metadata/vectorator.xml) Registers [vectorator] options and WCM UI fields.
Bundled SVG button assets <datadir>/vectorator/buttons/*.svg 24 Catppuccin Mocha SVGs across 4 controls and 6 states.
WCM plugin icon (main) wayfire.pc icondir (/usr/share/wayfire/icons/plugin-vectorator.svg) Displays the Vectorator icon under Effects in WCM.
WCM plugin icon (wayfire-0.10) <datadir>/wcm/icons/plugin-vectorator.svg Displays the Vectorator icon under Effects in WCM.
Translation catalogues <prefix>/share/locale/<lang>/LC_MESSAGES/wf-plugin-vectorator.mo Compiled catalogues for es_ES, ro, and zh_CN.

NixOS (flake overlay)

The repository flake exports overlays.default instead of packages, so pkgs.vectorator builds against the Wayfire version in your NixOS nixpkgs input. Choose the branch that matches your NixOS Wayfire version:

  • Wayfire 0.10: github:wimpysworld/vectorator/wayfire-0.10
  • Wayfire 0.11: github:wimpysworld/vectorator

Add the input to your system flake.nix, apply vectorator.overlays.default, and enable the plugin in programs.wayfire.plugins:

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    vectorator.url = "github:wimpysworld/vectorator";
    # Use "github:wimpysworld/vectorator/wayfire-0.10" for Wayfire 0.10.
  };

  outputs =
    { nixpkgs, vectorator, ... }:
    {
      nixosConfigurations.my-host = nixpkgs.lib.nixosSystem {
        system = "x86_64-linux";
        modules = [
          (
            { pkgs, ... }:
            {
              nixpkgs.overlays = [ vectorator.overlays.default ];
              programs.wayfire = {
                enable = true;
                plugins = [ pkgs.vectorator ];
              };
            }
          )
        ];
      };
    };
}

Nix development shell and checks

Each branch pins a matching Wayfire version in flake.nix (0.11.0 on main, 0.10.1 on wayfire-0.10) and provides a justfile for local verification.

Enter the development shell and run the full check suite:

nix develop
just check

The just check recipe runs six checks in sequence:

  1. just check-wayfire-version: verifies that pkg-config --modversion wayfire matches the branch target.
  2. just eval: runs nix flake check --no-build.
  3. just test: builds into build/ and runs meson test -C build --print-errorlogs.
  4. just lint: checks C++ formatting against Wayfire's uncrustify rules.
  5. just check-locales: validates every .po catalogue and confirms complete vectorator.xml string coverage.
  6. just install-staged: stages an installation into staged/ and verifies the installed button assets, locales, and WCM icon.

Run just clean to remove the build/ and staged/ directories.