diff options
Diffstat (limited to '.qutebrowser')
-rw-r--r-- | .qutebrowser/bookmarks/urls | 1 | ||||
-rw-r--r-- | .qutebrowser/keys.conf | 8 | ||||
-rw-r--r-- | .qutebrowser/quickmarks | 9 | ||||
-rwxr-xr-x | .qutebrowser/userscripts/quickmarks-dmenu | 7 |
4 files changed, 20 insertions, 5 deletions
diff --git a/.qutebrowser/bookmarks/urls b/.qutebrowser/bookmarks/urls index 5496130..814231c 100644 --- a/.qutebrowser/bookmarks/urls +++ b/.qutebrowser/bookmarks/urls @@ -1,3 +1,4 @@ https://www.urbainvaes.com Urbain Vaes https://www.stallman.org/ Richard Stallman's Personal Page https://news.ycombinator.com/ Hacker News +http://192.168.0.20/#home MusicBox diff --git a/.qutebrowser/keys.conf b/.qutebrowser/keys.conf index de9241c..76f0e72 100644 --- a/.qutebrowser/keys.conf +++ b/.qutebrowser/keys.conf @@ -267,9 +267,12 @@ set-cmd-text -s :quickmark-load -w bookmark-add M -spawn --userscript bookmarks-dmenu +spawn --userscript quickmarks-dmenu u +spawn --userscript bookmarks-dmenu + b + set-cmd-text -s :bookmark-load -t gB @@ -413,9 +416,6 @@ set-cmd-text -s :bookmark-load undo <Ctrl-Shift-T> -set-cmd-text -s :quickmark-load - b - [insert] # Keybindings for insert mode. # Since normal keypresses are passed through, only special keys are diff --git a/.qutebrowser/quickmarks b/.qutebrowser/quickmarks index 8b13789..c9d3450 100644 --- a/.qutebrowser/quickmarks +++ b/.qutebrowser/quickmarks @@ -1 +1,8 @@ - +MusicBox http://192.168.0.20/#playlists +Hacker News https://news.ycombinator.com/ +Urbain Vaes https://www.urbainvaes.com/ +Gitlist https://www.urbainvaes.com/git/ +Khoi's git http://bknguyen.org/cgit +Facebook https://www.facebook.com/ +LinkedIn https://www.linkedin.com/nhome/ +The Economist http://www.economist.com/ diff --git a/.qutebrowser/userscripts/quickmarks-dmenu b/.qutebrowser/userscripts/quickmarks-dmenu new file mode 100755 index 0000000..354b398 --- /dev/null +++ b/.qutebrowser/userscripts/quickmarks-dmenu @@ -0,0 +1,7 @@ +#!/bin/bash + +url=$(cat ~/.config/qutebrowser/quickmarks | dmenu -i -l 15 | awk '{print $NF}') + +[ -z ${url} ] && exit + +echo "open $url" >> "$QUTE_FIFO" |