Skip to content

Commit

Permalink
chore: release version 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
un-def committed Sep 8, 2024
1 parent 45058e5 commit 5079b40
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 2.2.0

## Features

* Multi-instance player support. It's now possible to specify a player by its non-unique name prefix only, without the unique instance suffix, e.g., `-p firefox` instead of `-p firefox.instance_1_34`. The blocklet monitors all instances and pick the new one when the previous disappears.
* Improved formatter by [@tellezhector](https://github.com/tellezhector):
- Added fallback to built-in `Formatter` format specs. See [Python Docs](https://docs.python.org/3.8/library/string.html#format-examples).
- Added a format_spec for truncating strings and adding a suffix `{string:.<max_length>,<suffix>}`.
* Added a placeholder message displayed when there is no player.

## Changes

* The blocket no longer handles `SIGINT`. See [PR #14](https://github.com/un-def/i3blocks-mpris/pull/14) for an explanation.

## 2.1.0

### Changes
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018-2021, 2023 Dmitry Meyer <me@undef.im>
Copyright (c) 2018-2021, 2023, 2024 Dmitry Meyer <me@undef.im>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion i3blocks_mpris.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from gi.repository import Gio, GLib


__version__ = '2.2.0.dev0'
__version__ = '2.2.0'
__author__ = 'Dmitry Meyer <me@undef.im>'


Expand Down

0 comments on commit 5079b40

Please sign in to comment.