Skip to content

Commit c8891c8

Browse files
committed
refactor: use the cards widget and use peer to peer dbus
1 parent c8273f0 commit c8891c8

File tree

9 files changed

+356
-268
lines changed

9 files changed

+356
-268
lines changed

Cargo.lock

Lines changed: 32 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,10 @@ libcosmic = { git = "https://github.com/pop-os/libcosmic", default-features = fa
2626
[profile.release]
2727
lto = "thin"
2828
# lto = "fat"
29+
30+
# [patch."https://github.com/pop-os/cosmic-time"]
31+
# cosmic-time = { path = "../cosmic-time" }
32+
# [patch."https://github.com/pop-os/libcosmic"]
33+
# libcosmic = { path = "../libcosmic" }
34+
# [patch."https://github.com/pop-os/cosmic-config"]
35+
# cosmic-config = { path = "../libcosmic/cosmic-config" }

cosmic-applet-notifications/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ nix = "0.26"
1313
tokio = { version = "1.24.1", features = ["sync", "rt", "tracing", "macros", "net", "io-util", "io-std"] }
1414
cosmic-notifications-util = { git = "https://github.com/pop-os/cosmic-notifications" }
1515
cosmic-notifications-config = { git = "https://github.com/pop-os/cosmic-notifications" }
16+
# cosmic-notifications-util = { path = "../../cosmic-notifications-daemon/cosmic-notifications-util" }
17+
# cosmic-notifications-config = { path = "../../cosmic-notifications-daemon/cosmic-notifications-config" }
1618
tracing = "0.1"
1719
ron = "0.8"
1820
sendfd = { version = "0.4", features = [ "tokio" ] }
1921
bytemuck = "1"
2022
tracing-subscriber = "0.3"
21-
zbus = "3.14"
23+
zbus = {version = "3.14", features = [ "tokio" ]}
2224
# Application i18n
2325
i18n-embed = { version = "0.13.4", features = ["fluent-system", "desktop-requester"] }
2426
i18n-embed-fl = "0.6.4"

cosmic-applet-notifications/i18n/en/cosmic_applet_notifications.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ minutes-ago = { NUMBER($duration) ->
66
[1] 1 Minute Ago
77
*[other] {$duration} Minutes Ago
88
}
9+
show-more = Show {$more} More
910
clear-all = Clear All Notifications
1011
do-not-disturb = Do Not Disturb
1112
notification-settings = Notification Settings...

0 commit comments

Comments
 (0)