Revert "zathura: Fix opaque highlight color"

Shouldn't be needed anymore now that we're using the latest stylix
commit. Note that I don't care enough about this to use 0.3 highlight
transparency instead of 0.5.
This commit is contained in:
Donovan Glover 2024-07-10 00:11:03 -04:00
parent 23b970e750
commit c348eb69d7
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,12 +1,3 @@
{ config, lib, ... }:
let
inherit (lib) mkForce;
highlightTransparency = "0.3";
getColorCh = colorName: channel: config.lib.stylix.colors."${colorName}-rgb-${channel}";
rgba = color: ''rgba(${getColorCh color "r"}, ${getColorCh color "g"}, ${getColorCh color "b"}, ${highlightTransparency})'';
in
{ {
programs.zathura = { programs.zathura = {
enable = true; enable = true;
@ -17,9 +8,6 @@ in
statusbar-basename = true; statusbar-basename = true;
render-loading = false; render-loading = false;
scroll-step = 120; scroll-step = 120;
highlight-color = mkForce (rgba "base0A");
highlight-active-color = mkForce (rgba "base0D");
}; };
}; };
} }