about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bookmarks.txt3
-rw-r--r--configs/shared/misc/.config/i3/config.shared3
2 files changed, 6 insertions, 0 deletions
diff --git a/bookmarks.txt b/bookmarks.txt
new file mode 100644
index 000000000000..193e5d649cda
--- /dev/null
+++ b/bookmarks.txt
@@ -0,0 +1,3 @@
+reddit.com/r/unixporn
+reddit.com/r/nixos
+news.ycombinator.com
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