mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
chore: some more playing around with deadd, but still not to my liking
This commit is contained in:
parent
954d659264
commit
59bee10697
2 changed files with 130 additions and 70 deletions
|
@ -60,13 +60,13 @@ in {
|
|||
config.xdg.configFile."deadd/deadd.yml".source
|
||||
config.xdg.configFile."deadd/deadd.css".source
|
||||
];
|
||||
Restart = "always";
|
||||
RestartSec = "1sec";
|
||||
};
|
||||
Service = {
|
||||
Type = "dbus";
|
||||
BusName = "org.freedesktop.Notifications";
|
||||
ExecStart = "${cfg.package}/bin/deadd-notification-center";
|
||||
Restart = "always";
|
||||
RestartSec = "1sec";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,60 +1,136 @@
|
|||
/* Notification center */
|
||||
|
||||
.blurredBG, #main_window, .blurredBG.low, .blurredBG.normal {
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
.deadd-noti-center {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.noti-center.time {
|
||||
font-size: 32px;
|
||||
.blurredBG, #main_window, .blurredBG.low, .blurredBG.normal {
|
||||
background: #000000;
|
||||
}
|
||||
|
||||
/* Notifications */
|
||||
|
||||
.notification.content {
|
||||
margin-left: 15px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.appname {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.time {
|
||||
font-size: 12px;
|
||||
.notificationInCenter, .notification.container {
|
||||
background: #333;
|
||||
border-radius: .825em;
|
||||
padding: .75em;
|
||||
margin-left: .25em;
|
||||
margin-right: .25em;
|
||||
margin-top: .25em;
|
||||
margin-bottom: -.75em;
|
||||
}
|
||||
|
||||
.blurredBG.notification {
|
||||
background: rgba(255, 255, 255, 0.4);
|
||||
background: #333;
|
||||
}
|
||||
|
||||
.blurredBG.notification.critical {
|
||||
background: rgba(255, 0, 0, 0.5);
|
||||
.notificationInCenter > *, .notification > * {
|
||||
margin: 0em;
|
||||
}
|
||||
|
||||
.notificationInCenter.critical {
|
||||
background: rgba(155, 0, 20, 0.5);
|
||||
.notification.appname, .in-center.appname {
|
||||
color: #aaa;
|
||||
font-weight: normal;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
.notification.body, .in-center.body {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: .25em;
|
||||
margin-top: .25em;
|
||||
margin-left: 0em;
|
||||
}
|
||||
.notification.title, .in-center.title {
|
||||
font-weight: bold;
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
.notification.image, .in-center.image {
|
||||
}
|
||||
.notification.icon, .in-center.icon {
|
||||
}
|
||||
.notification.actionbutton, .in-center.actionbutton {
|
||||
}
|
||||
|
||||
/* Labels */
|
||||
|
||||
label {
|
||||
color: #322;
|
||||
.notification.scale, .in-center.scale {
|
||||
margin-top: .25em;
|
||||
margin-bottom: .25em;
|
||||
margin-left: -.75em;
|
||||
margin-right: -.75em;
|
||||
}
|
||||
|
||||
label.notification {
|
||||
color: #322;
|
||||
.notification.scale slider, .in-center.scale slider {
|
||||
margin: -.375em;
|
||||
min-width: 1.375em;
|
||||
min-height: 1.375em;
|
||||
}
|
||||
|
||||
label.critical {
|
||||
color: #000;
|
||||
.notification.scale trough, .in-center.scale trough {
|
||||
background-color: #111;
|
||||
color: #111;
|
||||
border-color: transparent;
|
||||
border-radius: 1em;
|
||||
}
|
||||
.notificationInCenter label.critical {
|
||||
color: #000;
|
||||
|
||||
.notification.scale trough highlight, .in-center.scale trough highlight {
|
||||
background-color: #f00;
|
||||
color: #f00;
|
||||
border-color: transparent;
|
||||
border-radius: 1em;
|
||||
}
|
||||
|
||||
.notification.appname {
|
||||
}
|
||||
.notification.body {
|
||||
}
|
||||
.notification.title {
|
||||
}
|
||||
.notification.image {
|
||||
margin-left: -1em;
|
||||
margin-right: 1em;
|
||||
}
|
||||
.notification.icon {
|
||||
}
|
||||
.notification.actionbutton {
|
||||
}
|
||||
|
||||
.in-center {
|
||||
}
|
||||
.in-center.appname {
|
||||
}
|
||||
.in-center.body {
|
||||
}
|
||||
.in-center.title {
|
||||
}
|
||||
.in-center.time {
|
||||
color: #777;
|
||||
font-weight: bold;
|
||||
font-size: 1.125rem;
|
||||
font-family: normal;
|
||||
}
|
||||
.in-center.image {
|
||||
}
|
||||
.in-center.icon {
|
||||
}
|
||||
.in-center.button-close {
|
||||
}
|
||||
.in-center.actionbutton {
|
||||
}
|
||||
|
||||
.noti-center.body {
|
||||
}
|
||||
.noti-center.time {
|
||||
font-size: 4rem;
|
||||
font-weight: normal;
|
||||
margin-left: .25em;
|
||||
}
|
||||
.noti-center.date {
|
||||
font-size: 2rem;
|
||||
margin-left: .75em;
|
||||
}
|
||||
/* BUG: missing .noti-center class upstream */
|
||||
.deadd-noti-center.delete-all {
|
||||
font-size: 2rem;
|
||||
}
|
||||
.noti-center.userbutton {
|
||||
}
|
||||
|
||||
|
||||
|
@ -62,7 +138,6 @@ label.critical {
|
|||
|
||||
button {
|
||||
background: transparent;
|
||||
color: #322;
|
||||
border-radius: 3px;
|
||||
border-width: 0px;
|
||||
background-position: 0px 0px;
|
||||
|
@ -75,7 +150,6 @@ button:hover {
|
|||
border-width: 0px;
|
||||
border-top: transparent;
|
||||
border-color: #f00;
|
||||
color: #fee;
|
||||
}
|
||||
|
||||
|
||||
|
@ -86,7 +160,6 @@ button:hover {
|
|||
}
|
||||
|
||||
.userbuttonlabel {
|
||||
color: #222;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
|
@ -95,7 +168,6 @@ button:hover {
|
|||
}
|
||||
|
||||
.userbuttonlabel:hover {
|
||||
color: #111;
|
||||
}
|
||||
|
||||
button.buttonState1 {
|
||||
|
@ -103,7 +175,6 @@ button.buttonState1 {
|
|||
}
|
||||
|
||||
.userbuttonlabel.buttonState1 {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
button.buttonState1:hover {
|
||||
|
@ -111,7 +182,6 @@ button.buttonState1:hover {
|
|||
}
|
||||
|
||||
.userbuttonlabel.buttonState1:hover {
|
||||
color: #111;
|
||||
}
|
||||
|
||||
button.buttonState2 {
|
||||
|
@ -119,7 +189,6 @@ button.buttonState2 {
|
|||
}
|
||||
|
||||
.userbuttonlabel.buttonState2 {
|
||||
color: #111;
|
||||
}
|
||||
|
||||
button.buttonState2:hover {
|
||||
|
@ -127,13 +196,4 @@ button.buttonState2:hover {
|
|||
}
|
||||
|
||||
.userbuttonlabel.buttonState2:hover {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
|
||||
/* Images */
|
||||
|
||||
image.deadd-noti-center.notification.image {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue