diff --git a/modules/avizo/hm.nix b/modules/avizo/hm.nix new file mode 100644 index 0000000..d242ba3 --- /dev/null +++ b/modules/avizo/hm.nix @@ -0,0 +1,22 @@ +{pkgs, config, lib, ... }: + +with config.lib.stylix.colors.withHashtag; +with config.stylix.fonts; +{ + options.stylix.targets.avizo.enable = + config.lib.stylix.mkEnableTarget "Avizo" true; + + # Referenced https://github.com/stacyharper/base16-mako + config = lib.mkIf config.stylix.targets.avizo.enable { + services.avizo = { + settings = { + default = { + background=base00; + border-color=base0D; + bar-fg-color=base05; + bar-bg-color=base00; + }; + }; + }; + }; +} diff --git a/modules/waybar/hm.nix b/modules/waybar/hm.nix new file mode 100644 index 0000000..23bf930 --- /dev/null +++ b/modules/waybar/hm.nix @@ -0,0 +1,67 @@ +{ config, lib, ... }: +with config.lib.stylix.colors.withHashtag; +with config.stylix.fonts; + +{ + options.stylix.targets.waybar.enable = config.lib.stylix.mkEnableTarget "Waybar" true; + + config = lib.mkIf config.stylix.targets.waybar.enable { + programs.waybar.style = '' + * { + border: none; + border-radius: 0; + font-family: ${sansSerif.name}; + font-size: ${builtins.toString sizes.desktop}; + } + window#waybar { + background: ${base00}; + color: ${base05}; + } + #workspaces button { + padding: 0 5px; + background-color: ${base01}; + color: ${base04}; + } + #workspaces button.focused, #workspaces button.active { + background: ${base02}; + } + #workspaces button.urgent { + background-color: ${base08}; + } + #wireplumber, #pulseaudio, #sndio { + background-color: ${base09}; + color: ${base04}; + padding: 0 5px; + } + #wireplumber.muted, #pulseaudio.muted, #sndio.muted { + background-color: ${base0C}; + } + #upower, #battery { + background-color: ${base0D}; + color: ${base04}; + padding: 0 5px; + } + #upower.charging, #battery.Charging { + background-color: ${base0E}; + } + #network { + background-color: ${base0B}; + color: ${base04}; + padding: 0 5px; + } + #network.disconnected { + background-color: ${base0C}; + } + #user { + background-color: ${base0F}; + color: ${base04}; + padding: 0 5px; + } + #clock { + background-color: ${base03}; + color: ${base04}; + padding: 0 5px; + } + ''; + }; +}