Skip to content

Releases: roosta/i3wsr

v3.1.1

25 Jan 13:35
6731336
Compare
Choose a tag to compare

Bug Fixes

  • Fix an issue where i3wsr would not collect i3 titles correctly. This also
    more cleanly handles the differing tree structures between sway and i3
    without the need for a conditional.

v3.1.0

22 Jan 18:28
81f09b5
Compare
Choose a tag to compare

Bug Fixes

Features

  • Add sway support
  • Add --verbose cmdline flag for easier debugging in case of issues

Sway

Support for Sway is added, new config key
addition app_id in place of class when running native Wayland applications:

[aliases.app_id]
firefox-developer-edition = "Firefox Developer"

i3wsr will still check for name, instance, and class for Xwayland
windows, where applicable. So some rules can be preserved. To migrate replace
[aliases.class] with [aliases.app_id], keep in mind that app_id and
class aren't always interchangeable , so some additional modifications is
usually needed.

A useful script figuring out app_id can be found here, it works like xprop but for Wayland.

Deprecations

I've flagged --icons as deprecated, it will not exit the application but it
no longer works. I'd be surprised if anyone actually used that preset, as it
was only ever for demonstration purposes, and kept around as a holdover from
previous versions.

v3.0.0

19 Feb 17:26
1a038ed
Compare
Choose a tag to compare

[3.0.0] - 2024-02-19

BREAKING: Config syntax changes, see readme for new syntax but in short
wm_property is no longer, and have been replaced by scoped aliases that are
checked in this order:

[aliases.name] # 1
".*mutt$" = "Mutt"

[aliases.instance] # 2
"open.spotify.com" = "Spotify"

[aliases.class] # 3
"^firefoxdeveloperedition$" = "Firefox-dev"

If there are no alias defined, i3wsr will default class, but this can be
configured with

--display-property=[class|instance|name]`

or config file:

[general]
display_property = "instance" # class, instance, name

Bug Fixes

  • Missing instance in class string
  • Remove old file from package exclude
  • Tests, update connection namespace
  • Clean cache on vagrant machine
  • Format source files using rustfmt
  • Refresh lock file
  • License year to current
  • Ignore scratch buffer
  • Tests
  • Handle no alias by adding display_prop conf
  • Add display property as a cmd opt

Documentation

  • Fix readme url (after branch rename)
  • Update instance explanation
  • Update toc
  • Document aliases usage
  • Update readme and example config
  • Fix badge, update toc, fix section placement
  • Fix typo

Features

  • Update casing etc for error msg
  • Add split_at option
  • [breaking] Enable wm_property scoped aliases
  • Add empty_label option

Miscellaneous Tasks

  • Add test workflow, update scripts
  • Update test branch
  • Fix job name
  • Remove old travis conf
  • Remove leftover cmd opt

Refactor

  • Rewrite failure logic
  • Remove lazy_static
  • Move i3ipc to dependency section
  • Remove unneeded extern declarations
  • Update clap, rewrite args parsing
  • Move cmd arg parsing to new setup fn
  • Replace xcb with i3ipc window_properties

Styling

  • Rustfmt

Testing

  • Update ubuntu version
  • Fix tests after failure refactor

Deps

  • Update to latest version of xcb
  • Update toml (0.7.6)
  • Update serde (1.0.171)
  • Update itertools (0.11.0)
  • Pin regex to 1.9.1
  • Pin endoing to 0.2.33

v2.1.1

15 Mar 14:36
3395357
Compare
Choose a tag to compare

Fixed

  • panic when the default config file doesn't exist

v2.1.0

14 Mar 18:08
d9aaaad
Compare
Choose a tag to compare

Added

  • Thanks to the contributions of @MikeWalrus you can now keep your config in $XDG_HOME/.config/i3wsr/config.toml, and use the option -c or --config to specify another path.

v2.0.1

24 Apr 12:29
e0dc879
Compare
Choose a tag to compare

Fixed

  • Fix issue where from_utf8 would error when presented with a latin-1 encoded string

v2.0.0

17 Apr 15:05
747cd73
Compare
Choose a tag to compare

Changed

  • BREAKING: The aliases config map now supports regex in the key portion. This will mostly work with old configs but the match is now substring. To get old exact match use: "^firefox$"
  • BREAKING: Rename option no_names to no_icon_names. no_names now always removes name, but leaving icon
  • BREAKING: Removed option use_instance, replaced instead by wm_property in config under the [general] heading that takes one of three possible values: class, instance, and name. Also included is a cmd flag: i3wsr --wm-instance=class

Added

  • Icons can now match on alias names, and fall back to class

Refer to the readme for details on these new options

v1.3.1

04 Feb 16:02
75300f3
Compare
Choose a tag to compare

Fixed

  • Hide names when using no_names and default_icon is configured (#17)

v1.3.0

11 Jun 18:44
0106c70
Compare
Choose a tag to compare

Added

  • flag --remove-duplicates that filters out duplicate entries in a workspace
  • flag --use-instance, have WM_INSTANCE take precedence over WM_CLASS, thanks to user luukvbaal.
  • Enable flags to be set in config file

Fixed

  • Fix clap deprecation warning

v1.2.4

02 Jun 15:58
2979ca6
Compare
Choose a tag to compare

Add option to have a default icon in the config file:

[general]
default_icon = ""