Added SwayOSD

This commit is contained in:
2025-07-09 15:49:52 +02:00
parent 79a1d4d3c1
commit 391416e9a5
3 changed files with 69 additions and 0 deletions

47
.config/swayosd/style.css Normal file
View File

@@ -0,0 +1,47 @@
/* SwayOSD midnight-ocean theme */
/* Palette */
@define-color theme_bg_color rgba(11, 27, 43, 0.8); /* bg_main at 80% opacity */
@define-color theme_fg_color #CAD3E8; /* content_main */
/* OSD Window */
window#osd {
border-radius: 999px;
border: none;
background: alpha(@theme_bg_color, 0.8);
}
window#osd #container {
margin: 16px;
}
window#osd image,
window#osd label {
color: @theme_fg_color;
}
/* Disabled state */
window#osd progressbar:disabled,
window#osd image:disabled {
opacity: 0.5;
}
/* Progress bar track */
window#osd progressbar {
min-height: 6px;
border-radius: 999px;
background: transparent;
border: none;
}
window#osd trough {
min-height: inherit;
border-radius: inherit;
border: none;
background: alpha(@theme_fg_color, 0.5);
}
/* Progress fill */
window#osd progress {
min-height: inherit;
border-radius: inherit;
border: none;
background: @theme_fg_color;
}