33 Commits

Author SHA1 Message Date
Stian Onarheim
653058beac Close notification with middle mouse button (#413)
* Close notification with middle mouse button

Signed-off-by: Stian Onarheim <stian.onarheim@protonmail.com>

* Fix linting issue

---------

Signed-off-by: Stian Onarheim <stian.onarheim@protonmail.com>
Co-authored-by: Erik Reider <35975961+ErikReider@users.noreply.github.com>
2024-05-03 21:26:37 +02: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
Erik Reider
90688d0fe9 Added config option to set cc exclusive zone (#321) 2023-09-27 00:43:54 +02:00
Jannis
176e3b7291 Add show-per-app-label for volume (#301) 2023-08-14 00:12:39 +02:00
Erik Reider
90cde83bde Add meson_option to build without PulseAudio Widget (#297) 2023-07-08 17:24:39 +02:00
dev
9bac0d09af Added "relative-timestamps" config to switch between "25 minutes ago" and "2023-06-25T20:05:27-07" (#286)
Co-authored-by: Erik Reider <35975961+ErikReider@users.noreply.github.com>
2023-07-08 12:57:16 +02:00
dev
181d43b637 corrected misspellings of the word "notification" (#287) 2023-06-26 10:58:09 +02:00
Erik Reider
ee456bab38 Added volume and backlight widgets to MAN 5 page 2023-06-14 12:59:59 +02:00
Erik Reider
4aefd3aabd Update man page with new config options 2023-05-21 16:42:00 +02:00
earthian
e95aa6aebf Update swaync.5.scd to include positionY center #249 (#264) 2023-05-21 16:30:34 +02:00
Jannis
91f19dfb4e Per app volume control (#235) 2023-04-11 10:31:16 +02:00
Jannis
f7daa7ac45 Menu animation (#230) 2023-03-05 16:48:16 +01:00
Erik Reider
4f25e2e609 [Feature] Add ability to inhibit notifications through DBus (#223) 2023-02-23 21:41:08 +01:00
Jannis
c7644dbf91 Add Brightness slider widget (#211) 2023-02-22 18:16:19 +01:00
Erik Reider
450ad37c6e Add "desktop-entry" as option to scripts (#219) 2023-02-21 12:42:15 +01:00
Jannis
bfcf9b9a32 Audio slider (#207) 2023-02-12 16:16:33 +01:00
Jannis
5779017397 Add ControllsWidget (#203) 2023-02-09 19:22:29 +01:00
Mildred Ki'Lya
0767c90a77 Add Override urgency to config (#199) 2023-01-18 11:48:54 +01:00
autumn
8a1ffcfd6f Action scripts (#194)
Co-authored-by: auctumnus <auctumnus@users.noreply.github.com>
Closes https://github.com/ErikReider/SwayNotificationCenter/issues/192
2023-01-03 18:56:59 +01:00
Aidan Epstein
18b72b9b8c Update documentation to mention the environment variables that scripts can use. (#191) 2023-01-01 17:49:53 +01:00
Adam Borowski
12ec6012b4 a bunch of typo fixes (#187) 2022-12-13 12:14:11 +01:00
Erik Reider
f765d2d452 Add cssPriority to config (#176)
* Added cssPriority to config

* Fixed linting issues
2022-10-28 18:33:59 +02:00
Tobias Langendorf
69375cc791 Add option to configure control center layer (#175) 2022-10-21 00:01:00 +02:00
lazytanuki
ebd726e38a feat: transient notification visibility (#170) 2022-10-09 11:29:48 +02:00
Benjamin Vergnaud
81fb57ecb7 Add client flags to turn dnd on/off (#169) 2022-09-30 00:10:16 +02:00
Brian Janssen
5972ecb59f Fix typo (#166) 2022-09-22 13:55:35 +02:00
Erik Reider
3bc2b5e5ce Mpris Media Player widget (#157)
* Initial Mpris widget code

* Fixed carousel not updating widgets when CC is hidden

* Scroll to newest player when new player appears

* Updated widget style

* Clamp image radius

* Use generic type when getting config value

* Use Application icon as fallback

* Use Appname as fallback

* Show first artist in subtitle

* Button opacity is now applied only to the image child

* Treat Stopped state as paused

* Fixed linting issues

* Updated README

* Updated config and config schema

* Simplified player check

* Updated Man page

* Enable scrolling

* Updated css to include title and subtitle
2022-08-17 23:15:55 +02:00
Erik Reider
14a327603c Customize and reorder widgets in Control Center (#150)
* Initial widget code with Title and DND widgets

* Fixed linting issues

* Added label widget

* Added label to widgets JSON Schema

* Added default widgets

* Added info to swaync 5 man page

* Updated README with widget info

* Added ability for multiple configs per widget

* Reworked how the widget CSS classes are applied

* Fixed linting issues

* Added CSS class names to man page
2022-08-03 17:02:09 +02:00
Erik Reider
c54bf8ba16 Added hide and close latest notification to client (#113) 2022-04-18 00:18:46 +02:00
Nicolas Berbiche
f400e4a134 Make notification center width and height configurable (#38) 2022-04-17 22:25:22 +02:00
Erik Reider
364038ec6d Added right click to close notification (#110) 2022-04-05 17:19:14 +02:00
Erik Reider
83a8a62ea9 Notification visibility (#106)
* Added config option

* Show notifications depending on state

* Updated json.in and jsonSchema

* Updated swaync(5) man file
2022-04-03 17:58:09 +02:00
Erik Reider
a9edf6d360 Man pages (#104)
* Initial man pages

* Added meson option and script

* Updated Dockerfiles
2022-04-02 17:52:35 +02:00