35 changed files with 430 additions and 344 deletions
@ -1,6 +0,0 @@ |
|||||||
#!/bin/sh |
|
||||||
|
|
||||||
pkill swaync |
|
||||||
|
|
||||||
sleep 0.3 |
|
||||||
swaync > /dev/null 2>&1 & |
|
||||||
@ -1,296 +1,332 @@ |
|||||||
@import '../../.cache/wal/colors-waybar.css'; |
@import '../../.cache/wal/colors-waybar.css'; |
||||||
|
|
||||||
@define-color foreground rgb(248, 248, 242); |
@define-color cc-bg rgba(26, 27, 38, 1); |
||||||
@define-color background @color1; |
@define-color noti-border-color @color2; |
||||||
/* @define-color background rgb(40, 42, 54); */ |
@define-color noti-bg @background; |
||||||
@define-color background-alpha rgba(40, 42, 54, 0.8); |
@define-color noti-bg-darker rgb(43, 43, 57); |
||||||
@define-color accent @color2; |
@define-color noti-bg-hover @color2; |
||||||
/* @define-color accent rgba(189, 147, 249, 0.8); */ |
@define-color noti-bg-focus rgba(27, 27, 27, 0.6); |
||||||
@define-color current-line rgb(68, 71, 90); |
@define-color noti-close-bg rgba(255, 255, 255, 0.1); |
||||||
@define-color comment rgb(98, 114, 164); |
@define-color noti-close-bg-hover rgba(255, 255, 255, 0.15); |
||||||
|
@define-color text-color @foreground; |
||||||
|
@define-color text-color-disabled rgb(150, 150, 150); |
||||||
|
@define-color bg-selected rgb(0, 128, 255); |
||||||
|
|
||||||
* { |
* { |
||||||
all: unset; |
font-family: JetBrainsMono NFP; |
||||||
font-size: 18px; |
font-weight: bold; |
||||||
/* font-family: "JetBrainsMono Nerd Font"; */ |
|
||||||
transition: 200ms; |
|
||||||
} |
} |
||||||
|
|
||||||
.floating-notifications.background .notification-row .notification-background { |
.control-center .notification-row:focus, |
||||||
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.8), inset 0 0 0 1px #313244; |
.control-center .notification-row:hover { |
||||||
border-radius: 12.6px; |
opacity: 1; |
||||||
margin: 18px; |
background: @noti-bg |
||||||
/* background-color: #1e1e2e; */ |
|
||||||
background-color: rgba(30, 30, 46, 0.9); |
|
||||||
color: #cdd6f4; |
|
||||||
padding: 3; |
|
||||||
border: 1px solid @accent; |
|
||||||
} |
} |
||||||
|
|
||||||
.floating-notifications.background .notification-row .notification-background .notification { |
.notification-row { |
||||||
padding: 7px; |
outline: none; |
||||||
border-radius: 12.6px; |
margin: 10px; |
||||||
|
padding: 0; |
||||||
} |
} |
||||||
|
|
||||||
.floating-notifications.background .notification-row .notification-background .notification.critical { |
.notification { |
||||||
box-shadow: inset 0 0 7px 0 #f38ba8; |
background: transparent; |
||||||
|
padding: 0px; |
||||||
|
margin: 0px; |
||||||
} |
} |
||||||
|
|
||||||
.floating-notifications.background .notification-row .notification-background .notification .notification-content { |
.notification-content { |
||||||
margin: 7px; |
background: @cc-bg; |
||||||
|
padding: 2px; |
||||||
|
border-radius: 5px; |
||||||
|
border: 2px solid @noti-border-color; |
||||||
|
margin: 0; |
||||||
} |
} |
||||||
|
|
||||||
.floating-notifications.background .notification-row .notification-background .notification .notification-content .summary { |
.notification-default-action { |
||||||
color: #cdd6f4; |
margin: 0; |
||||||
|
padding: 0; |
||||||
|
border-radius: 5px; |
||||||
} |
} |
||||||
|
|
||||||
.floating-notifications.background .notification-row .notification-background .notification .notification-content .time { |
.close-button { |
||||||
color: #a6adc8; |
background: #f7768e; |
||||||
|
color: @cc-bg; |
||||||
|
text-shadow: none; |
||||||
|
padding: 0; |
||||||
|
border-radius: 5px; |
||||||
|
margin-top: 5px; |
||||||
|
margin-right: 5px; |
||||||
} |
} |
||||||
|
|
||||||
.floating-notifications.background .notification-row .notification-background .notification .notification-content .body { |
.close-button:hover { |
||||||
color: #cdd6f4; |
box-shadow: none; |
||||||
|
background: #f7768e; |
||||||
|
transition: all .15s ease-in-out; |
||||||
|
border: none |
||||||
} |
} |
||||||
|
|
||||||
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * { |
|
||||||
min-height: 3.4em; |
.notification-action { |
||||||
|
border: 2px solid @noti-border-color; |
||||||
|
border-top: none; |
||||||
|
border-radius: 8px; |
||||||
} |
} |
||||||
|
|
||||||
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * .notification-action { |
|
||||||
border-radius: 7px; |
.notification-default-action:hover, |
||||||
color: #cdd6f4; |
.notification-action:hover { |
||||||
background-color: #313244; |
color: @foreground; |
||||||
box-shadow: inset 0 0 0 1px #45475a; |
background: #7aa2f7 |
||||||
margin: 7px; |
|
||||||
} |
} |
||||||
|
|
||||||
.notification-action { |
.notification-default-action { |
||||||
border-radius: 5px; |
border-radius: 5px; |
||||||
background: linear-gradient( |
margin: 0px; |
||||||
45deg, |
|
||||||
rgba(164, 89, 235, 0.8), |
|
||||||
@accent |
|
||||||
); |
|
||||||
border: 1px; |
|
||||||
margin: 5px; |
|
||||||
} |
} |
||||||
|
|
||||||
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * .notification-action:hover { |
.notification-default-action:not(:only-child) { |
||||||
box-shadow: inset 0 0 0 1px #45475a; |
border-bottom-left-radius: 7px; |
||||||
background-color: #313244; |
border-bottom-right-radius: 7px |
||||||
color: #cdd6f4; |
|
||||||
} |
} |
||||||
|
|
||||||
.floating-notifications.background .notification-row .notification-background .notification > *:last-child > * .notification-action:active { |
.notification-action:first-child { |
||||||
box-shadow: inset 0 0 0 1px #45475a; |
border-bottom-left-radius: 10px; |
||||||
background-color: #74c7ec; |
background: #1b1b2b |
||||||
color: #cdd6f4; |
|
||||||
} |
} |
||||||
|
|
||||||
.floating-notifications.background .notification-row .notification-background .close-button { |
.notification-action:last-child { |
||||||
margin: 7px; |
border-bottom-right-radius: 10px; |
||||||
padding: 2px; |
background: #1b1b2b |
||||||
border-radius: 6.3px; |
|
||||||
color: #1e1e2e; |
|
||||||
background-color: #f38ba8; |
|
||||||
} |
} |
||||||
|
|
||||||
.floating-notifications.background .notification-row .notification-background .close-button:hover { |
.inline-reply { |
||||||
background-color: #eba0ac; |
margin-top: 8px |
||||||
color: #1e1e2e; |
|
||||||
} |
} |
||||||
|
|
||||||
.floating-notifications.background .notification-row .notification-background .close-button:active { |
.inline-reply-entry { |
||||||
background-color: #f38ba8; |
background: @noti-bg; |
||||||
color: #1e1e2e; |
color: @text-color; |
||||||
|
caret-color: @text-color; |
||||||
|
border: 1px solid @noti-border-color; |
||||||
|
border-radius: 8px |
||||||
} |
} |
||||||
|
|
||||||
.control-center { |
.inline-reply-button { |
||||||
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.8), inset 0 0 0 1px #313244; |
font-size: 0.5rem; |
||||||
border-radius: 12.6px; |
margin-left: 4px; |
||||||
margin: 18px; |
background: @noti-bg; |
||||||
/* background-color: #1e1e2e; */ |
border: 1px solid @noti-border-color; |
||||||
background-color: rgba(49, 50, 68, 0.9); |
border-radius: 5px; |
||||||
color: #cdd6f4; |
color: @text-color |
||||||
padding: 14px; |
} |
||||||
border: 1px solid @accent; |
|
||||||
|
.inline-reply-button:disabled { |
||||||
|
background: initial; |
||||||
|
color: @text-color-disabled; |
||||||
|
border: 1px solid transparent |
||||||
|
} |
||||||
|
|
||||||
|
.inline-reply-button:hover { |
||||||
|
background: @noti-bg-hover |
||||||
} |
} |
||||||
|
|
||||||
.control-center .widget-title { |
.body-image { |
||||||
color: #cdd6f4; |
margin-top: 6px; |
||||||
font-size: 1.3em; |
background-color: #fff; |
||||||
|
border-radius: 5px |
||||||
} |
} |
||||||
|
|
||||||
.control-center .widget-title button { |
.summary { |
||||||
border-radius: 7px; |
font-size: 1rem; |
||||||
color: #cdd6f4; |
font-weight: 700; |
||||||
background-color: #313244; |
background: transparent; |
||||||
box-shadow: inset 0 0 0 1px #45475a; |
color: rgba(158, 206, 106, 1); |
||||||
padding: 8px; |
text-shadow: none |
||||||
} |
} |
||||||
|
|
||||||
.control-center .widget-title button:hover { |
.time { |
||||||
box-shadow: inset 0 0 0 1px #45475a; |
font-size: 1rem; |
||||||
background-color: #585b70; |
font-weight: 700; |
||||||
color: #cdd6f4; |
background: transparent; |
||||||
|
color: @text-color; |
||||||
|
text-shadow: none; |
||||||
|
margin-right: 18px |
||||||
} |
} |
||||||
|
|
||||||
.control-center .widget-title button:active { |
.body { |
||||||
box-shadow: inset 0 0 0 1px #45475a; |
font-size: 1rem; |
||||||
background-color: #74c7ec; |
font-weight: 400; |
||||||
color: #1e1e2e; |
background: transparent; |
||||||
|
color: @text-color; |
||||||
|
text-shadow: none |
||||||
} |
} |
||||||
|
|
||||||
.control-center .notification-row .notification-background { |
.control-center { |
||||||
border-radius: 7px; |
background: @cc-bg; |
||||||
color: #cdd6f4; |
border: 2px solid @noti-border-color; |
||||||
background-color: #313244; |
border-radius: 10px; |
||||||
box-shadow: inset 0 0 0 1px #45475a; |
|
||||||
margin-top: 14px; |
|
||||||
} |
} |
||||||
|
|
||||||
.control-center .notification-row .notification-background .notification { |
.control-center-list { |
||||||
padding: 7px; |
background: transparent |
||||||
border-radius: 7px; |
|
||||||
} |
} |
||||||
|
|
||||||
.control-center .notification-row .notification-background .notification.critical { |
.control-center-list-placeholder { |
||||||
box-shadow: inset 0 0 7px 0 #f38ba8; |
opacity: .5 |
||||||
} |
} |
||||||
|
|
||||||
.control-center .notification-row .notification-background .notification .notification-content { |
.floating-notifications { |
||||||
margin: 7px; |
background: transparent; |
||||||
} |
} |
||||||
|
|
||||||
.control-center .notification-row .notification-background .notification .notification-content .summary { |
.blank-window { |
||||||
color: #cdd6f4; |
background: alpha(black, 0.1) |
||||||
} |
} |
||||||
|
|
||||||
.control-center .notification-row .notification-background .notification .notification-content .time { |
.widget-title { |
||||||
color: #a6adc8; |
color: #7aa2f7; |
||||||
|
background: @noti-bg-darker; |
||||||
|
padding: 0px 5px 0px 10px; |
||||||
|
margin: 10px 10px 5px 10px; |
||||||
|
font-size: 1rem; |
||||||
|
border-radius: 5px; |
||||||
} |
} |
||||||
|
|
||||||
.control-center .notification-row .notification-background .notification .notification-content .body { |
.widget-title>button { |
||||||
color: #cdd6f4; |
font-size: 0.75rem; |
||||||
|
color: @text-color; |
||||||
|
border-radius: 10px; |
||||||
|
background: transparent; |
||||||
|
border: 0.5px solid @noti-border-color; |
||||||
} |
} |
||||||
|
|
||||||
.control-center .notification-row .notification-background .notification > *:last-child > * { |
.widget-title>button:hover { |
||||||
min-height: 3.4em; |
background: #f7768e; |
||||||
|
color: @noti-border-color; |
||||||
} |
} |
||||||
|
|
||||||
.control-center .notification-row .notification-background .notification > *:last-child > * .notification-action { |
.widget-dnd { |
||||||
border-radius: 7px; |
background: @noti-bg-darker; |
||||||
color: #cdd6f4; |
padding: 3px 6px; |
||||||
background-color: #11111b; |
margin: 5px 10px 10px 10px; |
||||||
box-shadow: inset 0 0 0 1px #45475a; |
border-radius: 5px; |
||||||
margin: 7px; |
font-size: 1rem; |
||||||
|
color: #7aa2f7; |
||||||
} |
} |
||||||
|
|
||||||
.control-center .notification-row .notification-background .notification > *:last-child > * .notification-action:hover { |
.widget-dnd>switch { |
||||||
box-shadow: inset 0 0 0 1px #45475a; |
border-radius: 5px; |
||||||
background-color: #313244; |
/* border: 1px solid #7aa2f7; */ |
||||||
color: #cdd6f4; |
background: #7aa2f7; |
||||||
} |
} |
||||||
|
|
||||||
.control-center .notification-row .notification-background .notification > *:last-child > * .notification-action:active { |
.widget-dnd>switch:checked { |
||||||
box-shadow: inset 0 0 0 1px #45475a; |
background: #f7768e; |
||||||
background-color: #74c7ec; |
border: 1px solid #f7768e; |
||||||
color: #cdd6f4; |
|
||||||
} |
} |
||||||
|
|
||||||
.control-center .notification-row .notification-background .close-button { |
.widget-dnd>switch slider { |
||||||
margin: 7px; |
background: @cc-bg; |
||||||
padding: 2px; |
border-radius: 5px |
||||||
border-radius: 6.3px; |
|
||||||
color: #1e1e2e; |
|
||||||
background-color: #eba0ac; |
|
||||||
} |
} |
||||||
|
|
||||||
.control-center .notification-row .notification-background .close-button:hover { |
.widget-dnd>switch:checked slider { |
||||||
background-color: #f38ba8; |
background: @cc-bg; |
||||||
color: #1e1e2e; |
border-radius: 5px |
||||||
} |
} |
||||||
|
|
||||||
.control-center .notification-row .notification-background .close-button:active { |
.widget-label { |
||||||
background-color: #f38ba8; |
margin: 10px 10px 5px 10px; |
||||||
color: #1e1e2e; |
|
||||||
} |
} |
||||||
|
|
||||||
.control-center .notification-row .notification-background:hover { |
.widget-label>label { |
||||||
box-shadow: inset 0 0 0 1px #45475a; |
font-size: 1rem; |
||||||
background-color: #7f849c; |
color: @text-color; |
||||||
color: #cdd6f4; |
|
||||||
} |
} |
||||||
|
|
||||||
.control-center .notification-row .notification-background:active { |
.widget-mpris { |
||||||
box-shadow: inset 0 0 0 1px #45475a; |
color: @text-color; |
||||||
background-color: #74c7ec; |
background: @noti-bg-darker; |
||||||
color: #cdd6f4; |
padding: 5px 10px; |
||||||
|
margin: 5px 10px 5px 10px; |
||||||
|
border-radius: 5px; |
||||||
} |
} |
||||||
|
|
||||||
progressbar, |
.widget-mpris > box > button { |
||||||
progress, |
border-radius: 5px; |
||||||
trough { |
|
||||||
border-radius: 12.6px; |
|
||||||
} |
} |
||||||
|
|
||||||
progressbar { |
.widget-mpris-player { |
||||||
box-shadow: inset 0 0 0 1px #45475a; |
padding: 5px 10px; |
||||||
|
margin: 10px |
||||||
} |
} |
||||||
|
|
||||||
.notification.critical progress { |
.widget-mpris-title { |
||||||
background-color: #f38ba8; |
font-weight: 700; |
||||||
|
font-size: 1.25rem |
||||||
} |
} |
||||||
|
|
||||||
.notification.low progress, |
.widget-mpris-subtitle { |
||||||
.notification.normal progress { |
font-size: 1.1rem |
||||||
background-color: #89b4fa; |
|
||||||
} |
} |
||||||
|
|
||||||
trough { |
.widget-buttons-grid { |
||||||
background-color: #313244; |
font-size: x-large; |
||||||
|
padding: 4px; |
||||||
|
margin: 5px 10px 10px 10px; |
||||||
|
border-radius: 5px; |
||||||
|
background: @noti-bg-darker; |
||||||
} |
} |
||||||
|
|
||||||
.control-center trough { |
.widget-buttons-grid>flowbox>flowboxchild>button { |
||||||
background-color: #45475a; |
margin: 3px; |
||||||
|
background: @cc-bg; |
||||||
|
border-radius: 5px; |
||||||
|
color: @text-color |
||||||
} |
} |
||||||
|
|
||||||
.control-center-dnd { |
.widget-buttons-grid>flowbox>flowboxchild>button:hover { |
||||||
margin-top: 5px; |
background: rgba(122, 162, 247, 0.1); |
||||||
border-radius: 8px; |
color: @noti-border-color; |
||||||
background: #313244; |
|
||||||
border: 1px solid #45475a; |
|
||||||
box-shadow: none; |
|
||||||
} |
} |
||||||
|
|
||||||
.control-center-dnd:checked { |
.widget-menubar>box>.menu-button-bar>button { |
||||||
background: #313244; |
border: none; |
||||||
|
background: transparent |
||||||
} |
} |
||||||
|
|
||||||
.control-center-dnd slider { |
.topbar-buttons>button { |
||||||
background: #45475a; |
border: none; |
||||||
border-radius: 8px; |
background: transparent |
||||||
} |
} |
||||||
|
|
||||||
.widget-dnd { |
.widget-volume { |
||||||
margin: 0px; |
background: @noti-bg-darker; |
||||||
font-size: 1.1rem; |
padding: 5px; |
||||||
|
margin: 10px 10px 5px 10px; |
||||||
|
border-radius: 5px; |
||||||
|
font-size: x-large; |
||||||
|
color: @text-color; |
||||||
} |
} |
||||||
|
|
||||||
.widget-dnd > switch { |
.widget-volume>box>button { |
||||||
font-size: initial; |
background: #7aa2f7; |
||||||
border-radius: 8px; |
border: none |
||||||
background: #313244; |
|
||||||
border: 1px solid #45475a; |
|
||||||
box-shadow: none; |
|
||||||
} |
} |
||||||
|
|
||||||
.widget-dnd > switch:checked { |
.per-app-volume { |
||||||
background: #313244; |
background-color: @noti-bg; |
||||||
|
padding: 4px 8px 8px; |
||||||
|
margin: 0 8px 8px; |
||||||
|
border-radius: 5px; |
||||||
} |
} |
||||||
|
|
||||||
.widget-dnd > switch slider { |
.widget-backlight { |
||||||
background: #45475a; |
background: @noti-bg-darker; |
||||||
border-radius: 8px; |
padding: 5px; |
||||||
border: 1px solid #6c7086; |
margin: 10px 10px 5px 10px; |
||||||
|
border-radius: 5px; |
||||||
|
font-size: x-large; |
||||||
|
color: @text-color |
||||||
} |
} |
||||||
|
|||||||
Loading…
Reference in new issue