Add catppuccin theme for swayosd
Some checks failed
Build NixOS Configurations / build (carbon) (push) Failing after 25s
Build NixOS Configurations / build (framework) (push) Successful in 1m31s
Build NixOS Configurations / build (git) (push) Successful in 1m24s
Build NixOS Configurations / build (gospel) (push) Failing after 34s
Build NixOS Configurations / build (node) (push) Failing after 33s
Some checks failed
Build NixOS Configurations / build (carbon) (push) Failing after 25s
Build NixOS Configurations / build (framework) (push) Successful in 1m31s
Build NixOS Configurations / build (git) (push) Successful in 1m24s
Build NixOS Configurations / build (gospel) (push) Failing after 34s
Build NixOS Configurations / build (node) (push) Failing after 33s
This commit is contained in:
parent
a4d7f143d5
commit
18b2f7165d
1 changed files with 41 additions and 1 deletions
|
|
@ -275,6 +275,46 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.swayosd.enable = true;
|
xdg.configFile."swayosd/style.css".text = ''
|
||||||
|
window#osd {
|
||||||
|
border-radius: 999px;
|
||||||
|
border: none;
|
||||||
|
background: rgba(30, 30, 46, 0.8); }
|
||||||
|
window#osd #container {
|
||||||
|
margin: 16px; }
|
||||||
|
window#osd image,
|
||||||
|
window#osd label {
|
||||||
|
color: #cdd6f4; }
|
||||||
|
window#osd progressbar:disabled,
|
||||||
|
window#osd image:disabled {
|
||||||
|
opacity: 0.5; }
|
||||||
|
window#osd progressbar,
|
||||||
|
window#osd segmentedprogress {
|
||||||
|
min-height: 6px;
|
||||||
|
border-radius: 999px;
|
||||||
|
background: transparent;
|
||||||
|
border: none; }
|
||||||
|
window#osd trough,
|
||||||
|
window#osd segment {
|
||||||
|
min-height: inherit;
|
||||||
|
border-radius: inherit;
|
||||||
|
border: none;
|
||||||
|
background: rgba(49, 50, 68, 0.8); }
|
||||||
|
window#osd progress,
|
||||||
|
window#osd segment.active {
|
||||||
|
min-height: inherit;
|
||||||
|
border-radius: inherit;
|
||||||
|
border: none;
|
||||||
|
background: #9399b2; }
|
||||||
|
window#osd segment {
|
||||||
|
margin-left: 8px; }
|
||||||
|
window#osd segment:first-child {
|
||||||
|
margin-left: 0; }
|
||||||
|
'';
|
||||||
|
|
||||||
|
services.swayosd = {
|
||||||
|
enable = true;
|
||||||
|
stylePath = "${config.xdg.configHome}/${config.xdg.configFile."swayosd/style.css".target}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue