1 unstable release

0.1.0 Aug 24, 2023

#25 in #linux-terminal

MIT license

265KB
588 lines

sklauncher

Rust-written terminal based application launcher for Linux, inspired by sway-launcher-desktop, based on skim fuzzy finder.

Features

  • List and execute .desktop files
  • List and execute binary files
  • Fuzzy search with built-in skim fuzzy finder
  • History-based ordering
  • Direct raw-command execution support
  • Support skim's options and customizable (currently not all options are available)

Installation

git clone https://github.com/miyakogi/sklauncher.git
cd sklauncher
cargo install --locked --path .

Example Usage

On Sway WM + foot terminal

Simple (Default)

# ~/.config/sway/config

bindsym $mod+d exec foot --app-id sklauncher sklauncher
for_window [app_id="^sklauncher$"] floating enable, sticky enable

without options

Customized

# ~/.config/sway/config

bindsym $mod+d exec foot --app-id sklauncher sklauncher --match-generic-name --tiebreak "index" --no-sort --accent-color "cyan" --color "16,bg+:-1,fg+:4,prompt:4,pointer:4" --reverse --margin "1,2" --prompt "" --preview-window "up:3"
for_window [app_id="^sklauncher$"] floating enable, sticky enable

with some options

See sklauncher --help for more information about available options.

Keybinding

See: Skim's document

Search Syntax

See: Skim's document

Dependencies

~15–25MB
~404K SLoC