Fixed issue with building

This commit is contained in:
Jan Bulthuis 2024-07-19 03:51:40 +02:00
parent 7379afe613
commit 47365d05f5
5 changed files with 19 additions and 14 deletions

View File

@ -10,6 +10,7 @@
./fontconfig/default.nix
./foot/default.nix
./mako/default.nix
./neovim/default.nix
./obsidian/default.nix
./qutebrowser/default.nix
./rofi/default.nix

View File

@ -3,6 +3,8 @@
with lib;
let
cfg = config.modules.waybar;
theme = config.theming;
colors = theme.colors;
in {
options.modules.waybar = {
enable = mkEnableOption "waybar";
@ -81,15 +83,16 @@ in {
};
};
};
# TODO: Replace base03 color with named color
style = ''
window#waybar {
color: #${colors.base05};
background-color: #${colors.base00};
color: #${colors.fg};
background-color: #${colors.bg};
border-style: none none solid none;
border-width: ${toString borderSize}px;
border-color: #${colors.base01};
border-width: ${toString theme.layout.borderSize}px;
border-color: #${colors.unfocused};
font-size: 12px;
font-family: "${fonts.monospace.name}";
font-family: "${theme.fonts.monospace.name}";
}
.modules-right {
@ -97,7 +100,7 @@ in {
}
#tags button {
color: #${colors.base03};
color: #${theme.schemeColors.base03};
padding: 0 5px 1px 5px;
border-radius: 0;
font-size: 16px;
@ -105,15 +108,11 @@ in {
}
#tags button.occupied {
color: #${colors.base05};
color: #${colors.fg};
}
#tags button.focused {
color: #${colors.base09};
}
#tags.button.bell {
color: #${colors.base0A};
color: #${colors.accent};
}
'';
};

View File

@ -24,6 +24,9 @@ in {
# Close waybar
PATH="${pkgs.procps}/bin:$PATH" $DRY_RUN_CMD pkill waybar
# Kill rivertile
PATH="${pkgs.procps}/bin:$PATH" $DRY_RUN_CMD pkill rivertile
# Restart river
PATH="${pkgs.river}/bin:$PATH" $DRY_RUN_CMD ~/.config/river/init
'';

View File

@ -3,6 +3,8 @@
with lib;
let
cfg = config.modules.neovim;
theme = config.theming;
colors = theme.colors;
in {
options.modules.neovim = {
enable = mkEnableOption "neovim";
@ -96,7 +98,7 @@ in {
highlight = {
Comment = {
italic = true;
fg = colors.withHashtag.base03;
fg = theme.schemeColors.withHashtag.base03; # TODO: Come up with a good name colors.muted maybe?
};
};

View File

@ -47,7 +47,7 @@
# Color scheme
themes.catppuccin = {
enable = true;
flavor = "mocha";
flavor = "frappe";
};
};
};