* Fix default mpris icon size
The widget was was using the .ui size instead of the user config
size in the following situations:
- there was no media player app
- the media player app icon was used
- the audio-x-generic-symbolic icon was used
This fix sets the default size for the album art icon according to the
user's config.
set_from_gicon and set_from_icon_name receive a Gtk.IconSize enum value,
not an int, so we need to call set_pixel_size to set the proper size.
* Add MPRIS background blur for app icons
---------
Co-authored-by: Erik Reider <35975961+ErikReider@users.noreply.github.com>
* blockg signal handlers in toggle button when updating state
* fix linting
---------
Co-authored-by: Erik Reider <35975961+ErikReider@users.noreply.github.com>
* Fix default mpris icon size
The widget was was using the .ui size instead of the user config
size in the following situations:
- there was no media player app
- the media player app icon was used
- the audio-x-generic-symbolic icon was used
This fix sets the default size for the album art icon according to the
user's config.
set_from_gicon and set_from_icon_name receive a Gtk.IconSize enum value,
not an int, so we need to call set_pixel_size to set the proper size.
* Use INVALID for IconSize
* Fix lint
* Fix brightness slider choppiness
Make setting the brightness function async to prevent stutter on some devices.
* Fix implicit .begin deprecation warning
---------
Co-authored-by: Amir Dahan <amirdahan24@gmail.com>
Co-authored-by: Erik Reider <35975961+ErikReider@users.noreply.github.com>
* Initial animation work
* Added custom icon
* Fixed collapse icon not being symbolic
* Centered collapse button
* Fixed group of 2 notifications being invisible
* Added back notification logic
Notifications are now separated into their own group depending on their provided name
* Added close all button
Also changed the notification close button icon to the new provided icon
* Fixed replacing notifications not working as expected
* Fixed group sensitivity not being set when auto collapsed
* Don't group notis with no provided app-name/desktop-file
Also adds parsing of desktop file in NotiModel which helps with getting and using the display name as the group name
* Remove testing notifications
* General fixes
* Added fade to cc viewport
* Added padding to cc viewport fade
* Call on_expand_change on close all button click
* Updated README
* Sort critical notification groups before regular groups
* Added group title icon
* Fixed not being able to navigate through single notifications
* Scroll to top of group on expand
* Fix non expanded single noti groups being clickable
* Fixed linting issues
* Added styling
* Fixed invalid style reload cast
* Set lower ordered notifications content opacity to 0
* Added hover effect to groups