mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
feat: quick commit don't care lolololol
This commit is contained in:
parent
e49994251e
commit
bc2d8762c9
10 changed files with 48 additions and 22 deletions
|
@ -96,7 +96,11 @@ let
|
||||||
themesSubmodule = lib.types.submodule {
|
themesSubmodule = lib.types.submodule {
|
||||||
options = {
|
options = {
|
||||||
currentTheme = genOptions stringType "theme";
|
currentTheme = genOptions stringType "theme";
|
||||||
wmGaps = intType;
|
windowManager = {
|
||||||
|
gaps = intType;
|
||||||
|
borders = intType;
|
||||||
|
rounding = intType;
|
||||||
|
};
|
||||||
fonts = {
|
fonts = {
|
||||||
names = genOptions stringType "name";
|
names = genOptions stringType "name";
|
||||||
sizes = {
|
sizes = {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
let
|
let
|
||||||
currentTheme0 = catppuccin-mocha; # User0 Theme
|
currentTheme0 = catppuccin-macchiato; # User0 Theme
|
||||||
currentTheme1 = catppuccin-mocha; # User1 Theme
|
currentTheme1 = catppuccin-mocha; # User1 Theme
|
||||||
currentTheme2 = catppuccin-mocha; # User2 Theme
|
currentTheme2 = catppuccin-mocha; # User2 Theme
|
||||||
|
|
||||||
|
@ -24,7 +24,11 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
themes = {
|
themes = {
|
||||||
wmGaps = 6;
|
windowManager = {
|
||||||
|
gaps = 6;
|
||||||
|
borders = 3;
|
||||||
|
rounding = 20;
|
||||||
|
};
|
||||||
currentTheme = {
|
currentTheme = {
|
||||||
theme0 = currentTheme0; # User0 Theme
|
theme0 = currentTheme0; # User0 Theme
|
||||||
theme1 = currentTheme1; # User1 Theme
|
theme1 = currentTheme1; # User1 Theme
|
||||||
|
|
|
@ -1,8 +1,12 @@
|
||||||
|
{ flake, ... }:
|
||||||
|
let
|
||||||
|
inherit (flake.config.aesthetics.themes) windowManager;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
active_opacity = 0.95;
|
active_opacity = 0.95;
|
||||||
inactive_opacity = 0.90;
|
inactive_opacity = 0.90;
|
||||||
fullscreen_opacity = 1;
|
fullscreen_opacity = 1;
|
||||||
rounding = 20;
|
rounding = windowManager.rounding;
|
||||||
dim_inactive = 1;
|
dim_inactive = 1;
|
||||||
dim_strength = 0.05;
|
dim_strength = 0.05;
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,11 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
|
||||||
inherit (flake.config.aesthetics.themes) currentTheme palettes wmGaps;
|
inherit (flake.config.aesthetics.themes)
|
||||||
|
currentTheme
|
||||||
|
palettes
|
||||||
|
windowManager
|
||||||
|
;
|
||||||
|
|
||||||
inherit (flake.config.people) user0 user1 user2;
|
inherit (flake.config.people) user0 user1 user2;
|
||||||
|
|
||||||
|
@ -24,9 +28,9 @@ let
|
||||||
el = palettes.${themeLogic}.colours;
|
el = palettes.${themeLogic}.colours;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
gaps_in = wmGaps / 2;
|
gaps_in = windowManager.gaps / 2;
|
||||||
gaps_out = wmGaps;
|
gaps_out = windowManager.gaps;
|
||||||
border_size = 2;
|
border_size = windowManager.borders;
|
||||||
"col.active_border" = "rgb(${el.base0E})";
|
"col.active_border" = "rgb(${el.base0E})";
|
||||||
"col.inactive_border" = "0xff${el.base02}";
|
"col.inactive_border" = "0xff${el.base02}";
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ let
|
||||||
bindm = import (configPath + /bindm.nix);
|
bindm = import (configPath + /bindm.nix);
|
||||||
binds = import (configPath + /binds.nix);
|
binds = import (configPath + /binds.nix);
|
||||||
# bindl = import (configPath + /bindl.nix);
|
# bindl = import (configPath + /bindl.nix);
|
||||||
decoration = import (configPath + /decoration.nix);
|
decoration = import (configPath + /decoration.nix) { inherit flake; };
|
||||||
dwindle = import (configPath + /dwindle.nix);
|
dwindle = import (configPath + /dwindle.nix);
|
||||||
exec-once = import (configPath + /exec-once.nix);
|
exec-once = import (configPath + /exec-once.nix);
|
||||||
general = import (configPath + /general.nix) { inherit config flake; };
|
general = import (configPath + /general.nix) { inherit config flake; };
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ colourHelpers, flake, ... }:
|
{ colourHelpers, flake, ... }:
|
||||||
let
|
let
|
||||||
inherit (flake.config.aesthetics.themes) wmGaps;
|
inherit (flake.config.aesthetics.themes) windowManager;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
layout = {
|
layout = {
|
||||||
|
@ -15,11 +15,11 @@ in
|
||||||
];
|
];
|
||||||
border = {
|
border = {
|
||||||
enable = true;
|
enable = true;
|
||||||
width = 2;
|
width = windowManager.borders;
|
||||||
active.color = colourHelpers.makeColour colourHelpers.el.base0E;
|
active.color = colourHelpers.makeColour colourHelpers.el.base0E;
|
||||||
inactive.color = colourHelpers.makeColour colourHelpers.el.base02;
|
inactive.color = colourHelpers.makeColour colourHelpers.el.base02;
|
||||||
};
|
};
|
||||||
gaps = wmGaps;
|
gaps = windowManager.gaps;
|
||||||
shadow = {
|
shadow = {
|
||||||
enable = true;
|
enable = true;
|
||||||
color = colourHelpers.el.base11;
|
color = colourHelpers.el.base11;
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
{ workspaceStrings, ... }:
|
{ flake, workspaceStrings, ... }:
|
||||||
|
let
|
||||||
|
inherit (flake.config.aesthetics.themes) windowManager;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
window-rules = [
|
window-rules = [
|
||||||
{
|
{
|
||||||
|
@ -113,7 +116,7 @@
|
||||||
focus-ring.enable = false;
|
focus-ring.enable = false;
|
||||||
geometry-corner-radius =
|
geometry-corner-radius =
|
||||||
let
|
let
|
||||||
radius = 10.0;
|
radius = windowManager.rounding + 0.0;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
top-left = radius;
|
top-left = radius;
|
||||||
|
|
|
@ -61,7 +61,7 @@ let
|
||||||
};
|
};
|
||||||
startup = import (configPath + /startup.nix) { inherit lib pkgs; };
|
startup = import (configPath + /startup.nix) { inherit lib pkgs; };
|
||||||
style = import (configPath + /style.nix) { inherit flake; };
|
style = import (configPath + /style.nix) { inherit flake; };
|
||||||
windowrules = import (configPath + /windowrules.nix) { inherit workspaceStrings; };
|
windowrules = import (configPath + /windowrules.nix) { inherit flake workspaceStrings; };
|
||||||
workspaces = import (configPath + /workspaces.nix) { inherit workspaceStrings; };
|
workspaces = import (configPath + /workspaces.nix) { inherit workspaceStrings; };
|
||||||
in
|
in
|
||||||
binds // layout // main // outputs // startup // style // windowrules // workspaces;
|
binds // layout // main // outputs // startup // style // windowrules // workspaces;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, flake, ... }:
|
{ config, flake, ... }:
|
||||||
let
|
let
|
||||||
user = config.home.username;
|
user = config.home.username;
|
||||||
inherit (flake.config.aesthetics.themes) wmGaps;
|
inherit (flake.config.aesthetics.themes) windowManager;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
mainBar = {
|
mainBar = {
|
||||||
|
@ -9,9 +9,9 @@ in
|
||||||
layer = "top";
|
layer = "top";
|
||||||
height = 5;
|
height = 5;
|
||||||
margin-top = 0;
|
margin-top = 0;
|
||||||
margin-bottom = wmGaps;
|
margin-bottom = windowManager.gaps;
|
||||||
margin-left = wmGaps;
|
margin-left = windowManager.gaps;
|
||||||
margin-right = wmGaps;
|
margin-right = windowManager.gaps;
|
||||||
modules-left = [
|
modules-left = [
|
||||||
"custom/launcher"
|
"custom/launcher"
|
||||||
"hyprland/workspaces"
|
"hyprland/workspaces"
|
||||||
|
|
|
@ -5,7 +5,12 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
|
||||||
inherit (flake.config.aesthetics.themes) currentTheme palettes fonts;
|
inherit (flake.config.aesthetics.themes)
|
||||||
|
currentTheme
|
||||||
|
palettes
|
||||||
|
fonts
|
||||||
|
windowManager
|
||||||
|
;
|
||||||
|
|
||||||
inherit (flake.config.people) user0 user1 user2;
|
inherit (flake.config.people) user0 user1 user2;
|
||||||
|
|
||||||
|
@ -29,6 +34,8 @@ let
|
||||||
font_weight = "bold";
|
font_weight = "bold";
|
||||||
opacityBg = "0.90";
|
opacityBg = "0.90";
|
||||||
opacityBt = "1";
|
opacityBt = "1";
|
||||||
|
border = windowManager.borders;
|
||||||
|
rounding = windowManager.rounding;
|
||||||
text_color = el.base0E;
|
text_color = el.base0E;
|
||||||
secondary_accent = el.base07;
|
secondary_accent = el.base07;
|
||||||
tertiary_accent = el.base15;
|
tertiary_accent = el.base15;
|
||||||
|
@ -50,8 +57,8 @@ in
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background: #${custom.background_2};
|
background: #${custom.background_2};
|
||||||
color: #${custom.text_color};
|
color: #${custom.text_color};
|
||||||
border: 2px solid;
|
border: ${builtins.toString custom.border}px solid;
|
||||||
border-radius: 30px;
|
border-radius: ${builtins.toString custom.rounding}px;
|
||||||
border-color: #${custom.text_color};
|
border-color: #${custom.text_color};
|
||||||
opacity: ${custom.opacityBg};
|
opacity: ${custom.opacityBg};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue