Set default notification image visibility to "when-available". Fixes #70

This commit is contained in:
Erik Reider 2022-05-29 16:54:25 +02:00
parent f9b75f4f32
commit 7a69695fb2
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@
"control-center-height": 600,
"notification-window-width": 500,
"keyboard-shortcuts": true,
"image-visibility": "always",
"image-visibility": "when-available",
"transition-time": 200,
"hide-on-clear": false,
"hide-on-action": true,

View File

@ -337,7 +337,7 @@ namespace SwayNotificationCenter {
public ImageVisibility image_visibility {
get;
set;
default = ImageVisibility.ALWAYS;
default = ImageVisibility.WHEN_AVAILABLE;
}
/**

View File

@ -84,7 +84,7 @@
"image-visibility": {
"type": "string",
"description": "An explanation about the purpose of this instance.",
"default": "always",
"default": "when-available",
"enum": ["always", "when-available", "never"]
},
"transition-time": {