swaync: remove width scaling
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
4bfe083b80
commit
85bc980e12
1 changed files with 3 additions and 3 deletions
|
@ -40,15 +40,15 @@ in {
|
||||||
|
|
||||||
# https://github.com/ErikReider/SwayNotificationCenter/blob/main/src/configSchema.json
|
# https://github.com/ErikReider/SwayNotificationCenter/blob/main/src/configSchema.json
|
||||||
settings = {
|
settings = {
|
||||||
control-center-height = builtins.floor (config.custom.height / 2);
|
control-center-height = builtins.floor (config.custom.height * 0.75); # 75%
|
||||||
control-center-positionY = "bottom";
|
control-center-positionY = "bottom";
|
||||||
control-center-width = builtins.floor (750 * config.custom.scale);
|
control-center-width = 750;
|
||||||
fit-to-screen = false;
|
fit-to-screen = false;
|
||||||
hide-on-clear = true;
|
hide-on-clear = true;
|
||||||
notification-2fa-action = false;
|
notification-2fa-action = false;
|
||||||
notification-icon-size = 32;
|
notification-icon-size = 32;
|
||||||
#// notification-inline-replies = true;
|
#// notification-inline-replies = true;
|
||||||
notification-window-width = builtins.floor (500 * config.custom.scale);
|
notification-window-width = 500;
|
||||||
positionX = "center";
|
positionX = "center";
|
||||||
positionY = "top";
|
positionY = "top";
|
||||||
timeout = 5; # normal
|
timeout = 5; # normal
|
||||||
|
|
Loading…
Add table
Reference in a new issue