2024-09-09 00:22:14 +00:00
|
|
|
{
|
2024-09-13 01:50:53 +00:00
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.custom.services.swayosd;
|
|
|
|
in {
|
|
|
|
options.custom.services.swayosd.enable = mkOption {default = false;};
|
2024-09-09 00:22:14 +00:00
|
|
|
|
|
|
|
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
|
|
|
|
# https://github.com/ErikReider/SwayOSD
|
|
|
|
services.swayosd.enable = true;
|
|
|
|
|
|
|
|
### THEME ###
|
|
|
|
# https://github.com/ErikReider/SwayOSD/blob/main/data/style/style.scss
|
|
|
|
#!! Options not yet available, files written directly
|
|
|
|
home.file.".config/swayosd/style.css".text = '''';
|
|
|
|
};
|
|
|
|
}
|