Kovid Goyal
9a04405ad2
Cache the bell sound in the canberra server since it is a frequently played sound
2022-02-19 13:07:44 +05:30
Kovid Goyal
c1cb196365
Set the media role when playing the bell sound to "event"
...
Fixes #4256
2021-11-19 14:14:50 +05:30
Kovid Goyal
bbdfdb978d
Modify canberra wrapper to allow specifying a sound file path
2021-09-24 07:31:02 +05:30
Kovid Goyal
14f8ce6e15
Add a python wrapper to play arbitrary sounds
2021-09-13 08:59:34 +05:30
Kovid Goyal
55dc354e68
Improve at exit cleanup functions
...
Now they are run in a defined order not based on
the order of initialization
2021-04-01 11:48:36 +05:30
Kovid Goyal
37e3e29c8c
Fix a crash on systems using musl as libc
...
Fixes #3395
2021-03-17 14:13:50 +05:30
Luflosi
7441cefdbb
Make paths to libraries configurable at build time
2020-05-19 18:36:46 +02:00
Luflosi
01069e919d
Use loop instead of calling dlopen() multiple times
...
Having an array of library names and iterating over it looks nicer than having several variables and calling `dlopen()` multiple times manually.
It should also make it easier to use custom library names instead by using the preprocessor, which I plan to do in the near future.
2020-04-28 15:53:58 +02:00
lyc
1c38654321
Fixed bug in loading libcanberra when falling back on alternative library names
2019-11-30 14:36:22 +08:00
Kovid Goyal
8184ba246a
Load libcanberra dynamically at runtime, as needed
...
Fixes #2089
2019-10-24 09:03:52 +05:30
Luflosi
37aee7133d
Convert tabs to spaces
2019-07-03 20:28:40 +02:00
Kovid Goyal
2cfd55f3ce
Linux: Use the system "bell" for the terminal bell
...
Adds libcanberra as a new dependency to play the system sound.
2019-07-03 22:06:47 +05:30
Kovid Goyal
f77ad2b41d
Add a couple of extra lib names for libstartup-notification.so
...
Fixes #1235
2018-12-14 23:01:49 +05:30
Kovid Goyal
3e511d217b
Pass the window class and size settings when creating a grouped window
2017-12-01 12:15:36 +05:30
Kovid Goyal
b08f4ab593
Use startup notifications in single instance mode
2017-12-01 12:15:35 +05:30