about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-04-03T12·12+0100
committerWilliam Carroll <wpcarro@gmail.com>2019-04-03T12·12+0100
commit10aef4e40d886473238e81d8f2e2866e3d99f4f4 (patch)
treed282bf9bcd74d7f50db80b1da9b86b066228d138 /configs
parent8220336205226432c9fc3ca77f8f21c7af32f908 (diff)
Support dmenu integration for Chrome bookmarks
I'd like to regain control of my browsing bookmarks with a simpler solution
using `dmenu`, `i3`, and a text file.

TODO: drop support for Chrome bookmarks by porting all remaining bookmarks to
bookmarks.txt

NOTE: maybe change bookmarks.txt to bookmarks.json to support nesting. Could be
simply with `jq`.
Diffstat (limited to 'configs')
-rw-r--r--configs/shared/misc/.config/i3/config.shared3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/shared/misc/.config/i3/config.shared b/configs/shared/misc/.config/i3/config.shared
index ddd84c0410a8..ce75b153366c 100644
--- a/configs/shared/misc/.config/i3/config.shared
+++ b/configs/shared/misc/.config/i3/config.shared
@@ -51,6 +51,9 @@ bindsym $mod+Ctrl+Shift+e      split h; exec emacsclient --create-frame ~/progra
 bindsym $mod+Ctrl+Shift+c      split h; exec google-chrome
 bindsym $mod+Ctrl+Shift+s      split h; exec spotify
 
+# support dmenu-based bookmarks
+bindsym $mod+Ctrl+b exec dmenu <$DOTFILES/bookmarks.txt | xargs $BROWSER
+
 bindsym $mod+Return exec st
 
 # pass integration