sx-bookmarks
sx-bookmarks is a simple plugin for bookmarking windows. You can
assign (“set”) a unique “bookmark key” to the currently focused
window to easily jump back to this window at any time (i.e.
“activate the bookmark”). You can assign multiple bookmarks to one window.
Example: You focus a window, press Meta+b e ... and at any time
you want to, you can press Meta+g e to jump to the window’s desktop
and focus it.
sx-bookmarks doesn’t have dependencies and isn’t configurable.
Actions
-
bookmarks.set(name)
- Associate the bookmark name to the currently focused window.
-
bookmarks.set_key()
- Grab the keyboard, wait for the user pressing an arbitrary key
and assign that key to the currently focused window.
-
bookmarks.activate(name)
- Activate the bookmark name. If needed, jump to another desktop.
If there is no such bookmark, print a warning to the log.
-
bookmarks.activate_key()
- Grab the keyboard, wait for the user pressing an arbitrary key
and pass that key to bookmarks.activate() as bookmark name.
Example
A typical configuration for sx-bookmarks would look like that:
'bind.keys': {
'meta+b': 'bookmarks.set_key',
'meta+g': 'bookmarks.activate_key'
}
-
class sxbookmarks.SXBookmarks(app)
-
action_activate(info)
-
action_activate_key(info)
-
action_set(info)
-
action_set_key(info)
-
on_new_screen(screen)