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

@@ -261,6 +261,10 @@ in
# "move onscreen 0 0, tag:horizonrdp"
# 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)"
"tag +waydroid, class:([Ww]aydroid.*)"
"float, tag:waydroid"
"pin, tag:waydroid"
] ++ hyprlandSettings.windowRule;
input = {

View File

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

View File

@@ -2,6 +2,23 @@
let
settings = import ./settings.nix { inherit pkgs hyprlandSettings; };
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
{
imports = [
@@ -216,7 +233,9 @@ in
size = settings.cursorSize;
};
packages = settings.requiredPkgs;
packages = [
jiggler
] ++ settings.requiredPkgs;
};
dconf = {

View File

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