chore: nix fmt
This commit is contained in:
parent
a80bd4ed3b
commit
7266fff06e
128 changed files with 3402 additions and 2013 deletions
|
@ -1,10 +1,17 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.passthrough.catppuccin;
|
||||
palette = (lib.importJSON "${config.catppuccin.sources.palette}/palette.json").${config.catppuccin.flavor}.colors;
|
||||
in mkIf cfg.enable {
|
||||
palette =
|
||||
(lib.importJSON "${config.catppuccin.sources.palette}/palette.json")
|
||||
.${config.catppuccin.flavor}.colors;
|
||||
in
|
||||
mkIf cfg.enable {
|
||||
gtk.theme = { inherit (cfg.gtk) package name; };
|
||||
qt.style.name = "kvantum";
|
||||
qt.platformTheme.name = "kvantum";
|
||||
|
@ -13,38 +20,90 @@ in mkIf cfg.enable {
|
|||
# sway colour palette override
|
||||
wayland.windowManager.sway.config = {
|
||||
colors = {
|
||||
focused = { border = "$lavender"; background = "$base"; text = "$text"; indicator = "$rosewater"; childBorder = "$lavender"; };
|
||||
focusedInactive = { border = "$overlay0"; background = "$base"; text = "$text"; indicator = "$rosewater"; childBorder = "$overlay0"; };
|
||||
unfocused = { border = "$overlay0"; background = "$base"; text = "$text"; indicator = "$rosewater"; childBorder = "$overlay0"; };
|
||||
urgent = { border = "$peach"; background = "$base"; text = "$peach"; indicator = "$overlay0"; childBorder = "$peach"; };
|
||||
placeholder = { border = "$overlay0"; background = "$base"; text = "$text"; indicator = "$overlay0"; childBorder = "$overlay0"; };
|
||||
background = "$base";
|
||||
focused = {
|
||||
border = "$lavender";
|
||||
background = "$base";
|
||||
text = "$text";
|
||||
indicator = "$rosewater";
|
||||
childBorder = "$lavender";
|
||||
};
|
||||
focusedInactive = {
|
||||
border = "$overlay0";
|
||||
background = "$base";
|
||||
text = "$text";
|
||||
indicator = "$rosewater";
|
||||
childBorder = "$overlay0";
|
||||
};
|
||||
unfocused = {
|
||||
border = "$overlay0";
|
||||
background = "$base";
|
||||
text = "$text";
|
||||
indicator = "$rosewater";
|
||||
childBorder = "$overlay0";
|
||||
};
|
||||
urgent = {
|
||||
border = "$peach";
|
||||
background = "$base";
|
||||
text = "$peach";
|
||||
indicator = "$overlay0";
|
||||
childBorder = "$peach";
|
||||
};
|
||||
placeholder = {
|
||||
border = "$overlay0";
|
||||
background = "$base";
|
||||
text = "$text";
|
||||
indicator = "$overlay0";
|
||||
childBorder = "$overlay0";
|
||||
};
|
||||
background = "$base";
|
||||
};
|
||||
|
||||
bars = mkForce [ {
|
||||
colors = {
|
||||
background = "$base";
|
||||
statusline = "$text";
|
||||
focusedStatusline = "$text";
|
||||
focusedSeparator = "$base";
|
||||
focusedWorkspace = { border = "$base"; background = "$base"; text = "$green"; };
|
||||
activeWorkspace = { border = "$base"; background = "$base"; text = "$blue"; };
|
||||
inactiveWorkspace = { border = "$base"; background = "$base"; text = "$surface1"; };
|
||||
urgentWorkspace = { border = "$base"; background = "$base"; text = "$surface1"; };
|
||||
bindingMode = { border = "$base"; background = "$base"; text = "$surface1"; };
|
||||
};
|
||||
bars = mkForce [
|
||||
{
|
||||
colors = {
|
||||
background = "$base";
|
||||
statusline = "$text";
|
||||
focusedStatusline = "$text";
|
||||
focusedSeparator = "$base";
|
||||
focusedWorkspace = {
|
||||
border = "$base";
|
||||
background = "$base";
|
||||
text = "$green";
|
||||
};
|
||||
activeWorkspace = {
|
||||
border = "$base";
|
||||
background = "$base";
|
||||
text = "$blue";
|
||||
};
|
||||
inactiveWorkspace = {
|
||||
border = "$base";
|
||||
background = "$base";
|
||||
text = "$surface1";
|
||||
};
|
||||
urgentWorkspace = {
|
||||
border = "$base";
|
||||
background = "$base";
|
||||
text = "$surface1";
|
||||
};
|
||||
bindingMode = {
|
||||
border = "$base";
|
||||
background = "$base";
|
||||
text = "$surface1";
|
||||
};
|
||||
};
|
||||
|
||||
mode = "dock";
|
||||
position = "bottom";
|
||||
workspaceButtons = true;
|
||||
workspaceNumbers = true;
|
||||
statusCommand = "${pkgs.i3status}/bin/i3status";
|
||||
fonts = {
|
||||
names = [ "monospace" ];
|
||||
size = 8.0;
|
||||
};
|
||||
trayOutput = "primary";
|
||||
} ];
|
||||
mode = "dock";
|
||||
position = "bottom";
|
||||
workspaceButtons = true;
|
||||
workspaceNumbers = true;
|
||||
statusCommand = "${pkgs.i3status}/bin/i3status";
|
||||
fonts = {
|
||||
names = [ "monospace" ];
|
||||
size = 8.0;
|
||||
};
|
||||
trayOutput = "primary";
|
||||
}
|
||||
];
|
||||
|
||||
output."*".bg = mkForce "${./flake.png} fill";
|
||||
gaps.inner = 12;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue