i3wsr

Change i3-wm workspace names based on content

MIT License

Downloads
10.8K
Stars
177
Committers
8

Bot releases are visible (Hide)

i3wsr - v3.0.0 Latest Release

Published by roosta 8 months ago

[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
i3wsr - v2.1.1

Published by roosta over 2 years ago

Fixed

  • panic when the default config file doesn't exist
i3wsr - v2.1.0

Published by roosta over 2 years ago

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.
i3wsr - v2.0.1

Published by roosta over 3 years ago

Fixed

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

Published by roosta over 3 years ago

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

i3wsr - v1.3.1

Published by roosta over 3 years ago

Fixed

  • Hide names when using no_names and default_icon is configured (#17)
i3wsr - v1.3.0

Published by roosta over 4 years ago

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
i3wsr - v1.2.4

Published by roosta over 4 years ago

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

[general]
default_icon = "ο„‘"
i3wsr - v1.2.3

Published by roosta over 4 years ago

Fixes crash on missing class name. See https://github.com/roosta/i3wsr/issues/8

i3wsr - v1.2.2

Published by roosta almost 5 years ago

Remove extra whitespace from workspace names

i3wsr - v1.2.1

Published by roosta almost 5 years ago

Add support for separators via config:

[general]
separator = ">"
i3wsr - v1.2.0

Published by roosta almost 5 years ago

Add icons and class overrides using options file

This version add support for icons and class overrides thanks to the effors of @pedroscaff, see readme for usage instructions.

i3wsr - v1.1.1

Published by roosta about 6 years ago

Simplify error handling and clean up code

Thanks to the efforts of cauebs i3wsr now features better error handling and cleaner code. For more details refer to https://github.com/roosta/i3wsr/pull/2

i3wsr - v1.1.0

Published by roosta over 6 years ago

Support floating containers