mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
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:
parent
23b970e750
commit
c348eb69d7
@ -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");
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user