-
Notifications
You must be signed in to change notification settings - Fork 787
gtk: implement custom audio bell #5326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Just want to note I'm going to not review this pending further discussion (I know there's a discussion open). One thing I noticed right away though if you care is this uses the old |
b4c992a
to
76a0193
Compare
7d8f74e
to
aaacbb6
Compare
32b8873
to
2b229af
Compare
b24024f
to
c1150de
Compare
Gave the PR and test and the bell works perfectly on NixOS 25.05 unstable (built from source) Edit: Also I forgot to mention I was using KDE Plasma 6.3 on my system (with the Ocean sound theme) when I was testing the PR |
800eae5
to
995ac4a
Compare
Converted to draft until #6622 is merged. |
c1698d6
to
081ee20
Compare
This PR implements a more lightweight alternative to #5326 that contains features that I personally think Just Make Sense for the bell. No configs, no GStreamer stuff, just sane defaults to get us started.
49b9baa
to
d32f8ec
Compare
Co-authored-by: Tristan Partin <[email protected]>
std.debug.assert(std.fs.path.isAbsolute(pathname)); | ||
const media_file = gtk.MediaFile.newForFilename(pathname); | ||
|
||
if (!optional) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: honestly if (required) {
would make more sense and then you could just flip the boolean values above
Co-authored-by: Leah Amelia Chen <[email protected]>
Fixes #2710
Adds support for custom audio bell notifications.