hypland theme fixes

This commit is contained in:
mjallen18
2025-07-07 21:22:25 -05:00
parent bc183bc8dd
commit f770342649
6 changed files with 74 additions and 17 deletions

View File

@@ -84,6 +84,10 @@ in
${defaultOpacity} ${defaultOpacity}
${borderLeft} ${borderLeft}
} }
#custom-lights:hover {
background: ${theme.nord.polarNight.nord3};
}
''; '';
}; };
} }

View File

@@ -308,6 +308,19 @@ in
''; '';
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
}; };
hd-idle = {
path = [
pkgs.bash
pkgs.hd-idle
];
script = ''
hd-idle
'';
serviceConfig = {
Type = "oneshot";
};
};
}; };
security.pam.services.login.enableGnomeKeyring = true; security.pam.services.login.enableGnomeKeyring = true;

View File

@@ -261,6 +261,10 @@ in
# "move onscreen 0 0, tag:horizonrdp" # "move onscreen 0 0, tag:horizonrdp"
# float the vmware window cause its annoying to use in fullscreen # float the vmware window cause its annoying to use in fullscreen
"float, class:(.*[Vv][Mm]ware-view),title:([Vv][Mm]ware [Hh]orizon [Cc]lient)" "float, class:(.*[Vv][Mm]ware-view),title:([Vv][Mm]ware [Hh]orizon [Cc]lient)"
"tag +waydroid, class:([Ww]aydroid.*)"
"float, tag:waydroid"
"pin, tag:waydroid"
] ++ hyprlandSettings.windowRule; ] ++ hyprlandSettings.windowRule;
input = { input = {

View File

@@ -60,8 +60,8 @@ in
temperature = { temperature = {
hwmon-path = "/sys/class/hwmon/hwmon4/temp1_input"; hwmon-path = "/sys/class/hwmon/hwmon4/temp1_input";
critical-threshold = 100; critical-threshold = 110;
format-critical = "{temperatureC}°C {icon}"; format-critical = "{temperatureC}°C ";
format = "{temperatureC}°C {icon}"; format = "{temperatureC}°C {icon}";
format-icons = [ format-icons = [
"" # fa-temperature-empty "" # fa-temperature-empty
@@ -69,15 +69,14 @@ in
"" # fa-temperature-half "" # fa-temperature-half
"" # fa-temperature-three-quarters "" # fa-temperature-three-quarters
"" # fa-temperature-full "" # fa-temperature-full
"" # fa-temperature-high
]; ];
tooltip-format = "CPU: {temperatureC}°C"; tooltip-format = "CPU: {temperatureC}°C";
}; };
"temperature#gpu" = { "temperature#gpu" = {
hwmon-path = "/sys/class/hwmon/hwmon0/temp1_input"; hwmon-path = "/sys/class/hwmon/hwmon0/temp1_input";
critical-threshold = 100; critical-threshold = 110;
format-critical = "{temperatureC}°C {icon}"; format-critical = "{temperatureC}°C ";
format = "{temperatureC}°C {icon}"; format = "{temperatureC}°C {icon}";
format-icons = [ format-icons = [
"" # fa-temperature-empty "" # fa-temperature-empty
@@ -85,7 +84,6 @@ in
"" # fa-temperature-half "" # fa-temperature-half
"" # fa-temperature-three-quarters "" # fa-temperature-three-quarters
"" # fa-temperature-full "" # fa-temperature-full
"" # fa-temperature-high
]; ];
on-click = "lact"; on-click = "lact";
tooltip-format = "GPU: {temperatureC}°C"; tooltip-format = "GPU: {temperatureC}°C";
@@ -93,7 +91,6 @@ in
"keyboard-state#capslock" = { "keyboard-state#capslock" = {
capslock = true; capslock = true;
icon-size = 20;
format = "{icon}"; format = "{icon}";
tooltip-format = "Caps Lock {state}"; tooltip-format = "Caps Lock {state}";
format-icons = { format-icons = {
@@ -104,7 +101,6 @@ in
"keyboard-state#numlock" = { "keyboard-state#numlock" = {
numlock = true; numlock = true;
icon-size = 60;
format = "{icon}"; format = "{icon}";
tooltip-format = "Num Lock {state}"; tooltip-format = "Num Lock {state}";
format-icons = { format-icons = {
@@ -248,7 +244,7 @@ in
${defaultBorderRadius} ${defaultBorderRadius}
${defaultOpacity} ${defaultOpacity}
${defaultCenterOptions} ${defaultCenterOptions}
margin-left: 1rem; margin-left: 0.6rem;
} }
#workspaces button { #workspaces button {
@@ -326,6 +322,11 @@ in
background-color: ${settings.theme.nord.polarNight.nord0}; background-color: ${settings.theme.nord.polarNight.nord0};
${defaultOpacity} ${defaultOpacity}
${borderRight} ${borderRight}
padding-right: 1rem;
}
#idle_inhibitor:hover {
background: ${settings.theme.nord.polarNight.nord3};
} }
#network { #network {
@@ -345,6 +346,10 @@ in
border-radius: 0; border-radius: 0;
} }
#bluetooth:hover {
background: ${settings.theme.nord.polarNight.nord3};
}
#wireplumber.source { #wireplumber.source {
color: ${settings.theme.nord.frost.nord8}; color: ${settings.theme.nord.frost.nord8};
background-color: ${settings.theme.nord.polarNight.nord0}; background-color: ${settings.theme.nord.polarNight.nord0};
@@ -353,6 +358,10 @@ in
border-radius: 0; border-radius: 0;
} }
#wireplumber.source:hover {
background: ${settings.theme.nord.polarNight.nord3};
}
#wireplumber.sink { #wireplumber.sink {
color: ${settings.theme.nord.frost.nord7}; color: ${settings.theme.nord.frost.nord7};
background-color: ${settings.theme.nord.polarNight.nord0}; background-color: ${settings.theme.nord.polarNight.nord0};
@@ -361,6 +370,10 @@ in
border-radius: 0; border-radius: 0;
} }
#wireplumber.sink:hover {
background: ${settings.theme.nord.polarNight.nord3};
}
#keyboard-state.numlock { #keyboard-state.numlock {
color: ${settings.theme.nord.frost.nord8}; color: ${settings.theme.nord.frost.nord8};
background-color: ${settings.theme.nord.polarNight.nord0}; background-color: ${settings.theme.nord.polarNight.nord0};
@@ -385,6 +398,10 @@ in
border-radius: 0; border-radius: 0;
} }
#temperature.gpu:hover {
background: ${settings.theme.nord.polarNight.nord3};
}
#temperature { #temperature {
color: ${settings.theme.nord.frost.nord9}; color: ${settings.theme.nord.frost.nord9};
background-color: ${settings.theme.nord.polarNight.nord0}; background-color: ${settings.theme.nord.polarNight.nord0};
@@ -400,7 +417,7 @@ in
${defaultOpacity} ${defaultOpacity}
${defaultCenterOptions} ${defaultCenterOptions}
${defaultBorderRadius} ${defaultBorderRadius}
margin-right: 1rem; margin-right: 0.6rem;
} }
/* ------------- */ /* ------------- */

View File

@@ -2,6 +2,23 @@
let let
settings = import ./settings.nix { inherit pkgs hyprlandSettings; }; settings = import ./settings.nix { inherit pkgs hyprlandSettings; };
wallpaper = "/run/wallpaper.jpg"; wallpaper = "/run/wallpaper.jpg";
jiggler = pkgs.python3.pkgs.buildPythonPackage rec {
pname = "jiggler";
version = "0.0.3";
format = "pyproject";
src = pkgs.fetchPypi {
inherit pname version;
sha256 = "sha256-6M4CbwxajYaQ5s73y+arKewLgu/pjfCay2giVVGYjhM=";
};
# do not run tests
doCheck = false;
nativeBuildInputs = with pkgs.python3.pkgs; [ setuptools ];
propagatedBuildInputs = with pkgs.python3.pkgs; [
click
pynput
];
};
in in
{ {
imports = [ imports = [
@@ -216,7 +233,9 @@ in
size = settings.cursorSize; size = settings.cursorSize;
}; };
packages = settings.requiredPkgs; packages = [
jiggler
] ++ settings.requiredPkgs;
}; };
dconf = { dconf = {

View File

@@ -38,15 +38,15 @@
defaultOpacity = "opacity: 0.85;"; defaultOpacity = "opacity: 0.85;";
defaultBorderRadius = "border-radius: 1rem;"; defaultBorderRadius = "border-radius: 1rem;";
defaultCenterOptions = '' defaultCenterOptions = ''
padding-top: 0.5rem; padding-top: 0.2rem;
padding-bottom: 0.5rem; padding-bottom: 0.2rem;
padding-left: 0.5rem; padding-left: 0.5rem;
padding-right: 0.5rem; padding-right: 0.5rem;
margin: 3px 0; margin: 3px 0;
''; '';
borderRight = '' borderRight = ''
padding-top: 0.5rem; padding-top: 0.2rem;
padding-bottom: 0.5rem; padding-bottom: 0.2rem;
padding-left: 0.5rem; padding-left: 0.5rem;
padding-right: 0.5rem; padding-right: 0.5rem;
margin: 3px 0; margin: 3px 0;
@@ -54,8 +54,8 @@
margin-right: 0.5rem; margin-right: 0.5rem;
''; '';
borderLeft = '' borderLeft = ''
padding-top: 0.5rem; padding-top: 0.2rem;
padding-bottom: 0.5rem; padding-bottom: 0.2rem;
padding-left: 0.5rem; padding-left: 0.5rem;
padding-right: 0.5rem; padding-right: 0.5rem;
margin: 3px 0; margin: 3px 0;