Skip to content

Scripts to pick files and directories with nnn or ranger in chromium-based browsers

Notifications You must be signed in to change notification settings

severinbratus/kdialogs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kdialogs

Scripts to pick files and directories with nnn or ranger in chromium-based browsers. Because the default GtkFileChooser is unaesthetic and does not have the keybindings.

The idea is to impersonate kdialog and implement their interface, kdialog being the file-picker dialog that pops up if XDG_CURRENT_DESKTOP=KDE is set.

Installation

  • Place nnn-kdialog or ranger-kdialog as /usr/local/bin/kdialog.
  • Set XDG_CURRENT_DESKTOP=KDE.
  • Make sure that arguments are passed correctly to your $TERMINAL of choice.

Issues

ranger:

  • No way to cancel directory selection (and thus download), because in ranger a directory is selected by quitting.
  • Not possible to set the name of the saved file.

nnn and ranger:

  • No option to download a webpage in full, with css, js, etc.
  • No mime filtering.
  • No way to select multiple files.

nnn-kialog

Being my preference, nnn-kdialog has more features (for better or worse), namely:

  • Default download directory
  • Ability to set the filename with dmenu

About

Scripts to pick files and directories with nnn or ranger in chromium-based browsers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages