feat: add css config for swayOSD

This commit is contained in:
matt1432 2023-08-01 19:17:41 -04:00
parent 26a86accab
commit ed8af4d397
2 changed files with 52 additions and 0 deletions

51
config/swayosd/style.css Normal file
View file

@ -0,0 +1,51 @@
window {
background: rgba(40, 42, 54, 0.8);
border: 2px solid rgba(189, 147, 249, 0.8);
}
trough {
background: #363847;
}
progress {
background: #79659f;
}
/* DEFAULT STYLE
window {
padding: 12px 20px;
border-radius: 999px;
border: none;
}
#container {
margin: 16px;
}
image, label {
color: @theme_fg_color;
}
progressbar:disabled,
image:disabled {
opacity: 0.5;
}
progressbar {
min-height: 6px;
border-radius: 999px;
background: transparent;
border: none;
}
trough {
min-height: inherit;
border-radius: inherit;
border: none;
background: alpha(@theme_fg_color, 0.5);
}
progress {
min-height: inherit;
border-radius: inherit;
border: none;
background: @theme_fg_color;
}*/

View file

@ -8,6 +8,7 @@ in
xdg.configFile = {
"swaync/config.json".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/swaync/config.json";
"swaync/style.css".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/swaync/style.css";
"swayosd/style.css".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/swayosd/style.css";
};
programs = {