aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 696f4592bc2df32f9eae733821dd87df12bd8516 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
dapp

dapp is a fullscreen TV-style launcher that reads .desktop file paths from stdin or from a config file.

input sources (in order)
1. stdin, if stdin is piped
2. $XDG_CONFIG_HOME/dapp.conf
3. ~/.config/dapp.conf

config format
- one desktop entry path per line
- blank lines are ignored
- lines starting with # are ignored
(see dapp.conf.example for reference)

arch linux dependencies
- sudo pacman -S base-devel pkgconf gtk3 glib2

build
- make

clean
- make clean

run
- from config: ./dapp
- from stdin:
  printf '%s\n' /usr/share/applications/firefox.desktop /usr/share/applications/org.gnome.Nautilus.desktop | ./dapp

controls
- Up or k or w: move selection up
- Down or j or s: move selection down
- Enter or Space: launch selected app
- mouse hover: move highlighted selection
- single left click: launch hovered app