Skip to content

Commit aeefb7c

Browse files
committed
Version 0.5.0.
1 parent ca8c2f4 commit aeefb7c

File tree

3 files changed

+35
-11
lines changed

3 files changed

+35
-11
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# Changelog
22

3+
## [0.5.0] - 2022-08-21
4+
### Warning - HiDPI config change
5+
In previous versions of tofi, pixel values were always treated as device
6+
pixels, ignoring the display's scale factor. This allows pixel-perfect sizes,
7+
but means you have to make different configs for differently scaled displays,
8+
and isn't how e.g. Sway does things. Additionally, fonts currently *are* scaled
9+
by the scale factor, making things a little complex.
10+
11+
This release adds a `scale` boolean option, which currently defaults to
12+
`false`. Setting this to `true` will make pixel values scale with the display's
13+
scale factor.
14+
15+
In the next version of tofi, `scale` will default to `true` (but still be
16+
around if you want the old behaviour). Setting `scale` to `false` will also
17+
start causing fonts to not be scaled by the scale factor.
18+
19+
If you use tofi on a HiDPI display, you should explicitly set `scale` to your
20+
desired setting now (or at least be aware that you'll need to change some theme
21+
dimensions in the next version).
22+
23+
### Added
24+
- Fuzzy matching can now be enabled with the `fuzzy_match` option.
25+
- Added `scale` option, as described above.
26+
- Added Ctrl-u and Ctrl-w readline keybindings.
27+
- Added this changelog.
28+
29+
### Changed
30+
- Improved performance when neither `selection-match-color` or
31+
`selection-background-color` are specified.
32+
- Improved performance on systems with Transparent HugePages enabled for shared
33+
memory (none that I know of for now, but may be relevant in the future).
34+
35+
336
## [0.4.0] - 2022-08-07
437
### Deprecated
538
In the [0.3.0] release, the `drun-print-exec` option was added to enable fixed
@@ -95,6 +128,7 @@ is how it should have been done from the start.
95128
## [0.1.0] - 2022-06-27
96129
Initial release. Good enough to use, but still some jank.
97130

131+
[0.5.0]: https://github.com/philj56/tofi/compare/v0.4.0...v0.5.0
98132
[0.4.0]: https://github.com/philj56/tofi/compare/v0.3.1...v0.4.0
99133
[0.3.1]: https://github.com/philj56/tofi/compare/v0.3.0...v0.3.1
100134
[0.3.0]: https://github.com/philj56/tofi/compare/v0.2.0...v0.3.0

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,6 @@ executables under the user's `$PATH`.
5858
list of applications found in desktop files as described by the [Desktop Entry
5959
Specification](https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html).
6060

61-
**WARNING**: In the latest version of tofi, the default behaviour of drun mode
62-
has changed. Previously, when a selection was made in drun mode, the filename
63-
of the selected desktop file was printed to stdout. This couldn't be passed
64-
directly to swaymsg exec however, so applications launched in drun mode
65-
wouldn't always stay in the correct workspace. In the current version of tofi,
66-
this has changed to an executable command line, to be passed to swaymsg exec or
67-
similar. The drun-print-exec option is therefore useless and deprecated, and
68-
may be removed from a future version of tofi, so you should remove it from your
69-
configs.
70-
7161
To use as a launcher for Sway, add something similar to the following to your
7262
Sway config file:
7363
```

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project(
22
'tofi',
33
'c',
4-
version: '0.4.0',
4+
version: '0.5.0',
55
license: 'MIT',
66
default_options: [
77
'c_std=c2x',

0 commit comments

Comments
 (0)