mirror of
https://github.com/stumpwm/stumpwm-contrib.git
synced 2026-09-10 07:26:25 -04:00
636 B
636 B
browse – open the default browser
Purpose
- Open a web browser using the portable `xdg-open` (from xdg-utils) function. This
- opens your "default browser", which must be set elsewhere.
Dependency
xdg-open must be installed.
Config
- Use this in your StumpWM init file:
(load-module "browse")
- Bind `browse` to a key.
(define-key *root-map* (kbd "B") "browse")
- Set homepage (default: `about:blank`).
(setf *homepage* "https://spensertruex.com")
License
GNU GPL v3