Fuzzel : Style with Stylix.
This commit is contained in:
parent
ad58a9e915
commit
d7b209fb76
|
@ -41,8 +41,8 @@ in {
|
|||
name = "Noto Color Emoji";
|
||||
};
|
||||
};
|
||||
override = if wallpaper.forceWhiteText then {
|
||||
base04 = "ffffff";
|
||||
override = if wallpaper.forceContrastText then {
|
||||
base04 = "000000";
|
||||
base05 = "ffffff";
|
||||
base06 = "ffffff";
|
||||
} else {};
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
};
|
||||
|
||||
window = {
|
||||
gap = 8;
|
||||
gap = 12;
|
||||
border = 4;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{ pkgs, ... }: let
|
||||
url = "https://i.imgur.com/uxNas3C.jpeg";
|
||||
sha256 = "sha256-OxixfSixKYDhNx2vxGV5fLeGrHHV1uXS4MJHLnCIFZs=";
|
||||
url = "https://i.imgur.com/CrX0Grv.png";
|
||||
sha256 = "sha256-b9kHrg+EtLCQvIgpvv4hFp79jswAurntty3YnFKr5j0=";
|
||||
|
||||
# Sometimes stylix does not generate enough contrast for text.
|
||||
# This setting forces white text to ensure contrast on dark backgrounds.
|
||||
forceWhiteText = false;
|
||||
forceContrastText = true;
|
||||
in {
|
||||
inherit forceWhiteText;
|
||||
inherit forceContrastText;
|
||||
|
||||
path = pkgs.fetchurl {
|
||||
url = url;
|
||||
|
|
|
@ -3,18 +3,27 @@
|
|||
in {
|
||||
file = (pkgs.formats.ini {}).generate "FuzzelConfig" {
|
||||
main = {
|
||||
font = "${style.font.serif.name}:size=${toString style.font.size.popup}";
|
||||
dpi-aware = dpiAware;
|
||||
font = "${style.font.serif.name}:size=${toString style.font.size.popup}";
|
||||
lines = 20;
|
||||
prompt = "\"$ \"";
|
||||
show-actions = "yes";
|
||||
terminal = setting.terminal;
|
||||
list-executables-in-path = "no";
|
||||
lines = 20;
|
||||
width = 40;
|
||||
# prompt = "\"$ \""
|
||||
# list-executables-in-path = "no";
|
||||
};
|
||||
border = {
|
||||
radius = 0;
|
||||
width = 1;
|
||||
};
|
||||
colors = {
|
||||
background = style.color.bg.dark + style.opacity.hex;
|
||||
border = style.color.border + style.opacity.hex;
|
||||
match = style.color.fg.light + style.opacity.hex;
|
||||
selection = style.color.bg.light + style.opacity.hex;
|
||||
selection-match = style.color.fg.dark + style.opacity.hex;
|
||||
selection-text = style.color.fg.dark + style.opacity.hex;
|
||||
text = style.color.fg.light + style.opacity.hex;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ in {
|
|||
globalSection = {
|
||||
anchor = "top-center";
|
||||
background-color = "#${style.color.bg.dark}${alpha}";
|
||||
border-color = "#${style.color.bg.regular}${alpha}";
|
||||
border-color = "#${style.color.border}${alpha}";
|
||||
default-timeout = setting.popup.timeout.ms;
|
||||
font = "${style.font.serif.name} ${toString style.font.size.popup}";
|
||||
height = 120;
|
||||
|
|
Loading…
Reference in a new issue