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

36 lines
821 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;
2024-11-21 09:24:15 +00:00
let cfg = config.module.wm.misc.wob;
in {
2024-12-09 01:15:55 +00:00
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 // {
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";
};
};
};
};
}