Skip to content

Commit

Permalink
Show notification on screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
YaLTeR committed Oct 31, 2023
1 parent b0af112 commit 1514422
Show file tree
Hide file tree
Showing 4 changed files with 263 additions and 4 deletions.
217 changes: 216 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ libc = "0.2.149"
logind-zbus = { version = "3.1.2", optional = true }
log = { version = "0.4.20", features = ["max_level_trace", "release_max_level_debug"] }
miette = "5.10.0"
notify-rust = { version = "4.9.0", optional = true }
pipewire = { version = "0.7.2", optional = true }
png = "0.17.10"
portable-atomic = { version = "1.5.0", default-features = false, features = ["float"] }
Expand All @@ -29,6 +30,7 @@ serde = { version = "1.0.189", features = ["derive"] }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
tracing = { version = "0.1.40", features = ["max_level_trace", "release_max_level_debug"] }
tracy-client = { version = "0.16.3", default-features = false }
url = { version = "2.4.1", optional = true }
xcursor = "0.3.4"
zbus = { version = "3.14.1", optional = true }

Expand Down Expand Up @@ -63,7 +65,7 @@ proptest-derive = "0.4.0"
[features]
default = ["dbus", "xdp-gnome-screencast"]
# Enables DBus support (required for xdp-gnome and power button inhibiting).
dbus = ["zbus", "logind-zbus", "async-channel", "async-io"]
dbus = ["zbus", "logind-zbus", "async-channel", "async-io", "notify-rust", "url"]
# Enables screencasting support through xdg-desktop-portal-gnome.
xdp-gnome-screencast = ["dbus", "pipewire"]
# Enables the Tracy profiler instrumentation.
Expand Down
Loading

0 comments on commit 1514422

Please sign in to comment.