#image #palette #display #showcase #four #catppuccin #once

bin+lib catppuccin-catwalk

A sweet program that takes in four showcase images and displays them all at once

11 releases (stable)

new 1.3.0 Apr 27, 2024
1.2.0 Nov 4, 2023
1.1.0 Oct 30, 2023
0.1.4 Oct 27, 2023

#126 in Images

37 downloads per month

MIT license

50KB
1K SLoC

Rust 598 SLoC // 0.0% comments JavaScript 300 SLoC // 0.2% comments TypeScript 119 SLoC // 0.4% comments

Logo
Catppuccin Catwalk

 

A sweet program that takes in four showcase images and displays them all at once.

Installation

You can install Catwalk using one of the methods below:

Installation Method Instructions
crates.io cargo install catppuccin-catwalk
Source cargo install --git https://github.com/catppuccin/toolbox catppuccin-catwalk
Homebrew brew install catppuccin/tap/catwalk
Nix nix profile install github:catppuccin/toolbox#catwalk
nix run github:catppuccin/toolbox#catwalk -- [OPTIONS] <images>
Binaries
(Windows, MacOS & Linux)
Available from the latest GitHub release.

Usage

$ catwalk --help
A sweet program that takes in four showcase images and displays them all at once.

Usage: catwalk [OPTIONS] [LATTE] [FRAPPE] [MACCHIATO] [MOCHA] [COMMAND]

Commands:
  completion  Generates a completion file for the given shell
  help        Print this message or the help of the given subcommand(s)

Arguments:
  [LATTE]      Path to Latte image [default: ./latte.webp]
  [FRAPPE]     Path to Frappé image [default: ./frappe.webp]
  [MACCHIATO]  Path to Macchiato image [default: ./macchiato.webp]
  [MOCHA]      Path to Mocha image [default: ./mocha.webp]

Options:
  -o, --output <OUTPUT>        Path to output file [default: ./preview.webp]
  -l, --layout <LAYOUT>        Layout to use [default: composite] [possible values: composite, stacked, grid, row]
  -r, --radius <RADIUS>        Radius of rounded corners (percentage)
  -g, --gap <GAP>              Size of gaps between pictures for the `grid` layout
  -C, --directory <DIRECTORY>  Change to <DIRECTORY> before processing files [default: .]
      --ext <EXTENSION>        File extension to use for input files, if they're not explicitly named [default: webp] [possible values: webp, png]
  -h, --help                   Print help
  -V, --version                Print version

Examples

$ catwalk latte.webp frappe.webp macchiato.webp mocha.webp --output catwalk.webp
$ catwalk latte.png frappe.png macchiato.png mocha.png --directory ./assets/

 

Copyright © 2021-present Catppuccin Org

Dependencies

~0.3–6MB
~89K SLoC