sleeker zathura
This commit is contained in:
@@ -1,17 +1,20 @@
|
||||
{ pkgs, rice, ... }:
|
||||
{ rice, ... }:
|
||||
{
|
||||
programs.zathura = {
|
||||
enable = true;
|
||||
options = with rice.color; {
|
||||
options = let
|
||||
f = rice.lib.hex-to-rgb-comma-string;
|
||||
t = builtins.toString rice.transparency;
|
||||
in with rice.color; {
|
||||
completion-bg = background;
|
||||
completion-fg = foreground;
|
||||
completion-highlight-bg = background;
|
||||
completion-highlight-fg = accent.base;
|
||||
default-bg = "rgba(${rice.lib.hex-to-rgb-comma-string background},${builtins.toString rice.transparency})";
|
||||
default-bg = "rgba(${f background},${t})";
|
||||
default-fg = foreground;
|
||||
highlight-active-color = "rgba(${rice.lib.hex-to-rgb-comma-string accent.base},0.5)";
|
||||
highlight-color = "rgba(${rice.lib.hex-to-rgb-comma-string secondary.base},0.5)";
|
||||
highlight-fg = "rgba(${rice.lib.hex-to-rgb-comma-string secondary.base},0.5)";
|
||||
highlight-active-color = "rgba(${f accent.base},0.5)";
|
||||
highlight-color = "rgba(${f secondary.base},0.5)";
|
||||
highlight-fg = "rgba(${f secondary.base},0.5)";
|
||||
index-fg = accent.bright;
|
||||
index-bg = black.dark;
|
||||
index-active-fg = background;
|
||||
@@ -40,7 +43,7 @@
|
||||
scroll-page-aware = true;
|
||||
smooth-scroll = true;
|
||||
scroll-full-overlap = 0.01;
|
||||
scroll-step = 300;
|
||||
scroll-step = 100;
|
||||
};
|
||||
mappings = {
|
||||
h = ''feedkeys "<C-Left>"'';
|
||||
|
||||
Reference in New Issue
Block a user