1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-09 10:13:53 +00:00
ultima/modules/home/wm/misc/wob/default.nix

47 lines
857 B
Nix
Raw Normal View History

{
x,
lib,
config,
...
}:
2024-11-21 09:24:15 +00:00
with lib;
2024-12-09 01:15:55 +00:00
with x;
let
cfg = config.module.wm.misc.wob;
in
{
options = {
module.wm.misc.wob = {
enable = mkBool;
};
};
2024-11-21 09:24:15 +00:00
config = mkIf cfg.enable {
services.wob =
with config.lib.stylix.colors;
True
// {
2024-11-21 09:24:15 +00:00
systemd = true;
settings = {
"" = {
background_color = "${base00}";
bar_color = "${base03}";
border_color = "${base0E}";
anchor = "top right";
overflow_background_color = "${base00}";
overflow_bar_color = "${base03}";
overflow_border_color = "${base0C}";
margin = 30;
height = 50;
width = 400;
border_size = 10;
bar_padding = 6;
output_mode = "focused";
};
};
};
};
}