Play some sounds on notification
This commit is contained in:
parent
684cd18318
commit
03a6628df5
1 changed files with 13 additions and 3 deletions
|
|
@ -2,14 +2,14 @@
|
||||||
"$schema": "/etc/xdg/swaync/configSchema.json",
|
"$schema": "/etc/xdg/swaync/configSchema.json",
|
||||||
"positionX": "right",
|
"positionX": "right",
|
||||||
"positionY": "top",
|
"positionY": "top",
|
||||||
"control-center-margin-top": 20,
|
"control-center-margin-top": 12,
|
||||||
"control-center-margin-bottom": 0,
|
"control-center-margin-bottom": 0,
|
||||||
"control-center-margin-right": 20,
|
"control-center-margin-right": 12,
|
||||||
"control-center-margin-left": 0,
|
"control-center-margin-left": 0,
|
||||||
"control-center-width": 500,
|
"control-center-width": 500,
|
||||||
"control-center-height": 600,
|
"control-center-height": 600,
|
||||||
"fit-to-screen": false,
|
"fit-to-screen": false,
|
||||||
"layer": "top",
|
"layer": "overlay",
|
||||||
"cssPriority": "user",
|
"cssPriority": "user",
|
||||||
"notification-icon-size": 64,
|
"notification-icon-size": 64,
|
||||||
"notification-body-image-height": 100,
|
"notification-body-image-height": 100,
|
||||||
|
|
@ -47,5 +47,15 @@
|
||||||
"image-size": 96,
|
"image-size": 96,
|
||||||
"image-radius": 12
|
"image-radius": 12
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"sound-normal": {
|
||||||
|
"exec": "play -v 0.6 /usr/share/sounds/freedesktop/stereo/bell.oga",
|
||||||
|
"urgency": "Normal"
|
||||||
|
},
|
||||||
|
"sound-low": {
|
||||||
|
"exec": "play -v 0.3 /usr/share/sounds/freedesktop/stereo/message.oga",
|
||||||
|
"urgency": "Low"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue