Commit Graph

16 Commits (c9d91660d30a05d8037c977573074298f1e6f183)

Author SHA1 Message Date
Arijit Basu f12e1e5290 Fix config path on macOS
Also, add `-c` / `--config` CLI option to specify custom config file.

Priority is:

`-c <PATH>` > `~/.config/xplr/init.lua` > `/etc/xplr/init.lua`.

Fixes: https://github.com/sayanarijit/xplr/issues/230
3 years ago
Arijit Basu 36ab821d2c Upgrade dependencies
Closes: https://github.com/sayanarijit/xplr/issues/187
3 years ago
Arijit Basu 074e0d1250 Replace handlebars with Lua
Replace handlebars with Lua functions by introduction Lua function API.
3 years ago
Arijit Basu 9e89c6503d Use key `tab` to select files in search mode
Select files fzf style in search mode, without losing the search input.

Also, make background tasks failsafe and measure ui rendering.
3 years ago
Arijit Basu 3aa349f614 Don't refresh pipes on every iteration
From this commit, the app state will be written to the output pipes only
when invoking a command.

For auto refreshing pipes, we can brainstorm on `service`s concept.
3 years ago
Arijit Basu 33e500a16d Move pipe writing logic from runner to app
Ref: https://github.com/sayanarijit/xplr/issues/103
3 years ago
Arijit Basu 2596c0c4c3 Remove task priority
Since we are now blocking on task inputs, the priority is no longer
required.
4 years ago
Arijit Basu 6d0ea06d7b Add pwd watcher
Also optimize the main thread.
4 years ago
Arijit Basu 09abda29a3 Several optimizations
- Write to pipes only when the value changes.
- Sleep when not reading key event or messages.

Fixes: https://github.com/sayanarijit/xplr/issues/10
4 years ago
Arijit Basu dba8631911 Add CI/CD gh actions
Mostly stolen from https://github.com/Rigellute/spotify-tui.
4 years ago
Arijit Basu f3b72343f1
Fix benchmarking 4 years ago
Arijit Basu c2bc8aee20
Fix benchmarks 4 years ago
Arijit Basu 203ed7ed25
Add horizontal movement benchmark tests 4 years ago
Arijit Basu 7beaec1763
Easier key handling 4 years ago
Arijit Basu 8221140756
Refresh after running command 4 years ago
Arijit Basu f9c3edee06
Not yet doing what it's supposed to 4 years ago