Git Product home page Git Product logo

clilauncher's Introduction

clilauncher (nokludge)

Description

I was wondering why there is no popular and supported CLI application launcher(non-CLI ones would be dmenu, krunner, rofi, etc.), so I decided to write one myself.

It needed to have a filter-as-you-type search, Ctrl+j and Ctrl+k navigation in the list, and when running an application it should not hold the terminal captive(foreground) and not dump console output to the terminal.

clilauncher is a Python script for launching desktop applications with fuzzy search and action support. It provides a convenient and efficient way to find and execute applications from the command line.

Features

  • Fuzzy search for desktop applications.
  • Support for desktop actions(like opening a private tab in a browser)
  • Works with installed Snap and Flatpaks too, if not using custom directories
  • Lightweight and easy to use.

Prerequisites

Optional Dependencies

Does not depend on gio or dex, use the version on master if needed

Usage

  1. Run main.py
  2. Use fzf to search and select the desired application.
  3. Launch the selected application or action.

Setup

  1. Clone the repository
  2. Rename the script and move it to a directory on $PATH
  3. Make the script executable: chmod +x main.py
  4. Run the script: ./main.py

Known Issues

  • Experimental method for launching applications without dex or gio fetches the Exec line from the .desktop file and omits the substitution variables, it is possible that it fails to launch an application correctly. It is very unlikely, though.

Author

  • Elvin deSouza

License

This project is licensed under the GPL License - see the LICENSE file for details.

clilauncher's People

Contributors

elvindesouza avatar

Stargazers

Rustam Uzairov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.