fix vmware, fix hass script

This commit is contained in:
mjallen18
2025-06-27 21:10:47 -05:00
parent 6639792b54
commit 1ad3669908
13 changed files with 138 additions and 205 deletions

View File

@@ -23,6 +23,7 @@ let
in
{
imports = [
./scripts/hass.nix
./scripts/weather.nix
];
# https://github.com/Alexays/Waybar/wiki/Module:-Hyprland
@@ -48,7 +49,6 @@ in
modules-right = [
"tray"
# "custom/updates"
"custom/lights"
"temperature"
"temperature#gpu"
@@ -84,18 +84,10 @@ in
spacing = 10;
};
# "custom/updates" = {
# tooltip = true;
# format = { };
# interval = 30;
# exec = "waybar-updates";
# return-type = "json";
# };
"custom/lights" = {
tooltip = false;
format = "󱉓";
on-click = "nix-shell /home/matt/.config/waybar/scripts/hass.nix --run \"python /home/matt/.config/waybar/scripts/hass.py --toggle_light light.bedroom_lights\"";
on-click = "waybar-hass --toggle_light light.living_room_lights";
};
temperature = {
@@ -372,13 +364,6 @@ in
border-radius: 0;
}
#custom-updates {
color: ${theme.nord.frost.nord8};
background-color: ${theme.nord.polarNight.nord0};
${defaultOpacity}
${borderLeft}
}
#custom-lights {
color: ${theme.nord.frost.nord8};
background-color: ${theme.nord.polarNight.nord0};