Commit b463cb8
committed
fix(notification): set app icon with the new libnotify
Since `libnotify` 0.8.8, `notify-send` now differanciate App icons and
notification icons with the former overlapping the later in the bottom
left corner (depending on the underlying notification server
implementation). This looks cool in most cases but looks weird for
Arch-Update (see screenshot below).
Fortunately, `libnotify` 0.8.8 added [a new `-n / --app-icon`
option](https://gitlab.gnome.org/GNOME/libnotify/-/commit/1f3fdd1e4490cb9b9b10b2cdb1a2472212bc67e5)
for `notify-send` that allows to overwrite the App icon (basically what
the `-i / --icon` option used to do before App icons and notification
icons got "separated").
We are therefore switching from the `-i` option to `-n` option with
`notify-send` to preserve the current behavior with latest `libnotify`.
<img width="494" height="145" alt="2026-01-11_23-59"
src="https://github.com/user-attachments/assets/9158f13c-c315-4c93-ba44-2cd85d7db98a"
/>-n / --app-name option (#492)1 parent 03c3dba commit b463cb8
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments