mirror of
https://github.com/danth/stylix
synced 2024-11-22 04:03:09 +00:00
Add support for Fuzzel ✨
This commit is contained in:
parent
2524c8ae02
commit
952ba1c756
1 changed files with 24 additions and 0 deletions
24
modules/fuzzel/hm.nix
Normal file
24
modules/fuzzel/hm.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{ pkgs, config, lib, ... }:
|
||||||
|
|
||||||
|
with config.lib.stylix.colors;
|
||||||
|
|
||||||
|
let
|
||||||
|
opacity = lib.toHexString (builtins.ceil (config.stylix.opacity.popups * 255));
|
||||||
|
|
||||||
|
in {
|
||||||
|
options.stylix.targets.fuzzel.enable =
|
||||||
|
config.lib.stylix.mkEnableTarget "Fuzzel" config.programs.fuzzel.enable;
|
||||||
|
|
||||||
|
config.programs.fuzzel.settings =
|
||||||
|
lib.mkIf config.stylix.targets.fuzzel.enable {
|
||||||
|
colors = {
|
||||||
|
background = "${base00-hex}${opacity}";
|
||||||
|
text = "${base05-hex}ff";
|
||||||
|
match = "${base0A-hex}ff";
|
||||||
|
selection = "${base03-hex}ff";
|
||||||
|
selection-text = "${base05-hex}ff";
|
||||||
|
selection-match = "${base0A-hex}ff";
|
||||||
|
border = "${base0D-hex}ff";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue