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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# SWENU - Simple Wayland ENU
To build:
```sh
make
```
To install(have to be root):
```sh
make install
```
Usage: just like dmenu
## FAQ
Q: What is an ENU?
## Configuration
Create your config file at `XDG_CONFIG_HOME/swenu/conf.ini` or `HOME/.config/swenu/conf.ini`.
Example config: (hex colors also supported!)
```ini
fancy_scroll = false
exit_on_focus_lost = true
min_width = 500
font_size = 16
[colors]
text_color = (0.85, 0.85, 0.85, 1.0)
highlight_color = (0.1, 0.3, 0.7, 1.0)
background_color = (0.1, 0.1, 0.1, 1.0)
cursor_color = (0.9, 0.9, 0.9, 0.5)
```
## Todo -
- [x] "selection"
- [x] figure out whats going on with stderr and exit code
- [X] fancy highlights
- [X] scrolling
- [X] special mode if there is no stdin
- [x] sort filtering by match %
- [x] cursor
- [x] protocol clipboard
- [x] page scroll
- [x] emacs keybindings
- [x] "prompt"
- [x] fuzzy filter
- [x] config file
- [x] starting text
- [x] if lines provided are less than specified, set lines to smallest possible amount
- [x] add ability to select the input field
- [ ] fix prompt clipping issue
- [ ] border, top padding and set exact height
- [ ] unicode + text shaping + display unrenderable characters as something
Stretch:
- [ ] clean up the code (src folder, rename some files)
- [ ] input fluff (icons, descriptions, output names)
- [ ] arguments to override config such as fancy scroll?
- [ ] response history
|