mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
feat: more cool theming
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
@import "./theme.css";
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: "NotoSans NF";
|
font-family: "NotoSans NF";
|
||||||
}
|
}
|
||||||
@@ -7,7 +9,6 @@ window#window {
|
|||||||
}
|
}
|
||||||
|
|
||||||
box#main {
|
box#main {
|
||||||
background: rgba(48, 52, 70, 0.4);
|
|
||||||
box-shadow: 0 0 15px rgba(0, 0, 0, 0.29);
|
box-shadow: 0 0 15px rgba(0, 0, 0, 0.29);
|
||||||
border-radius: 24px;
|
border-radius: 24px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,9 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
variables = [ "--all" ];
|
variables = [ "--all" ];
|
||||||
};
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
source=./theme.conf
|
||||||
|
'';
|
||||||
settings = {
|
settings = {
|
||||||
env = [
|
env = [
|
||||||
"XDG_SESSION_TYPE,wayland"
|
"XDG_SESSION_TYPE,wayland"
|
||||||
@@ -29,6 +32,10 @@
|
|||||||
general = {
|
general = {
|
||||||
layout = "master";
|
layout = "master";
|
||||||
resize_on_border = true;
|
resize_on_border = true;
|
||||||
|
extend_border_grab_area = 2;
|
||||||
|
border_size = 2;
|
||||||
|
gaps_in = 12;
|
||||||
|
gaps_out = 24;
|
||||||
};
|
};
|
||||||
master = {
|
master = {
|
||||||
orientation = "center";
|
orientation = "center";
|
||||||
@@ -91,6 +98,7 @@
|
|||||||
"ignorealpha 0.3, anyrun"
|
"ignorealpha 0.3, anyrun"
|
||||||
];
|
];
|
||||||
decoration = {
|
decoration = {
|
||||||
|
rounding = 24;
|
||||||
drop_shadow = "yes";
|
drop_shadow = "yes";
|
||||||
shadow_range = 16;
|
shadow_range = 16;
|
||||||
"col.shadow" = "rgba(00000044)";
|
"col.shadow" = "rgba(00000044)";
|
||||||
|
|||||||
4
modules/nixos/theming/anyrun.css
Normal file
4
modules/nixos/theming/anyrun.css
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
box#main {
|
||||||
|
background: rgba({{colors.surface.default.red}}, {{colors.surface.default.green}}, {{colors.surface.default.blue}}, 0.4);
|
||||||
|
color: {{colors.on_surface.default.hex}};
|
||||||
|
}
|
||||||
4
modules/nixos/theming/hyprland.conf
Normal file
4
modules/nixos/theming/hyprland.conf
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
general {
|
||||||
|
col.inactive_border = rgba({{colors.surface.default.hex_stripped}}cc)
|
||||||
|
col.active_border = rgb({{colors.primary.default.hex_stripped}})
|
||||||
|
}
|
||||||
@@ -83,6 +83,10 @@ in
|
|||||||
for i in $(pgrep -u "$USER" -x nvim); do
|
for i in $(pgrep -u "$USER" -x nvim); do
|
||||||
kill -USR1 "$i"
|
kill -USR1 "$i"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if command -v hyprctl &> /dev/null; then
|
||||||
|
hyprctl reload
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
@@ -134,6 +138,14 @@ in
|
|||||||
input_path = ./nvim.vim;
|
input_path = ./nvim.vim;
|
||||||
output_path = "${homeCfg.xdg.configHome}/nvim/colors/matugen.vim";
|
output_path = "${homeCfg.xdg.configHome}/nvim/colors/matugen.vim";
|
||||||
};
|
};
|
||||||
|
hyprland = {
|
||||||
|
input_path = ./hyprland.conf;
|
||||||
|
output_path = "${homeCfg.xdg.configHome}/hypr/theme.conf";
|
||||||
|
};
|
||||||
|
anyrun = {
|
||||||
|
input_path = ./anyrun.css;
|
||||||
|
output_path = "${homeCfg.xdg.configHome}/anyrun/theme.css";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user