Skip to content

Commit 6ce6394

Browse files
committed
release 1.0
1 parent f2739f4 commit 6ce6394

File tree

3 files changed

+45
-39
lines changed

3 files changed

+45
-39
lines changed

CHANGELOG.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# 1.0rc4
2-
- built in support for more wayland menus:
3-
- walker
4-
- tofi
5-
- wmenu
2+
- `choose`: support `walker`, `tofi`, and `wmenu`
3+
- better detection of invalid/nonexistent profiles
64

75
# 1.0rc3
86
- breaking: stop sourcing files from `~/.config/qutebrowser/conf.d/`
@@ -17,6 +15,22 @@
1715
- make generated `.desktop` files match qutebrowser's more closely
1816

1917
# 1.0rc2:
20-
- `choose`: builtin support for `fzf` and `fuzzel`
21-
- moved argument handling to click
18+
- `choose`: support `fzf` and `fuzzel`
19+
- use `click `for CLI parsing
2220
- `qbpm launch`'s `-n`/`--new` renamed to `-c`/`--create`
21+
- expand fish shell completions
22+
23+
# 1.0rc:
24+
- add a man page
25+
26+
# 0.6
27+
- better error handling
28+
29+
# 0.5
30+
- `choose`: support custom menu command
31+
- `choose`: support `dmenu-wl` and `wofi`
32+
33+
# 0.4
34+
- `choose` subcommand (thanks, @mtoohey31!)
35+
- load autoconfig.yml by default
36+
- shell completions for fish

README.md

Lines changed: 24 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -18,45 +18,39 @@ windows. But launching two distinct profiles will start two entirely separate
1818
instances of qutebrowser which can be opened and closed independently.
1919

2020
## Usage
21-
Create a new profile called "python", edit its `config.py`, then launch it:
21+
To create a new profile called "python" and launch it with the python docs open:
2222
```
2323
$ qbpm new python
24-
$ qbpm edit python
2524
$ qbpm launch python docs.python.org
26-
$ qbpm choose # run dmenu or another launcher to pick a profile
2725
```
2826

29-
`qbpm from-session` can copy the tabs of a [saved qutebrowser
30-
session](https://qutebrowser.org/doc/help/commands.html#session-save) to a new
31-
profile. If you have a window full of tabs related to planning a vacation, you
32-
could save it to a session called "vacation" using `:session-save -o vacation`
33-
in qutebrowser, then create a new profile with those tabs:
34-
```
35-
$ qbpm from-session vacation
36-
```
27+
Note that all arguments after `qbpm launch PROFILE` are passed to qutebrowser,
28+
so options can be passed too: `qbpm launch python --target window pypi.org`.
3729

38-
The default profile directory is `$XDG_DATA_HOME/qutebrowser-profiles`, where
39-
`$XDG_DATA_HOME` is usually `~/.local/share`, but you can create and launch
40-
profiles from anywhere using `--profile-dir`/`-P`:
41-
```
42-
$ qbpm --profile-dir ~/dev/my-project new qb-profile
43-
$ cd ~/dev/my-project
44-
$ qbpm -P . launch qb-profile
45-
# or
46-
$ qutebrowser --basedir qb-profile
47-
```
30+
If you have multiple profiles you can use `qbpm choose` to bring up a list of
31+
profiles and select one to launch. Depending on what your system has available
32+
the menu may be `dmenu`, `fuzzel`, `fzf`, an applescript dialog, or one of many
33+
other menu programs qbpm can detect. Any dmenu-compatible menu can be used with
34+
`--menu`, e.g. `qbpm choose --menu 'fuzzel --dmenu'`. As with `qbpm launch`,
35+
extra arguments are passed to qutebrowser.
36+
37+
Run `qbpm --help` to see other available commands.
38+
39+
By default when you create a new profile a `.desktop` file is created that
40+
launches the profile. This launcher does not depend on qbpm at all, so if you
41+
want you can run `qbpm new` once and keep using the profile without needing
42+
qbpm installed on your system.
4843

4944
## Installation
5045
If you use Nix, you can install or run qbpm as a [Nix flake](https://nixos.wiki/wiki/Flakes).
5146
For example, to run qbpm without installing it you can use `nix run github:pvsr/qbpm -- new my-profile`.
5247

5348
On Arch and derivatives, you can install the AUR package: [qbpm-git](https://aur.archlinux.org/packages/qbpm-git).
5449

55-
Otherwise you'll need to install from source, directly or using a tool like [uv](https://docs.astral.sh/uv/guides/tools/).
56-
Using uv you can run qbpm without installing it using
57-
`uv tool run --with git+https://github.com/pvsr/qbpm qbpm`, or install to `~/.local/bin` with
58-
`uv tool install --with git+https://github.com/pvsr/qbpm qbpm`.
59-
The downside of a source installation is that the [man page](https://github.com/pvsr/qbpm/blob/main/qbpm.1.scd)
50+
Otherwise you can install directly from PyPI using [uv](https://docs.astral.sh/uv/guides/tools/),
51+
pip, or your preferred client. With uv it's `uv tool run qbpm` to run qbpm
52+
without installing and `uv tool install qbpm` to install to `~/.local/bin`.
53+
The downside of going through PyPI is that the [man page](https://github.com/pvsr/qbpm/blob/main/qbpm.1.scd)
6054
and shell completions will not be installed automatically.
6155

6256
On Linux you can copy [`contrib/qbpm.desktop`](https://raw.githubusercontent.com/pvsr/qbpm/main/contrib/qbpm.desktop)
@@ -66,11 +60,10 @@ to `~/.local/share/applications` to create a qbpm desktop application that runs
6660
### MacOS
6761

6862
Nix and uv will install qbpm as a command-line application, but if you want a
69-
native Mac application you can clone this repository or copy the contents of
70-
[`contrib/qbpm.platypus`](https://raw.githubusercontent.com/pvsr/qbpm/main/contrib/qbpm.platypus)
71-
to a local file, install [platypus](https://sveinbjorn.org/platypus),
72-
and create a qbpm app by running `platypus -P qbpm.platypus /Applications/qbpm.app`.
73-
That will also make qbpm available as a default browser in `System Preferences > General > Default web browser`.
63+
native Mac application you can download [`contrib/qbpm.platypus`](https://raw.githubusercontent.com/pvsr/qbpm/main/contrib/qbpm.platypus),
64+
install [platypus](https://sveinbjorn.org/platypus), and create a qbpm app with
65+
`platypus -P qbpm.platypus /Applications/qbpm.app`. That will also make qbpm
66+
available as a default browser in `System Preferences > General > Default web browser`.
7467

7568
Note that there is currently [a qutebrowser bug](https://github.com/qutebrowser/qutebrowser/issues/3719)
7669
that results in unnecessary `file:///*` tabs being opened.

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
[project]
22
name = "qbpm"
3-
version = "1.0rc4"
3+
version = "1.0"
44
description = "qutebrowser profile manager"
55
license = "GPL-3.0-or-later"
66
license-files = ["LICENSE"]
77
readme = "README.md"
88
authors = [{ name = "Peter Rice", email = "[email protected]" }]
99
classifiers = [
10-
"Development Status :: 4 - Beta",
1110
"Environment :: Console",
1211
"Intended Audience :: End Users/Desktop",
1312
"Operating System :: MacOS",

0 commit comments

Comments
 (0)