Skip to content

Commit 9aa9234

Browse files
authored
improve README.md
move the tips section from wiki to the readme thanks to @Bad3r for the suggestion
2 parents 27e3a3d + e1ed795 commit 9aa9234

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ rofi with DarkBlue theme
88
```
99
- auto detect installed browsers
1010
- auto remove tracking elements from URLs (basic)
11-
- !bangs and !ubangs
1211
- ?search engines
12+
- !bangs
13+
- !ubangs : url bangs
14+
- !dbangs : direct bangs or domain bangs
1315
- ...
1416
```
1517

@@ -28,6 +30,15 @@ git clone https://github.com/MyOS-ArchLinux/nbrowser
2830
cd nbrowser/
2931
sudo make install
3032
```
33+
## Tips
34+
- set a [keyboard shortcuts](https://wiki.archlinux.org/title/Keyboard_shortcuts) (ex: super+W) to open `nbrowser` easly
35+
- set `nbrowser` as the [default browser](https://wiki.archlinux.org/title/Default_applications) so you can open each clicked URL with nbrowser (ex: using [xdg-utils](https://wiki.archlinux.org/title/Xdg-utils)).
36+
37+
`xdg-mime default nbrowser.desktop x-scheme-handler/https x-scheme-handler/http x-scheme-handler/browser`
38+
- some console applications us the variable `$BROWSER` to open default browser,
39+
so you may also need to set [environment variable](https://wiki.archlinux.org/title/Environment_variables#Default_programs) `BROWSER=nbrowser`
40+
- for one-click switch between browsers copy and paste this code into a bookmark URL of all your browser
41+
`javascript:window.location='browser://'+location.href;`
3142

3243
## External links
3344
- [WIKI](https://github.com/MyOS-ArchLinux/nbrowser/wiki/)

0 commit comments

Comments
 (0)