niri/swaync: still hate it

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-07-10 13:20:36 +03:00
parent 9c0e7c4cae
commit d135a13a5a

View File

@ -21,7 +21,7 @@
positionY = "top";
notification-2fa-action = true;
notification-inline-replies = false;
notification-icon-size = 32;
notification-icon-size = 24;
notification-body-image-height = 100;
notification-body-image-width = 200;
notification-window-width = 400;
@ -59,8 +59,12 @@
};
};
};
# TODO: disable stylix, redo everything
style = ''
/*** Global ***/
* {
all: unset;
}
progress,
progressbar,
trough {
@ -73,17 +77,15 @@
}
.notification-action {
border-radius: 12px;
margin: 0.5rem;
border-radius: 6px;
margin: 3px;
}
.close-button {
margin: 24px;
padding: 0.2rem;
border-radius: 16px;
margin: 12px;
border-radius: 3px;
}
/*** Notifications ***/
.notification-group.collapsed
.notification-row:not(:last-child)
.notification-action,
@ -103,21 +105,21 @@
.notification.normal,
.notification.critical,
.control-center {
margin: 16px;
border-radius: 7px;
border-radius: 9px;
margin: 6px;
}
.floating-notifications,
.notification-content {
border-radius: 7px;
margin: 3px;
border-radius: 6px;
border: none;
}
.control-center-list {
background: transparent;
}
/*** Widgets ***/
/* Title widget */
.widget-title {
margin: 0.5rem;
}
@ -127,11 +129,10 @@
}
.widget-title > button {
border-radius: 16px;
border-radius: 6px;
padding: 0.5rem;
}
/* DND Widget */
.widget-dnd {
margin: 0.5rem;
}
@ -141,23 +142,23 @@
}
.widget-dnd > switch {
border-radius: 16px;
border-radius: 6px;
}
.widget-dnd > switch slider {
border-radius: 16px;
padding: 0.25rem;
margin: 3px;
border-radius: 3px;
padding: 6px;
}
/* Mpris widget */
.widget-mpris .widget-mpris-player {
border-radius: 16px;
margin: 0.5rem;
border-radius: 9px;
margin: 3px;
padding: 0.5rem;
}
.widget-mpris .widget-mpris-player .widget-mpris-album-art {
border-radius: 16px;
border-radius: 6px;
}
.widget-mpris .widget-mpris-player .widget-mpris-title {
@ -169,9 +170,8 @@
}
.widget-mpris .widget-mpris-player > box > button {
border: 1px solid transparent;
border-radius: 16px;
padding: 0.25rem;
border-radius: 3px;
padding: 3px;
}
'';
}