The program reads .desktop
files from path
(see config), using the following entries:
Type
- Entry type:Application
|Link
Name
- Entry identifierExec
|URL
- Command to execute | URL to openTerminal
- 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
x
: Box position on the x-axisy
: Box position on the y-axisx-padding
: Space between box border and text on the x-axisy-padding
: Space between box border and text on the y-axisborder-size
: Box border sizeline-margin
: Space between lineswindow-margin
: Space between boxesmax-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 heightfont
: This is the actual font size & family to use (seexlsfonts
)bg-color
: Box background colorfg-color
: Box text colorfocus-bg-color
: Selected line background colorfocus-fg-color
: Selected line text colorborder-color
: Box border colorpath
: Path to read.desktop
files fromterminal
: Terminal command to useshell
: Shell command to usebrowser
: Browser command to usesearch-engine
: Search engine command to use, this is concatenated withbrowser
Tip
Any font can be converted to a X11 font, ask Google
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