From b7c6650fdd4c05c0e36cd1c31ad20e26a909d624 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Sun, 15 Jan 2023 21:40:21 +0100 Subject: [PATCH] Fixed weird polybar transparent color --- .../features/desktop/common/polybar/default.nix | 7 ++----- .../desktop/common/polybar/template.mustache | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 home/adrielus/features/desktop/common/polybar/template.mustache diff --git a/home/adrielus/features/desktop/common/polybar/default.nix b/home/adrielus/features/desktop/common/polybar/default.nix index 3b1e9c9..7e6f809 100644 --- a/home/adrielus/features/desktop/common/polybar/default.nix +++ b/home/adrielus/features/desktop/common/polybar/default.nix @@ -1,10 +1,7 @@ { pkgs, lib, paths, config, ... }: let - base16-polybar = pkgs.fetchFromGitHub { - owner = "tinted-theming"; - repo = "base16-polybar"; - sha256 = "1jcr9mmy6y2g06w1b8211lc1y419hqg55v3ly0a27cjgvg89774c"; - rev = "47b7cc1cde79df5dc5e3cf8f9be607283eb5eb6e"; + base16-polybar = { + template = builtins.readFile ./template.mustache; }; script = '' diff --git a/home/adrielus/features/desktop/common/polybar/template.mustache b/home/adrielus/features/desktop/common/polybar/template.mustache new file mode 100644 index 0000000..8df9d67 --- /dev/null +++ b/home/adrielus/features/desktop/common/polybar/template.mustache @@ -0,0 +1,17 @@ +[colors] +base00 = {{base00-hex}} +base01 = {{base01-hex}} +base02 = {{base02-hex}} +base03 = {{base03-hex}} +base04 = {{base04-hex}} +base05 = {{base05-hex}} +base06 = {{base06-hex}} +base07 = {{base07-hex}} +base08 = {{base08-hex}} +base09 = {{base09-hex}} +base0A = {{base0A-hex}} +base0B = {{base0B-hex}} +base0C = {{base0C-hex}} +base0D = {{base0D-hex}} +base0E = {{base0E-hex}} +base0F = {{base0F-hex}}