summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2024-03-15Update README.mdkamiyaa-patch-2Jeff Zhao
2024-03-15Merge branch 'main' of github.com:kamiyaa/joshutoJeff Zhao
2024-03-15version bump 0.9.7Jeff Zhao
2024-03-15add ratatui to tagsJeff Zhao
2024-03-14feat: add `--reverse` flag to sort methods (#507)Azad
2024-03-14fix: restore line numbers (#511)Azad
* fix: restore line numbers * clippy
2024-03-14fix: hey use username not real name :D (#509)lali
Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch>
2024-03-10fix open file not working with case_insensitive_extJeff Zhao
2024-03-10rename case_sensitive_ext to case_insensitive_extJeff Zhao
- make case_insensitive_ext option work with themes as well
2024-03-10refactor code to reduce clonesJeff Zhao
- move a lot of methods into functions - printing icons is moved to rendering section
2024-03-10Merge branch 'main' into devJeff Zhao
2024-03-10move preview area into PreviewContextJeff Zhao
- move a bunch of methods out into functions
2024-03-10feat: add `case_sensitive_ext` option for mimetype, theme and icons (#497)Azad
* feat: add `case_sensitive_ext` option for mimetype, theme and icons * Clone `CONFIG_T` instead of initializing it twice * Reimplement without `CONFIG_T` as static ref * Clippy & fmt
2024-03-10cargo clippyJeff Zhao
2024-03-10fix theme not using prefixJeff Zhao
2024-03-10fix: path autocompletion (#502)Azad
2024-03-10Bump mio from 0.8.10 to 0.8.11 (#504)dependabot[bot]
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.10 to 0.8.11. - [Release notes](https://github.com/tokio-rs/mio/releases) - [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md) - [Commits](https://github.com/tokio-rs/mio/compare/v0.8.10...v0.8.11) --- updated-dependencies: - dependency-name: mio dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-10fix: clear numbered command buffer on cursor move (#505)Azad
2024-03-10Add `capture` and `stdout` commands (#495)DLFW
This adds two new commands as a base to enable users to use the output of scripts to do certain actions in Joshuto. The first command this adds is a third command to start a sub-process beside `shell` and `spawn`, called `capture`. Like `shell`, `capture` is running blocking but unlike `shell`, it does not release the terminal but captures the `stdout` of the sub-process and stores it in an `AppContext` attribute. The second command added by this commit is `stdout`. This command takes the output from the last `capture` run, stored in the `AppContext` attribute, and uses it for some action. The action has to be specified as a sub-command. As of now, only `stdout cd` is implemented. This checks that the last output of `capture` is a single line of an existing file or directory and then changes the working directory to that. To get significant value from these new commands, `capture` needs to be equipped with more variables to feed more information about Joshuto's state into external scripts, and `stdout` needs to get some more sub-commands.
2024-02-28Merge branch 'main' of github.com:kamiyaa/joshutoJeff Zhao
2024-02-28add tea.yamlJeff Zhao
2024-02-27fix: escape `'` char in trash operations (#501)Azad
* fix: escape `'` char during trash operations * clippy
2024-02-27feat: use a pager instead confirm_exit (#498)lali
* Use a pager instead confirm_exit Read the $PAGER environment variable. If it's not set, simply use 'less'. * update mimetype config Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch>
2024-02-27ratatui-image widget for image previews without scripts (#467)Benjamin Grosse
_Disclaimer: I'm the author of ratatui-image._ Use [ratatui-image](https://github.com/benjajaja/ratatui-image) crate to render images. No script or hook setup is required.
2024-02-21Make mouse support configurable (#494)Mroik/PositiveC
* Make mouse sup configurable instead of build feat * Add mouse_support to docs * Add mouse_support to default config * Don't capture mouse on mouse_support = false * Fmt pass
2024-02-20fix: update all lists viewports on sort method change (#492)Azad
2024-02-20fix: resolve clippy errors (#493)Azad
* fix: resolve clippy errors * Update tests * Style
2024-02-20fix selection style when lscolors enabled (#496)lali
* fix: selection style when lscolors enabled Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch> * make it readable Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch> * use unwrap_or_else() instead Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch> * fix some clippy warnings Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch> * Revert "fix some clippy warnings" This reverts commit 1521b462c90b52dd9e7ebd50b27b99bcefb9be99. * add ls_colors option to default config Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch> --------- Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch>
2024-02-15feat lscolors support (#489)Ben Webb
* feat lscolors support Adds support for styling entries using the LS_COLORS environment variable. This styling is gated behind a configuration variable. If its enabled, any other styling for entries based on theme configuration is ignored. * feat lscolors apply cargo fmt and clippy edits
2024-02-13Bump libgit2-sys from 0.16.1+1.7.1 to 0.16.2+1.7.2 (#491)dependabot[bot]
Bumps [libgit2-sys](https://github.com/rust-lang/git2-rs) from 0.16.1+1.7.1 to 0.16.2+1.7.2. - [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/git2-rs/commits) --- updated-dependencies: - dependency-name: libgit2-sys dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13Add command for printing embedded configs (#487)sushi-shi
* Add command for printing embedded configs * Typo * Use doccomments instead of procmacro * Typo
2024-02-13fix overflow bug on bookmark widget when area is too small (#483)pantosaur
2024-01-20Use `shadow-rs` to show detailed version information (#481)xrelkd
* feat: use `shadow-rs` to show detailed version information * fix: fix lints and errors
2023-12-19Enable large file support for exiftool (#465)Mroik/PositiveC
2023-12-19fix: skip printf % interpretation (#463)kennycallado
Co-authored-by: kennycallado <kennycallado@hotmail.com>
2023-12-19README.md: fix typo in URL (#464)Integral
2023-12-19Update file_previews.md (#472)Maximilian Ehlers
2023-12-19Fixed syntax errors for scripts provided in docs/image_previews/kitty.md (#468)Tianze Zhu
2023-12-18fix TableJeff Zhao
2023-11-20Merge branch 'main' of github.com:kamiyaa/joshutov0.9.6Jeff Zhao
2023-11-20version bumpJeff Zhao
2023-11-11Add thumbnail for video preview on kitty (#451)Mroik/PositiveC
* Add thumbnail for video preview on kitty * Hide ffmpegthumbnailer output This can cause problems on videos that have some kind of malformation
2023-11-10cargo fmtJeff Zhao
2023-11-10only replace home dir with tilde if it starts from the rootJeff Zhao
2023-11-10[feat] add option to use file_path() with the %p keyword (#431)lali
Use a absolute path where it is needed. like: { keys = ["m", "w"], commands = ["shell swaymsg output * bg %p fit"] }, Signed-off-by: luteran42 <luteranlajos@protonmail.ch>
2023-11-04custom_commands + fallback for the older configurations (#446)Tomasz Durda
* custom_commands + fallback for the older configurations 1. Added custom_commands 2. Implemented custom_search 3. Implemented custom_serach_interactive 4. Added fallback for the command in the keymaps * Docs + missing file * Added two more joshuto scripts --------- Co-authored-by: Tomasz Durda <edotdurda@e-science.pl> Co-authored-by: Jeff Zhao <jeff.no.zhao@gmail.com>
2023-11-04feat: add `focus_on_create` option (#448)Azad
* feat: add `focus_on_create` option * Replace `PathBuf` with `Path` * Minor clippy fix
2023-11-01Merge branch 'main' of github.com:kamiyaa/joshutoJeff Zhao
2023-11-01make input thread a bit more robustJeff Zhao
- this tries to fix the issue where input thread is lagging behind input due to failed message sending
2023-10-23add `norg` extension (#449)xfzv
Co-authored-by: xfzv <>