feat(theming): style fzf

This commit is contained in:
Moritz Böhme 2023-03-18 06:12:48 +01:00
parent fce3afaa65
commit 75591db511
Signed by: moritz
GPG key ID: 970C6E89EB0547A9
2 changed files with 65 additions and 36 deletions

View file

@ -36,6 +36,20 @@ in
{
home-manager.users.moritz = {
programs = {
fzf.colors = {
"bg+" = "#${surface0}";
"fg+" = "#${text}";
"hl+" = "#${red}";
bg = "#${base}";
fg = "#${text}";
header = "#${red}";
hl = "#${red}";
info = "#${mauve}";
marker = "#${rosewater}";
pointer = "#${rosewater}";
prompt = "#${mauve}";
spinner = "#${rosewater}";
};
kitty.extraConfig = ''
# vim:ft=kitty

View file

@ -4,22 +4,36 @@ with lib;
let
cfg = config.my.theming;
background = "#282a36";
currentLine = "#44475a";
foreground = "#f8f8f2";
comment = "#6272a4";
cyan = "#8be9fd";
green = "#50fa7b";
orange = "#ffb86c";
pink = "#ff79c6";
purple = "#bd93f9";
red = "#ff5555";
yellow = "#f1fa8c";
background = "282a36";
currentLine = "44475a";
foreground = "f8f8f2";
comment = "6272a4";
cyan = "8be9fd";
green = "50fa7b";
orange = "ffb86c";
pink = "ff79c6";
purple = "bd93f9";
red = "ff5555";
yellow = "f1fa8c";
in
{
config = mkIf (cfg.enable && cfg.scheme == "dracula") {
home-manager.users.moritz = {
programs = {
fzf.colors = {
"bg+" = "#${currentLine}";
"fg+" = "#${foreground}";
"hl+" = "#${purple}";
bg = "#${background}";
fg = "#${foreground}";
header = "#${comment}";
hl = "#${purple}";
info = "#${orange}";
marker = "#${pink}";
pointer = "#${pink}";
prompt = "#${green}";
spinner = "#${orange}";
};
kitty.extraConfig =
''
# https://draculatheme.com/kitty
@ -142,9 +156,9 @@ in
};
xsession.windowManager.bspwm = {
settings = {
focused_border_color = purple;
normal_border_color = background;
active_border_color = background;
focused_border_color = "#${purple}";
normal_border_color = "#${background}";
active_border_color = "#${background}";
};
};
services = {
@ -181,42 +195,43 @@ in
polybar = {
config = {
"bar/bottom" = {
inherit background foreground;
border-color = background;
background = "#${background}";
foreground = "#${foreground}";
border-color = "#${background}";
};
"module/bspwm" = {
label-focused-foreground = pink;
label-occupied-foreground = comment;
label-urgent-foreground = red;
label-empty-foreground = currentLine;
label-separator-foreground = background;
label-focused-foreground = "#${pink}";
label-occupied-foreground = "#${comment}";
label-urgent-foreground = "#${red}";
label-empty-foreground = "#${currentLine}";
label-separator-foreground = "#${background}";
};
"module/cpu" = {
format-foreground = background;
format-background = green;
format-foreground = "#${background}";
format-background = "#${green}";
};
"module/time" = {
format-foreground = background;
format-background = cyan;
format-foreground = "#${background}";
format-background = "#${cyan}";
};
"module/date" = {
format-foreground = background;
format-background = yellow;
format-foreground = "#${background}";
format-background = "#${yellow}";
};
"module/memory" = {
format-foreground = background;
format-background = cyan;
format-foreground = "#${background}";
format-background = "#${cyan}";
};
"module/pulseaudio" = {
format-volume-foreground = background;
format-volume-background = purple;
label-muted = "%{F${red}} %{F${background}}muted";
format-muted-foreground = background;
format-muted-background = red;
format-volume-foreground = "#${background}";
format-volume-background = "#${purple}";
label-muted = "%{F#${red}} %{F#${background}}muted";
format-muted-foreground = "#${background}";
format-muted-background = "#${red}";
};
"module/network" = {
format-connected-foreground = background;
format-connected-background = purple;
format-connected-foreground = "#${background}";
format-connected-background = "#${purple}";
};
};
};