Commit Graph

523 Commits

Author SHA1 Message Date
Gabriel Carneiro be1533ad7f
block signal handlers in toggle button when updating state (#406)
* blockg signal handlers in toggle button when updating state

* fix linting

---------

Co-authored-by: Erik Reider <35975961+ErikReider@users.noreply.github.com>
2024-03-25 23:16:13 +01:00
o0nd7ots 7e503e6885
Fixed sources annotation (#407)
* Fixed sources annotation

github supports jsonc

Also unified shell commands to use zsh

* Replaced `json` with `jsonc` where needed
2024-03-25 23:09:03 +01:00
Erik Reider 1b6380b2a8 Fixed Arch build Github Action 2024-03-25 23:07:26 +01:00
o0nd7ots 9a3d5b3fe4
Changed gentoo emaint flag (#403)
It's more verbose, as with the emerge command
2024-03-25 16:02:40 +01:00
Boh_132_Boh d1eb9bfe28
Updated meson build instructions (#402)
Just switched from "meson build --prefix=/usr" to "meson setup build --prefix=/usr " as while compiling I received this warning:

WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
2024-03-14 12:36:28 +01:00
Erik Reider d2b797406a Bumped PKGBUILD versions 2024-03-09 19:26:23 +01:00
Erik Reider 4275fa3915 Bumped version to 0.10.1 2024-03-09 19:19:48 +01:00
Abílio Costa ed1b721a15
Fix default mpris icon size (#370)
* 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
2024-03-09 19:13:03 +01:00
Erik Reider 54a4c5d0d2
Fixed bottom aligned notifications being clipped in CC (#398) 2024-03-08 18:58:33 +01:00
System64 ee046a027e
Fix brightness slider choppiness (#372)
* 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>
2024-03-07 19:44:15 +01:00
Erik Reider 7e4a8a1c5e Close stdout script fd. Fixes #388 2024-02-21 19:51:55 +01:00
Erik Reider d1f4a0a8eb Updated PKGBUILD checksum 2024-02-10 17:27:11 +01:00
Erik Reider dd04d9a258 Bumped version to v0.10.0 2024-02-10 17:19:01 +01:00
Erik Reider 8613cdc868
Added demo video to README (#382) 2024-02-10 17:12:27 +01:00
Erik Reider 6a5869244d Adjusted default notification content margins/paddings 2024-02-10 16:18:12 +01:00
Erik Reider 0cd2e8eac9 Fixed group icon sometimes not following the defined icon size 2024-02-10 15:23:01 +01:00
System64 ae0728e2f1
Add control center visibility class (#371)
This addresses https://github.com/ErikReider/SwayNotificationCenter/issues/359
2024-02-10 15:13:10 +01:00
Erik Reider 42b9050950 Replaced README control center picture 2024-01-08 19:01:24 +01:00
1over137 ed1f2dcd53
Fix text color on light theme (#362)
* Apply color on widget title

* Update dnd.scss

* Update style.scss
2024-01-02 11:14:30 +01:00
Erik Reider bcedc20c36 Fix MPRIS art not resetting when there's no art URI 2023-12-20 21:22:07 +01:00
Erik Reider 831a89d29d Updated README with list of dependencies 2023-12-20 19:31:39 +01:00
Erik Reider 74ba2f375d Fix small SVGs being blurry in notifications 2023-12-20 19:18:18 +01:00
Erik Reider e498068ef5 Added back support for non-URI image-paths for notifications. Fixes #356 2023-12-20 19:11:09 +01:00
Erik Reider 605f195585
Bumped version requirements for libhandy and gtk-layer-shell (#357)
* Bumped version requirements for libhandy and gtk-layer-shell

* Bumped Ubuntu Action version to 23.10
2023-12-19 20:04:32 +01:00
Erik Reider bf3baba21a Bumped PKGBUILD-git version 2023-12-19 19:22:58 +01:00
Erik Reider 71e43ecc80 Adjusted default CSS with new default CC background color 2023-12-19 19:00:55 +01:00
Erik Reider 76b3441bb3 Fixed notifications not checking if app-icon is a icon-name. Fixes: #356 2023-12-19 19:00:12 +01:00
Erik Reider ff04ca3924
Add MPRIS player background blur (#355)
* Add MPRIS player background blur

* Added edge fade

* Only blur cover if the size or source changes
2023-12-19 18:40:23 +01:00
Erik Reider 1fcef5c966 Add app icon above the regular icon (#354)
* Add app icon above the regular icon

* Fixed linting issues

* Tweaked the CSS
2023-12-15 16:21:12 +01:00
Erik Reider b07a296bf8 Updated default style of notifications and control center 2023-12-15 15:45:49 +01:00
Erik Reider f68dfa4254 Require vala >= 0.56 2023-12-15 12:16:46 +01:00
Erik Reider e592a53b0b Tweaked grouped notifications look 2023-12-15 01:10:27 +01:00
Erik Reider 929d0d54b7
Add border-radius property to notification images (#353) 2023-12-15 01:04:49 +01:00
Erik Reider 2d87e22906 Fixed notification border radius being broken with alt actions 2023-12-15 00:10:37 +01:00
Erik Reider e5de83645c Added gvfs and libnotify 2023-12-14 19:03:56 +01:00
Erik Reider 624e467947 Bumped PKGBUILD pkgrel to 2 2023-12-14 17:21:52 +01:00
Erik Reider 8882b225fd
[New Dependency: sassc] Move to SCSS from regular CSS (#352)
* Moved to SCSS from regular CSS

* Fixed Ubuntu build
2023-12-14 17:12:30 +01:00
Erik Reider a6cf977e90 Minor grouped notifications fixes 2023-12-14 16:50:45 +01:00
Erik Reider 86166a46b7
Grouped notifications (#345)
* 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
2023-12-12 21:02:46 +01:00
Erik Reider 305ebf8734 Fixed CC placeholder not showing on startup. Fixes #351 2023-12-11 13:08:24 +01:00
Erik Reider 09c14e4ea9 Don't use missing image icon when noti provides invalid icon name. Fixes #350 2023-12-07 20:52:45 +01:00
peelz 5a23d5eeb5
Add notification hint to bypass dnd/inhibition (#334) 2023-11-28 13:53:07 +01:00
Jannis ab46163f1e
Fix togglebutton in menu dropdown (#339)
* Fix togglebutton in menu dropdown

* Minor bugfixes and fix typo in readme
2023-11-28 06:50:26 +01:00
Shaikh Shafeen 2f5253b72b
Update README.md (#343)
"buttons-gird" -> "buttons-grid"
2023-11-28 06:38:29 +01:00
Erik Reider 70eaa5b291 Fixed NotificationWindow sometimes not closing, blocking input 2023-11-22 10:37:25 +01:00
Jannis b7631c7de5
Add toggle button (#304)
* Add toggle button

* Toggle button documentation

* Fix issues

* Add env variable for toggle button

* Add state update command for toggle buttons

* Fix Uncrustify

* Update README
2023-11-13 00:52:26 +01:00
Carlos & 69e92da659
flush stdout after subscription events (#329) 2023-11-08 19:58:56 +01:00
Daniel Morgan 3ed3ab8fec
allow 8 digits in 2fa code regex (#332)
change 2fa regex to allow for 8 digits in a row
2023-11-08 19:56:44 +01:00
Erik Reider 90688d0fe9
Added config option to set cc exclusive zone (#321) 2023-09-27 00:43:54 +02:00
Erik Reider 0d368c2f07
Remove notification replace flicker (#320) 2023-09-26 23:09:51 +02:00