Skip to content

Releases: roosta/i3wsr

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 = ""

v1.2.3

10 Feb 18:24
84d81be
Compare
Choose a tag to compare

Fixes crash on missing class name. See #8

v1.2.2

03 Jan 15:08
7cb3e0b
Compare
Choose a tag to compare

Remove extra whitespace from workspace names