Skip to content

v0.8

Compare
Choose a tag to compare
@odnar-dev odnar-dev released this 18 Jul 17:41
· 1 commit to main since this release
05faa05

added variables

  • NBROWSER_CACHE_DIR : just a place holder for now, not used yet.
  • FIREFOX_BASED_BROWSERS : list of Firefox forks to check for.
  • CHROMIUM_BASED_BROWSERS : list of chromium forks to check for.
  • OTHER_BASED_BROWSERS : list of other browsers

added functions

  • add_browser() : easy way to add a new browser , used like this add_browser 'browser name' 'browser_path --args' .

fixed and improvements

  • remove duplicated items in browsers list in open_a_browser() and open_in_browser() .
  • decode arg variable in nbrowser:// protocol.
  • add check for floorp and firedragon browsers.
  • add a way to send additional args to rofi in _choose()
  • added mov format to be opened in video player; (related to #18)

testing

i use an `nbrowser add-on' to view my bookmarks. when i open a URL, i usually want it to open in the current browser, and sometimes i want to open more than one URL at the same time.

  • BROWSER_FG_FIRST option in open_in_browser() : with this option, the browser in the foreground will be the first choice in the list.
  • -m arg in open_in_browser() : this option allow to open multiple URLs at once, can only be called from within the script or add-ons (bangs, dbangs, ubangs, shortcuts or protocol-handler)