Arijit Basu
59b55ee192
Add more UI styling options
...
With this commit, the following can be done:
- Define layout constraints based on screen size and relative panel
size.
- Define borders.
- Define panel style.
- Define panel title and title style.
2021-05-08 12:44:08 +05:30
Arijit Basu
cfa82cf99f
Fix margin overwriting logic
2021-05-08 12:44:08 +05:30
Arijit Basu
b8df831248
Add Nothing
layout config inheritance workaround
...
Any layouts will default to `Nothing` which resembles blank screen.
However, they will be overwritten when there is a more specific layout
available either in the super config or in the sub config.
2021-05-08 12:44:08 +05:30
Arijit Basu
b3e6679b50
Add feature dynamic UI
...
Now, users can change the UI layout via the `SwitchLayout{Builtin|Custom}`
message, or by using key `ctrl-w`.
There are 3 default layout options -
- default
- no_help
- no_selection
- no_help_no_selection
Also, the initial mode and the initial layout can be specified in the
config.
Closes: https://github.com/sayanarijit/xplr/issues/107
2021-05-08 12:44:08 +05:30
Arijit Basu
474c17b493
Minor fix
2021-05-07 20:08:16 +05:30
Arijit Basu
0584a43c7c
Add SwitchModeBuiltin and SwitchModeCustom
...
Also, use a better prompt symbol.
Ref: https://github.com/sayanarijit/xplr/issues/107
2021-05-07 20:08:52 +05:30
Arijit Basu
f2eb8febd5
Add ko-fi payment option
2021-05-01 22:21:52 +05:30
Arijit Basu
c0c4f27ef8
Update version
2021-05-01 20:53:00 +05:30
Arijit Basu
2c7ec47253
Fix cd
on first focus
...
Fix issue where running `xplr /path/to/file` doesn't `cd` into the
parent directory.
2021-05-01 20:31:46 +05:30
Arijit Basu
debe98298d
Fix image link
2021-04-30 17:50:30 +05:30
Arijit Basu
1c967cfef6
Update version
2021-04-30 17:40:51 +05:30
Arijit Basu
b57950983c
Optimize icon
2021-04-30 17:23:35 +05:30
Arijit Basu
7ae5e2624a
Improve icon
2021-04-30 17:20:14 +05:30
Arijit Basu
7e7f6f8dd8
Add icons
...
Also move xplr.desktop to assets/desktop
2021-04-30 17:05:32 +05:30
Arijit Basu
64d81407fa
Improve readme
2021-04-30 11:25:54 +05:30
Arijit Basu
4f28dc4d0a
Add icon
2021-04-30 11:18:53 +05:30
aflying pumpkin
c9d62d6061
Fixed indentation
...
Fixed indentation
2021-04-30 10:13:44 +05:30
aflying pumpkin
d0fd1c6bce
added ctrl-n and ctrl-p as rebinds for down and up inside of search mode, to improve usability
2021-04-30 10:13:44 +05:30
Arijit Basu
8413b68237
Add community and contribute pages to readme
2021-04-29 11:20:43 +05:30
Arijit Basu
60eb46a3c9
Add demo for more hacks
2021-04-29 11:14:34 +05:30
Arijit Basu
36af3e8ced
Fix pipes not updating properly
...
Let's not optimize things until we have tests.
2021-04-29 08:27:56 +05:30
Arijit Basu
4dad10815a
Fix support for filenames starting with - (hiphen)
...
Make it possible to create, delete, copy, move, rename filenames starting
with a - (hiphen).
2021-04-28 08:09:40 +05:30
Arijit Basu
2437fd67cf
Fix distorted screen when opening files in GUI
...
Fixes: https://github.com/sayanarijit/xplr/issues/111
2021-04-27 23:58:00 +05:30
Arijit Basu
8ddc000895
Make config private
2021-04-26 12:45:07 +05:30
Arijit Basu
2470827aac
Organize tests
2021-04-26 12:45:07 +05:30
Arijit Basu
f38398e900
Make internals private
2021-04-26 12:45:07 +05:30
Arijit Basu
33e500a16d
Move pipe writing logic from runner to app
...
Ref: https://github.com/sayanarijit/xplr/issues/103
2021-04-26 12:45:07 +05:30
Arijit Basu
eca35c73a2
Update version
2021-04-24 22:22:32 +05:30
Arijit Basu
d0c5801474
Fix terminal output redirection when piping stdout
...
Now, when you do `xplr > out.txt` and invoke the terminal, the stdout
won't be redirected.
2021-04-24 08:57:26 +05:30
Arijit Basu
680aeb053c
Add packaging status
2021-04-23 15:18:43 +05:30
Arijit Basu
d81111c134
Reduce col_spacing to 1
2021-04-23 14:53:20 +05:30
Arijit Basu
014043d330
Fix formatting the global help menu
2021-04-23 12:58:07 +05:30
Arijit Basu
76a3c22f99
Add test for config incompatibility error
...
Make sure https://github.com/sayanarijit/xplr/issues/97 hever happens
again.
2021-04-23 11:25:02 +05:30
Arijit Basu
e9b5dfe478
Fix incompatible config version
...
Fixes: https://github.com/sayanarijit/xplr/issues/97
2021-04-23 11:04:58 +05:30
Arijit Basu
36c2c9cc2b
Update version
2021-04-23 00:17:43 +05:30
Arijit Basu
1a08318593
Improve CPU usage attempt 2
...
Fixes: https://github.com/sayanarijit/xplr/issues/10
2021-04-22 22:53:31 +05:30
Arijit Basu
871a4c79aa
Fix divide by zero error
2021-04-22 11:50:43 +05:30
Arijit Basu
371d572d50
Add discord badge
2021-04-22 08:22:18 +05:30
Arijit Basu
1ffa85f30f
Do not exit on permission denial
...
While trying to enter restricted directories, log error instead or
exiting.
2021-04-21 08:28:02 +05:30
Arijit Basu
2e541fbf04
Minor UI improvement
2021-04-20 21:35:06 +05:30
Arijit Basu
ad3dd8eec2
Update version
2021-04-20 21:20:28 +05:30
Arijit Basu
785c20de13
Sync pwd
...
Sync session's $PWD with `xplr`'s current directory.
If you use alacritty, every window will open in `xplr`'s current
directory.
2021-04-20 20:56:16 +05:30
Arijit Basu
c11099f651
Fix follow symlink behavior.
...
Use `gf` to follow symlinks instead of `enter`/`l`.
Or use the message `FollowSymlink`.
2021-04-19 23:23:28 +05:30
Arijit Basu
87cd6ff015
Fix global help menu not displaying sort & filter
2021-04-19 21:01:20 +05:30
Arijit Basu
f8fb6913c9
Rework README.md, Cargo.toml
2021-04-19 19:20:51 +05:30
Arijit Basu
1f99e8ba99
Follow file symlinks
...
Follow symlink to files to it's parent directory.
Also, hide file size for directories.
Ref: https://github.com/sayanarijit/xplr/issues/84
2021-04-19 18:32:00 +05:30
Arijit Basu
1783834a2e
Fix ctrl-l breaking UI
...
Also improve the filter mode key bindings
Fixes: https://github.com/sayanarijit/xplr/issues/88
2021-04-19 17:23:42 +05:30
Arijit Basu
ca13ebb193
Added inode size
...
Also supports sorting by inode size.
Closes: https://github.com/sayanarijit/xplr/issues/84
2021-04-19 14:48:45 +05:30
Arijit Basu
b53f0c21bb
Improve read-only mode
...
Do not include non-read-only actions in the in read-only mode. i.e. do
not display non-read-only actions in help menu.
Ref: https://github.com/sayanarijit/xplr/issues/22
2021-04-19 14:33:42 +05:30
Arijit Basu
21f87d6a08
Add read-only mode
...
Ref: https://github.com/sayanarijit/xplr/issues/22
2021-04-19 10:27:27 +05:30