swaync: fix dimensions to be compatible with pinephone

This commit is contained in:
Colin 2024-03-13 08:29:23 +00:00
parent fa0dcdc5be
commit 66e04857b6

View File

@ -193,12 +193,14 @@ in
timeout-critical = 0;
fit-to-screen = true; #< have notification center take full vertical screen space
# control-center-width:
# - for SXMO_SWAY_SCALE=1.8 => 400
# - for SXMO_SWAY_SCALE=1.6 => 450
# pinephone native display is 720 x 1440
# - for compositor scale=2.0 => 360
# - for compositor scale=1.8 => 400
# - 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 = 450;
control-center-width = 360;
control-center-height = 600;
notification-window-width = 400;
notification-window-width = 360;
keyboard-shortcuts = true;
image-visibility = "when-available";
transition-time = 100;