Move avizo to separate file, make custom theme from base16
Adjust opacity of popups and desktop types
This commit is contained in:
parent
acd3530e80
commit
779e01d1b7
|
@ -154,8 +154,8 @@
|
||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
opacity = {
|
opacity = {
|
||||||
applications = 0.85;
|
applications = 0.85;
|
||||||
desktop = 0.85;
|
desktop = 1.0;
|
||||||
popups = 0.85;
|
popups = 0.5;
|
||||||
terminal = 0.85;
|
terminal = 0.85;
|
||||||
};
|
};
|
||||||
fonts = rec {
|
fonts = rec {
|
||||||
|
|
14
home/avizo/default.nix
Normal file
14
home/avizo/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{config, ...}: {
|
||||||
|
services.avizo = {
|
||||||
|
enable = true;
|
||||||
|
settings.default = with config.lib.stylix.colors; let
|
||||||
|
opacity = kind: (toString config.stylix.opacity.${kind});
|
||||||
|
in {
|
||||||
|
background = "rgba(${base00-rgb-r}, ${base00-rgb-g}, ${base00-rgb-b}, ${opacity "popups"})";
|
||||||
|
bar-bg-color = "rgba(${base00-rgb-r}, ${base00-rgb-g}, ${base00-rgb-b}, ${opacity "popups"})";
|
||||||
|
bar-fg-color = "rgba(${base05-rgb-r}, ${base05-rgb-g}, ${base05-rgb-b}, ${opacity "desktop"})";
|
||||||
|
border-color = "rgba(${base0E-rgb-r}, ${base0E-rgb-g}, ${base0E-rgb-b}, ${opacity "desktop"})";
|
||||||
|
image-opacity = opacity "desktop";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -4,10 +4,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
stylix.targets = {
|
stylix.targets.xresources.enable = true;
|
||||||
avizo.enable = true;
|
|
||||||
xresources.enable = true;
|
|
||||||
};
|
|
||||||
imports = [
|
imports = [
|
||||||
../default.nix
|
../default.nix
|
||||||
../email/default.nix
|
../email/default.nix
|
||||||
|
@ -16,6 +13,7 @@
|
||||||
../waybar/default.nix
|
../waybar/default.nix
|
||||||
../rofi/default.nix
|
../rofi/default.nix
|
||||||
../swaync/default.nix
|
../swaync/default.nix
|
||||||
|
../avizo/default.nix
|
||||||
../alacritty/default.nix
|
../alacritty/default.nix
|
||||||
../emacs/default.nix
|
../emacs/default.nix
|
||||||
../nyxt/default.nix
|
../nyxt/default.nix
|
||||||
|
@ -183,6 +181,7 @@
|
||||||
"gtk-layer-shell"
|
"gtk-layer-shell"
|
||||||
"notifications"
|
"notifications"
|
||||||
"swaync-.*"
|
"swaync-.*"
|
||||||
|
"avizo"
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
(lib.lists.forEach layers blur)
|
(lib.lists.forEach layers blur)
|
||||||
|
|
Loading…
Reference in a new issue