rofi: dynamic theme
Some checks are pending
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

This commit is contained in:
Aly Raffauf 2024-08-09 13:46:10 -04:00
parent a11e65b06f
commit 1e45916647

View file

@ -70,7 +70,7 @@ in {
"rofi/theme.rasi".text = '' "rofi/theme.rasi".text = ''
* { * {
selected-normal-foreground: ${cfg.theme.colors.text}; selected-normal-foreground: ${cfg.theme.colors.secondary};
foreground: ${cfg.theme.colors.text}; foreground: ${cfg.theme.colors.text};
normal-foreground: @foreground; normal-foreground: @foreground;
alternate-normal-background: transparent; alternate-normal-background: transparent;
@ -81,14 +81,14 @@ in {
alternate-urgent-background: transparent; alternate-urgent-background: transparent;
active-foreground: ${cfg.theme.colors.primary}CC; active-foreground: ${cfg.theme.colors.primary}CC;
lightbg: rgba ( 238, 232, 213, 80 % ); lightbg: rgba ( 238, 232, 213, 80 % );
selected-active-foreground: ${cfg.theme.colors.text}; selected-active-foreground: ${cfg.theme.colors.secondary};
alternate-active-background: transparent; alternate-active-background: transparent;
background: transparent; background: transparent;
bordercolor: ${cfg.theme.colors.background}99; bordercolor: ${cfg.theme.colors.background}99;
alternate-normal-foreground: @foreground; alternate-normal-foreground: @foreground;
normal-background: transparent; normal-background: transparent;
lightfg: ${cfg.theme.colors.primary}CC; lightfg: ${cfg.theme.colors.primary}CC;
selected-normal-background: ${cfg.theme.colors.primary}; selected-normal-background: ${cfg.theme.colors.background};
border-color: ${cfg.theme.colors.primary}CC; border-color: ${cfg.theme.colors.primary}CC;
spacing: 2; spacing: 2;
separatorcolor: ${cfg.theme.colors.primary}CC; separatorcolor: ${cfg.theme.colors.primary}CC;
@ -98,11 +98,12 @@ in {
background-color: transparent; background-color: transparent;
alternate-active-foreground: @active-foreground; alternate-active-foreground: @active-foreground;
active-background: transparent; active-background: transparent;
selected-active-background: ${cfg.theme.colors.primary}; selected-active-background: ${cfg.theme.colors.background};
} }
window { window {
background-color: ${cfg.theme.colors.background}99; background-color: ${cfg.theme.colors.background}CC;
border: 2; border: 4;
border-color: @border-color;
border-radius: 10px; border-radius: 10px;
padding: 0; padding: 0;
} }