Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev (v0.8) #26

Merged
merged 7 commits into from
Jul 18, 2023
Merged

dev (v0.8) #26

merged 7 commits into from
Jul 18, 2023

Conversation

odnar-dev
Copy link
Member

@odnar-dev odnar-dev commented Apr 20, 2023

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 Add support for 'mov' video format #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)

@odnar-dev odnar-dev marked this pull request as ready for review June 18, 2023 12:37
@odnar-dev odnar-dev changed the title dev dev (v0.8) Jun 18, 2023
@odnar-dev odnar-dev merged commit 05faa05 into main Jul 18, 2023
@odnar-dev odnar-dev deleted the dev branch July 18, 2023 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant