Giter Club home page Giter Club logo

a-linux-launcher's Introduction

The program reads .desktop files from path (see config), using the following entries:

  • Type - Entry type: Application | Link
  • Name - Entry identifier
  • Exec | URL - Command to execute | URL to open
  • Terminal - Whether to run in terminal

Entries can be grouped by categories using file system tree from path. For exemple, having a valid entry file in path/folder/app.desktop creates a category folder and makes app.desktop an entry of it

Config

  • x: Box position on the x-axis
  • y: Box position on the y-axis
  • x-padding: Space between box border and text on the x-axis
  • y-padding: Space between box border and text on the y-axis
  • border-size: Box border size
  • line-margin: Space between lines
  • window-margin: Space between boxes
  • max-lines: Maximum number of lines for a box (aka max-height)
  • max-len: Maximum number of characters for a line (aka max-width)
  • font-size: This is in fact used to set line height
  • font: This is the actual font size & family to use (see xlsfonts)
  • bg-color: Box background color
  • fg-color: Box text color
  • focus-bg-color: Selected line background color
  • focus-fg-color: Selected line text color
  • border-color: Box border color
  • path: Path to read .desktop files from
  • terminal: Terminal command to use
  • shell: Shell command to use
  • browser: Browser command to use
  • search-engine: Search engine command to use, this is concatenated with browser

Tip

Any font can be converted to a X11 font, ask Google

Install

apt update -y
apt install -y git
apt install -y make
apt install -y gcc
apt install -y libx11-dev
mkdir -p ~/.local/src
mkdir -p ~/.local/bin
mkdir -p ~/.config
name=launcher
cd ~/.local/src
git clone https://github.com/Skalyaeve/a-linux-launcher.git $name
cd $name
make && make install
export PATH=$HOME/.local/bin:$PATH
# or ln -s $HOME/.local/bin/launcher /usr/local/bin/launcher
launcher ~/.config/launcher/config

Warning

If the process is killed (SIGKILL) or closed with something else than ESC, SIGINT, SIGTERM or SIGQUIT, you will have to remove the lockfile located at /tmp/launcher.ft.lock to rerun it

a-linux-launcher's People

Contributors

skalyaeve 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.