Commit Graph

193 Commits

Author SHA1 Message Date
Erik Reider
e85c2f5d6d Terminal completions (#44)
* Added ZSH completions

* Fixed single quote ending string

* Added Bash completions

* Added bash to meson.build

* Added bash variable to meson_options.txt

* Added fish shell completions
2021-12-24 21:53:28 +01:00
Nicolas Berbiche
bf9309b193 Smooth scroll to new animation in notification center (#41)
If the user has disabled animations in GTK, then there will be no
animations.
This is all handled internally by GTK.
2021-12-23 22:10:19 +01:00
Nicolas Berbiche
847c874b78 Configurable notification window width (#42)
Co-authored-by: ErikReider <ereider20010103@gmail.com>

Co-authored-by: ErikReider <ereider20010103@gmail.com>
Co-authored-by: Erik Reider <35975961+ErikReider@users.noreply.github.com>
2021-12-23 21:53:54 +01:00
Nicolas Berbiche
a41f2b6e56 Configurable critical notification timeout (#40)
I think there was also a logic error related to setting an expiry
timeout.

It was only set if `params.expire_timeout` was not `0`, instead of
checking that both the user configured timeout and the one requested was
set to `0`.
2021-12-23 21:22:43 +01:00
Erik Reider
9fb9ffa54f Added ccDaemon documentation 2021-12-23 20:17:15 +01:00
Erik Reider
ff42e10be3 Updated notiDaemon documentation 2021-12-23 20:02:13 +01:00
Erik Reider
afefe58cba Fix css reload not updating notification event_box 2021-12-23 18:16:56 +01:00
Erik Reider
1424a988c5 Moved Notify method into "Specification" section 2021-12-23 17:43:15 +01:00
Erik Reider
91ddc06808 Moved notification struct and emuns to its own file 2021-12-23 17:39:19 +01:00
Erik Reider
9cf056b831 Moved ccDaemon into it's own file and removed DbusInit 2021-12-23 17:35:47 +01:00
Erik Reider
c2355a7bde Fixed not parsing pango markup (#35)
* Fixed not parsing pango markup

* Removed unnecessary if-statement

* Moved image setting above text setter
2021-12-23 15:11:50 +01:00
Erik Reider
c4fa206534 Fixed notifications disappearing in control center after hover 2021-12-23 15:08:35 +01:00
Erik Reider
a699043bc4 Notification swipe direction now changes depending on notification X position 2021-12-22 21:23:52 +01:00
Erik Reider
fc5b6bd4fe Don't fade notification when swiping to close 2021-12-22 20:48:28 +01:00
Erik Reider
354920612e Remove old timeout before adding a new timeout 2021-12-22 18:54:43 +01:00
Erik Reider
e863a24c28 Added open and close animations to notifications 2021-12-22 18:40:40 +01:00
Erik Reider
e47e0211f3 Fixed keyboard-shortcuts being misspelled in config 2021-12-22 18:33:04 +01:00
Erik Reider
02e0cf6c52 Remove notification timeout when removed 2021-12-21 20:11:40 +01:00
Erik Reider
f7096fbdb8 Fixed notification overlays over each other 2021-12-21 20:11:22 +01:00
Erik Reider
f0c39187b9 Bumped version to 0.3 2021-12-14 12:10:34 +01:00
Erik Reider
30ec92246d Improved README.md clarity 2021-12-14 12:08:20 +01:00
Erik Reider
00f20b70fd Removed comments from config.json 2021-12-14 12:08:06 +01:00
christopher-l
fff3839c04 Remove notification on CLOSED_BY_CLOSENOTIFICATION (#31)
Co-authored-by: Christopher Lübbemeier <luebbemeier@metaventis.com>
2021-12-14 11:55:54 +01:00
christopher-l
75894f50ff Added option 'center' for 'positionX' in config (#30)
Co-authored-by: Christopher Lübbemeier <luebbemeier@metaventis.com>
2021-12-03 13:40:13 +01:00
Erik Reider
baab0cd9b8 Can now reload css file from client 2021-11-17 21:02:39 +01:00
Erik Reider
57363848c9 Panel image is correct image 2021-11-17 20:44:12 +01:00
Erik Reider
e0be420be8 Updated panel.png image 2021-11-17 20:39:48 +01:00
Erik Reider
1d6ac435ea Updated README images 2021-11-17 20:38:11 +01:00
Erik Reider
c3950c0568 Update README.md 2021-11-16 21:29:21 +01:00
Erik Reider
56e41f2ea0 Added basic breeze-gtk theme compat 2021-11-10 18:07:29 +01:00
Erik Reider
9aae9c92c8 Added "--get-dnd" to client @xav-ie 2021-10-20 18:54:06 +02:00
Erik Reider
e5b1579e08 Added image_visibility parameter to config 2021-10-16 18:44:30 +02:00
Erik Reider
565f2cf87d Changed keyboard_shortcuts to keyboard-shortcuts in config 2021-10-16 18:43:25 +02:00
Erik Reider
37ea6c61ae All *.vala files now 80 chars wide 2021-10-13 23:03:50 +02:00
Erik Reider
ababdd9807 Using a switch instead of a long if else statement 2021-10-13 22:54:24 +02:00
Erik Reider
ec7d3945cc Fixed notification trying to remove itself when the window is null 2021-10-13 22:45:11 +02:00
Erik Reider
3e5378101f Can now toggle keyboard shortcuts 2021-10-13 19:27:31 +02:00
Erik Reider
1ddf18dc92 Moved and added comments in configModel.vala 2021-10-13 18:02:47 +02:00
Erik Reider
c7273127ac Bumped swaync version to 0.2 2021-10-13 13:22:17 +02:00
Erik Reider
c0f52adfc9 New config deserialization system + new notification timeout and timeout_low properties (#19)
* New config deserialization system + new timeout and timeout_low values

* Updated README

* Now doesn't accept values < 1

* Can now reload config from client and dbus

* Updated README with config reload command

* Removed unused json errordomain

* Fixed _path being overridden on first start

* Changed timeout_low name to timeout-low

* Fixed segfault when calling PositionX/Y.parse()

* Notiwindow and CC now change position on config change

* Added method to change config value from dbus

* Removed unused debug print

* Change_value now writes to the specified or default path

* Added new option to skip writing to config

* Added comments

* Added --reload-config command to README.md
2021-10-13 13:19:38 +02:00
Erik Reider
978f20de5f Bumped the libhandy version to 1.2 2021-10-08 16:23:51 +02:00
Erik Reider
676b77212b Fixed notifications still being hovered after close 2021-10-02 01:20:01 +02:00
Erik Reider
e3e6e39013 Removed type and type-hint in controlcenter.ui 2021-10-02 00:51:31 +02:00
Erik Reider
7629be542f Fixed long url expanding notification center 2021-10-02 00:50:45 +02:00
Erik Reider
4cdf270577 close_all_notifications method now uses remove_notification method 2021-09-18 00:44:11 +02:00
Erik Reider
e205284806 Removed duplicate code for removing temp notification 2021-09-18 00:41:27 +02:00
Erik Reider
cf0e1b347e Fixed copying of delegate warning 2021-09-18 00:31:32 +02:00
Erik Reider
bf79e9428e Stop noti timeout while hovering and restart timeout when mouse leaves 2021-09-18 00:22:02 +02:00
Erik Reider
37b6e3d343 Alt-actions box now scrolls if there are too many actions 2021-09-17 23:57:07 +02:00
Erik Reider
b39fbb1bb0 Removed alt button box from ui file 2021-09-17 22:31:24 +02:00