Skip to content

a script to manage bookmarks independent from browsers

Notifications You must be signed in to change notification settings

d-raw/bookmarks-wayland

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Bookmarks-Wayland

  • Saves bookmarks in either of 2 files "bookmarks.txt" and "bookmarks_other.txt".
  • Types bookmarked links after the cursor
  • Works with Wayland:
    • uses bemenu as dmenu replacement
    • uses wtype for typing the bookmarks

Installation

Edit the "bookmark" file and change the location where bookmarks are saved according to your need. Copy the file to somewhere in your PATH.

Usage

You can run it directly from the command line but it would be most useful when you bind the various commands to various keys in your window manager. Example bindings for Swaywm are given in the file example.sway.

Usage:
bookmark [Options]

Options:
-a	Add a bookmark from the primary clipboard
-ao	Add a bookmark from the primary clipboard to the "other" bookmarks file
-s	Search and open bookmarks
-so	Search and open bookmarks from the "other" bookmarks file
-st	Search tags from both files and open the bookmark
-am	Add bookmarks by manually typing it instead of copying from clipboard

Using with X11

  • replace wtype with xdotool type
  • replace wl-paste with xclip -selection clipboard -o
  • disable focus following mouse to always type to last focused window in i3: focus_follows_mouse no

Releases

No releases published

Packages

No packages published

Languages