lint: swaync: sort config properties

This commit is contained in:
Colin 2024-06-18 21:34:04 +00:00
parent 09a615ee62
commit a7df4cc125

View File

@ -119,25 +119,12 @@ in
fs.".config/swaync/style.css".symlink.target = ./style.css;
fs.".config/swaync/config.json".symlink.target = pkgs.writers.writeJSON "config.json" {
"$schema" = "/etc/xdg/swaync/configSchema.json";
positionX = "right";
positionY = "top";
layer = "overlay";
control-center-height = 600;
control-center-layer = "top";
layer-shell = true;
cssPriority = "user"; # "application"|"user". "user" in order to override the system gtk theme.
control-center-margin-top = 0;
control-center-margin-bottom = 0;
control-center-margin-right = 0;
control-center-margin-left = 0;
notification-2fa-action = true;
notification-inline-replies = false;
notification-icon-size = 64;
notification-body-image-height = 100;
notification-body-image-width = 200;
timeout = 30;
timeout-low = 5;
timeout-critical = 0;
fit-to-screen = true; #< have notification center take full vertical screen space
control-center-margin-right = 0;
control-center-margin-top = 0;
# control-center-width:
# pinephone native display is 720 x 1440
# - for compositor scale=2.0 => 360
@ -145,14 +132,28 @@ in
# - for compositor scale=1.6 => 450
# if it's set to something wider than the screen, then it overflows and items aren't visible.
control-center-width = 360;
control-center-height = 600;
notification-window-width = 360;
keyboard-shortcuts = true;
image-visibility = "when-available";
transition-time = 100;
hide-on-clear = true; #< hide control center when clicking "clear all"
cssPriority = "user"; # "application"|"user". "user" in order to override the system gtk theme.
fit-to-screen = true; #< have notification center take full vertical screen space
hide-on-action = true;
hide-on-clear = true; #< hide control center when clicking "clear all"
image-visibility = "when-available";
keyboard-shortcuts = true;
layer = "overlay";
layer-shell = true;
notification-2fa-action = true;
notification-body-image-height = 100;
notification-body-image-width = 200;
notification-icon-size = 64;
notification-inline-replies = false;
notification-window-width = 360;
positionX = "right";
positionY = "top";
script-fail-notify = true;
timeout = 30;
timeout-critical = 0;
timeout-low = 5;
transition-time = 100;
inherit scripts;
widgets = [
# what to show in the notification center (and in which order).