Commit graph

389 commits

Author SHA1 Message Date
Luuk van Baal c3a472a7e2 .iconlookup: refactor 2021-04-01 16:17:46 +02:00
Luuk van Baal 9fcdf78643 .iconlookup: shebang to env sh 2021-03-30 17:49:31 +02:00
luukvbaal 5cf723fbe4
preview-tui-ext: match nnn directory preview (#927)
* preview-tui-ext: add optional dependency iconlookup

* new plugin: .iconlookup
2021-03-30 20:55:56 +05:30
Yuri Kloubakov 1a0c9d0c90 Truncate the name, add comments. 2021-03-29 21:29:03 -04:00
exoton 42aa97b112
Add new plugin (#928)
* Add new plugin

* Small cdpath refactoring

* Change the default CDPATH value, remove string indexing.

* Remove readlink() call to be POSIX compliant.

* Fix the comment
2021-03-29 08:09:42 +05:30
Arun Prakash Jana 603c1580e8
Set correct plugin language 2021-03-28 01:51:43 +05:30
Arun Prakash Jana 6dfea38999
Update readme 2021-03-28 01:46:07 +05:30
Arun Prakash Jana 8542f5bc33
Use better pipe check 2021-03-28 00:59:23 +05:30
Benawi Adha 0f4dfee6c6
plugins: cleanfilename: sh->bash and added support for cleaning newline (#923)
* plugins: cleanfilename: sh->bash and added support for cleaning newline

* plugins: cleanfilename: sh->bash and added support for cleaning newline
2021-03-27 19:36:17 +05:30
Arun Prakash Jana 37fbed2fb7
Fix plugin readme table 2021-03-27 19:34:41 +05:30
Arun Prakash Jana 7f5dbd11e3
Fix #917: enhance plugin framework to clear sel on request
With this enhancement, plugins which operate on selection
can explicitly request the program to clear the selection.
2021-03-27 17:12:21 +05:30
Benawi Adha b0aa1fe379
plugins: cleanfilename: fixed to not overwrite existing file (#916)
* plugins: cleanfilename: fixed to not overwrite existing file

* plugins: cleanfilename: fixed to not overwrite existing file
2021-03-26 01:06:25 +05:30
Arun Prakash Jana f602cbee07
Reorder table alphabetically 2021-03-25 01:11:10 +05:30
Benawi Adha f176d81ea0
plugin: verbosepaste: gives copy-paste verbose progress percentage (#914)
* plugin: verbosepaste: gives copy-paste verbose progress percentage

* plugin: verbosepaste: gives copy-paste verbose progress percentage
2021-03-24 17:39:08 +05:30
Benawi Adha c61a716e11
plugin: cleanfilename: clean filename to be more shell-friendly (#913)
* plugins: cleanfilename: clean filename to be more shell-friendly

* plugins: cleanfilename: clean filename to be more shell-friendly

* plugins: cleanfilename: clean filename to be more shell-friendly

* plugins: cleanfilename: clean filename to be more shell-friendly

* plugins: cleanfilename: clean filename to be more shell-friendly
2021-03-24 14:51:38 +05:30
luukvbaal f90e567a17
cache and constraint preview dimensions (#910)
* cache and constraint preview dimensions

* cache subdirectory

* optional caching

* revert to ext for pdf/epub
2021-03-24 06:43:18 +05:30
Benawi Adha 638676a689
plugins: mtpmount: toggle mount of MTP devices (#909)
* plugins: mtpmount: toggle mount of MTP devices

* plugins: mtpmount: added some quotes

* plugins: mtpmount: toggle mount of MTP devices

* plugins: mtpmount: toggle mount of MTP devices

* plugins: mtpmount: toggle mount of MTP devices

* plugins: mtpmount: toggle mount of MTP devices
2021-03-23 19:42:10 +05:30
luukvbaal e0822fdef4
fill preview-tui preview (#907)
* fill preview pane

* add xcf preview and fix formatting

* test which convert

* restore -bL
2021-03-22 06:24:29 +05:30
Arun Prakash Jana 2f6046e6da
Use short options 2021-03-21 19:33:43 +05:30
luukvbaal 73a54e7550
preview-tui-ext ffmpegthumbnailer fallback (#906) 2021-03-21 18:53:56 +05:30
luukvbaal bc59961d98
preview-tui-ext jpg previews (#905)
* switch to jpg previews

* add ueberzug scaler
2021-03-21 15:59:44 +05:30
luukvbaal 9544eb91d2
generate_preview fallback (#904) 2021-03-21 09:19:19 +05:30
luukvbaal bebad983ca
fix fontpreview (#903) 2021-03-21 07:59:06 +05:30
luukvbaal ac29a7c166
preview-tui fixes (#900)
* redraw preview on resize

* fix stray preview pane after exit

* restore cleanup

* fix image bin info fallback
2021-03-21 07:11:14 +05:30
Arun Prakash Jana 2fc61a8f48
Add more previewers 2021-03-21 00:01:46 +05:30
Arun Prakash Jana 4a45e45b30
Add bsdtar for archives, w3m for html 2021-03-20 23:36:24 +05:30
luukvbaal fdf40df5e9
replace preview-tui demo (#898) 2021-03-20 15:14:18 +05:30
luukvbaal 2e4aca5e6b
preview-tui(-ext) subshell job control (#891)
* subshell job control

* remove unnecessary kill

* Update docs

* update PAGER and tree command

* restore clear
2021-03-20 06:28:46 +05:30
Arun Prakash Jana a88bbe1a9c
Use earlier asciicast in plugins readme. 2021-03-20 06:26:14 +05:30
Luuk van Baal 77cde578e0 preview-tui demo 2021-03-19 22:08:10 +01:00
Arun Prakash Jana 5f0b3b74d0
Fix #889: clear selection if plugin doesn't send data 2021-03-19 00:00:37 +05:30
Arun Prakash Jana 2dccb94f3f Revert "Favor selection over current for nmv"
This reverts commit c9c1d0d454.
2021-03-17 22:19:01 +05:30
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 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
KlzXS c9c1d0d454
Favor selection over current for nmv 2021-02-16 21:46:56 +00:00
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
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
Simone f23452396e Updated wall plugin to the standard utility file 2021-01-18 11:34:19 +01: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
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
kyechou f1ea3e3ceb
Fix the same issue as #81 but with nuke 2020-12-15 14:17:03 -06:00