Skip to content

Commit

Permalink
i3status-rust: init
Browse files Browse the repository at this point in the history
  • Loading branch information
zackattackz committed Sep 8, 2024
1 parent ef81ad9 commit 4fdf452
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions modules/i3status-rust/hm.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{ config, lib, ... }:

let
colors = config.lib.stylix.colors.withHashtag;
in
{
options.stylix.targets.i3status-rust.enable = config.lib.stylix.mkEnableTarget "i3status-rust" true;

config = lib.mkIf (config.stylix.enable && config.stylix.targets.i3status-rust.enable) {
programs.i3status-rust.bars.default.settings.theme.overrides = with colors; {
idle_bg = base00;
idle_fg = base05;
info_bg = base09;
info_fg = base05;
good_bg = base01;
good_fg = base05;
warning_bg = base0A;
warning_fg = base05;
critical_bg = base08;
critical_fg = base04;
separator_bg = base00;
separator_fg = base05;
};
};
}

0 comments on commit 4fdf452

Please sign in to comment.