Commit graph

3252 commits

Author SHA1 Message Date
Luuk van Baal 7527125487 cleanup fifo 2021-03-14 15:28:50 +01:00
Arun Prakash Jana 519ea8347e
Update docs 2021-03-14 16:23:46 +05:30
Arun Prakash Jana 3cd93a355a
Minor code reformat for clarity 2021-03-14 14:35:19 +05:30
Arun Prakash Jana bd95763c7a
Fix shellcheck report 2021-03-14 12:59:24 +05:30
luukvbaal ac72d2c66e
Fix preview-tui-ext and ueberzug support for preview-tui (#875)
* fix preview-tui-ext

* add ueberzug to preview-tui

* abolish config variables

* kitty
2021-03-14 12:23:03 +05:30
Arun Prakash Jana e8577baab2
Fix #876: fzcd - go to dir and select file 2021-03-14 12:19:40 +05:30
luukvbaal 1571ea2b35
preview-tui improvements (#869)
* Update preview-tui

* trap SIGWINCH

* Update preview-tui

fix CircleCI test

* fix CircleCI...

* add pdf/epub

forgot to add pdf/epub when adpating my own working script to the upstream version

* add USE tests

* add office preview

allows preview of ods, odt, docx, pptx, etc

* remove resize trap, show static gif

Removed the faulty resize code and show static gif when USE_GIFPREVIEW is not set.

* loop gif playback

* refactor imagepreview

* scale kitty preview

* fix ueberzug_remove regression

* add optional atool support

* single depth, colorized tree preview

also empty pager prompt

* atool optional

* window resize working

* USE_UEBERZUG check

* conditional trap

I can't fully explain the behavior I'm seeing but this seems to work as its supposed to.

* adopt TMPDIR

* prevent extra readline after window resize

* shellcheck fix

* clear preview pane after resize

prevents (seemingly random) pager previews from showing after resize

* fix stray fifo from subshells

* add preview-tui-ext
2021-03-13 16:52:51 +05:30
Arun Prakash Jana 3387f0a6ac
Have a distinct unused msg for index 0 2021-03-06 12:20:14 +05:30
Arun Prakash Jana e901615fcc
Add check for non-empty selection buffer 2021-03-04 23:55:41 +05:30
Arun Prakash Jana 8886f1cd56
Fix regression in #864 2021-03-04 19:56:15 +05:30
Arun Prakash Jana c7140e6758
Fix #864 2021-03-04 17:51:57 +05:30
Arun Prakash Jana 822546f285
Update docs 2021-02-28 23:56:10 +05:30
Arun Prakash Jana 07afd45243
Update docs 2021-02-28 00:15:11 +05:30
Mischievous Meerkat 5c47ac651f
Merge pull request #858 from KlzXS/xdgopen
Fix frozen terminal caused by opener
2021-02-19 03:13:25 +05:30
Mischievous Meerkat 4b15535983
Merge pull request #857 from KlzXS/batch_rename
Favor selection over current for nmv
2021-02-18 00:39:00 +05:30
Mischievous Meerkat 916910bd7a
Merge pull request #856 from KlzXS/cpmvrm
Add check for empty selection
2021-02-18 00:36:15 +05:30
KlzXS 8bdd4b2e2a
Use the fix you just implemented 2021-02-17 09:08:12 +00:00
KlzXS 54b7dc4756
Fix frozen terminal
xdg-open would launch a cli program that would contest the terminal for character input
2021-02-16 22:33:09 +00:00
KlzXS c9c1d0d454
Favor selection over current for nmv 2021-02-16 21:46:56 +00:00
KlzXS a27568824e
Add check for empty selection
nop when empty
2021-02-16 21:33:42 +00:00
Arun Prakash Jana 7e307bc2ff
Fix alignment 2021-02-11 21:04:37 +05:30
Mischievous Meerkat e3c994bd36
Merge pull request #852 from 0xACE/badideascfg
state.runctx now retains bitwidth as cfg.curctx
2021-02-11 08:52:00 +05:30
0xACE 67962efbd5 state.runctx now retains bitwidth as cfg.curctx
Didn't test this out, but judging by the name of the variable this
should be a bugfix
2021-02-11 04:11:54 +01:00
Arun Prakash Jana 16de133fea
Retain a way to return to start dir if file opened 2021-02-11 05:26:51 +05:30
Arun Prakash Jana 600286b627
Always prefer selection over current file
If you have selected some files, you intend to work on them. Also, this prompt
expects <kbd>c</kbd> / <kbd>s</kbd> which should cancel the next prompt in the
delete workflow. Rest of the three workflows are non-fatal.

Benefits of removing this option:
- code reduction
- one less step in the relevant workflows (more than one prompt feels dragged)

This prompt shows in the following workflows:
- delete: users have explicitly requested to prefer sel over current
- batch rename: key <kbd>^R</kbd> renames a single file
- archive: in most of the cases the user would want to archive the selection
- create sym/hard link: not a frequently used workflow (in general)
2021-02-10 05:12:40 +05:30
Arun Prakash Jana 026f76f14c
Clear selection after successful plugin invocation 2021-02-10 04:25:08 +05:30
Mischievous Meerkat d07c4907de
Merge pull request #851 from Lucas-Summers/master
adding support for ueberzug into plugins/preview-tui
2021-02-10 03:54:30 +05:30
Lucas Summers 8a12c01da4 fixed shellcheck errors for plugins/preview-tui 2021-02-09 10:32:32 -08:00
Lucas Summers 83232684a8 integrated ueberzug into plugins/preview-tui 2021-02-08 18:16:28 -08:00
Arun Prakash Jana 118657020e
Fix indentation in helpstr 2021-02-08 07:13:16 +05:30
Mischievous Meerkat 4178f62ece
Merge pull request #849 from uvelichitel/master
Correct umount fusefs on FreeBSD. rel. issue  #848
2021-01-31 08:25:05 +05:30
uvelichitel 3776f72af1 Correct umount fusefs on FreeBSD 2021-01-31 00:47:09 +03:00
Mischievous Meerkat d23cc2fe15
Merge pull request #840 from freddii/master
fixed wrong spelled words
2021-01-18 19:03:38 +05:30
Arun Prakash Jana 5d8738544b
Fix #839 2021-01-18 18:59:59 +05:30
freddii 50386ff511 fixed wrong spelled words 2021-01-18 13:55:28 +01:00
Mischievous Meerkat 86abd83dfd
Merge pull request #839 from bagnacauda/wall_update
Updated wall plugin to the standard utility file
2021-01-18 16:15:30 +05:30
Simone f23452396e Updated wall plugin to the standard utility file 2021-01-18 11:34:19 +01:00
Mischievous Meerkat f4baa394be
Merge pull request #836 from KlzXS/makefile
Fix #835
2021-01-13 20:36:33 +05:30
KlzXS 7310a9a773
Fix #835 2021-01-13 14:13:07 +00:00
Robin Schneider 25eba96466
Use HTTPS everywhere (mechanical edit using util from https-everywhere)
```Shell
~/src/EFForg/https-everywhere/utils/rewriter/rewriter.js .
```

Ref: https://github.com/EFForg/https-everywhere/tree/master/utils/rewriter

Remove suspicious file
2021-01-07 08:32:59 +05:30
Arun Prakash Jana c1e673b830
Update readme 2021-01-01 20:54:22 +05:30
Arun Prakash Jana 8e92ea8ad6 Update copyright year 2020-12-29 02:34:23 +05:30
Mischievous Meerkat 057c88a1e9
Merge pull request #822 from j0hnnybash/master
plugins: preview-tui: video thumbnails in preview-tui
2020-12-28 07:17:11 +05:30
johnnybash 37de198303 use trap to delete the temp files 2020-12-27 19:27:11 +01:00
johnnybash 4d77066b62 reuse image code, use more variables 2020-12-26 14:16:12 +01:00
johnnybash a918a59856 video thumbnails in preview-tui 2020-12-21 16:24:18 +01:00
Mischievous Meerkat 66a8b69426
Merge pull request #818 from 0xflotus/patch-1
fix: small error
2020-12-18 19:42:51 +05:30
0xflotus eb47a6c538
fix: small error 2020-12-18 14:42:22 +01:00
Arun Prakash Jana 18232f993d
Specify compilers explicitly 2020-12-17 08:45:41 +05:30
Arun Prakash Jana 12f3d0af61
Update docs 2020-12-17 07:45:02 +05:30