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