1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-05-13 05:55:16 +00:00

Merge branch 'xlib' of git.sr.ht:~neverness/ultima into xlib

This commit is contained in:
nixzoid 2025-02-05 10:30:06 +09:00
commit cd63ffcc0d
4 changed files with 25 additions and 25 deletions
machines
embrace/home
jetpure/home
modules
home/themes/stylix
nixos/services/tlp

View file

@ -59,12 +59,7 @@ in
qt = on; # QT APPS
stylix = on // {
icon = "adwaita";
cursor = with config.lib.stylix.colors.withHashtag; {
size = 24;
bg = "${base08}";
ol = "${base00}";
ac = "${base08}";
};
cursor.size = 24;
};
};
wm = {

View file

@ -61,12 +61,7 @@ in
kvantum = off;
stylix = on // {
icon = "adwaita";
cursor = with config.lib.stylix.colors.withHashtag; {
size = 16;
bg = "${base0E}";
ol = "${base00}";
ac = "${base0E}";
};
cursor.size = 16;
};
};
wm = {

View file

@ -16,12 +16,7 @@ in
module.themes.stylix = {
enable = mkBool false;
icon = mkStr "breeze";
cursor = with config.lib.stylix.colors.withHashtag; {
size = mkInt 12;
bg = mkStr "${base04}";
ol = mkStr "${base00}";
ac = mkStr "${base04}";
};
cursor.size = mkInt 12;
};
};
@ -41,18 +36,33 @@ in
cursor = with inputs.cursors.packages.${pkgs.system}; {
size = cfg.cursor.size;
name = "GoogleDot-Custom";
package = google-cursor.override {
background_color = cfg.cursor.bg;
outline_color = cfg.cursor.ol;
accent_color = cfg.cursor.ac;
};
package =
let
mode =
with config.lib.stylix.colors.withHashtag;
if x.is == "laptop" then
{
background_color = "${base08}";
outline_color = "${base00}";
accent_color = "${base08}";
}
else if x.is == "desktop" then
{
background_color = "${base0E}";
outline_color = "${base00}";
accent_color = "${base0E}";
}
else
{ };
in
google-cursor.override mode;
};
iconTheme = on // {
dark = "Papirus-Dark";
light = "Papirus-Light";
package = with pkgs; papirus-icon-theme.override { color = cfg.icon; };
};
fonts = with config.stylix.fonts; {
fonts = rec {
monospace = {
name = "JetBrainsMono Nerd Font";
package = with pkgs.nerd-fonts; jetbrains-mono;

View file

@ -31,7 +31,7 @@ in
tlp = on // {
settings = {
# battery
START_CHARGE_THRESH_BAT0 = 80;
START_CHARGE_THRESH_BAT0 = 95;
STOP_CHARGE_THRESH_BAT0 = 100;
# platform