Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jb55/cmdtree
X11 command launcher with tree-like bindings
https://github.com/jb55/cmdtree
launcher x11
Last synced: 3 months ago
JSON representation
X11 command launcher with tree-like bindings
- Host: GitHub
- URL: https://github.com/jb55/cmdtree
- Owner: jb55
- License: mit
- Created: 2018-06-26T22:42:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-30T12:21:55.000Z (about 3 years ago)
- Last Synced: 2024-10-12T20:31:04.720Z (3 months ago)
- Topics: launcher, x11
- Language: C
- Homepage:
- Size: 449 KB
- Stars: 31
- Watchers: 7
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING
- License: LICENSE
Awesome Lists containing this project
README
cmdtree
=======![cmdtree](https://jb55.com/s/cmdtree.png?)
![cmdtree2](https://jb55.com/s/cmdtree2.png?)
cmdtree is a command launcher in the form of a tree. Commands are launched by a
sequence of keys that form a path in this tree.Configuring cmdtree currently requires you to edit a C header file, similar to
dmenu. You will need to tweak [cfg.def.h](cfg.def.h) to your liking before
building. ~This is temporary until the configuration file format is complete~,
but it has the benefit of being quite fast to launch!If you're curious, you can check out [my config here](https://github.com/jb55/cmdtree/blob/my-config/cfg.def.h)
Installing
----------First customize [cfg.def.h](cfg.def.h) to include your menu items.
libX11 and libXft are required. Once you have those installed, simply type:
make && make install
To launch `cmdtree` with a key binding, use something like
[xbindkeys](https://wiki.archlinux.org/index.php/Xbindkeys)Key Bindings
------------```
ESC quit
Backspace go up one level
```Shout-outs
----------Thanks to the dmenu developers I was able to reuse and repurpose their drw_
machinery for cmdtree! This project shares dmenu's [LICENSE](LICENSE) as much of
the code was ported from there. Thanks!