waybar | remove call to weather

This commit is contained in:
Don Harper 2025-04-09 07:18:37 -05:00
parent 7d2d8197bf
commit 14c0c0eaf4

View file

@ -1,8 +1,6 @@
{ inputs, pkgs, hostname, outputs, osConfig, ... }: {
xdg.configFile."sway/config".source =
./files/sway/${osConfig.networking.hostName};
xdg.configFile."waybar/weather.py".source = ./files/sway/weather.py;
xdg.configFile."waybar/weather.conf".source = ./files/sway/weather.conf;
programs = {
swaylock = {
@ -30,7 +28,6 @@
modules-right = [
"idle_inhibitor"
"custom/toggle-sink"
"custom/weather"
"custom/mytimew"
"pulseaudio"
"custom/mymusic"
@ -59,11 +56,6 @@
on-scroll-down = "${pkgs.light}/bin/light -A 1";
on-scroll-up = "${pkgs.light}/bin/light -U 1";
};
"custom/weather" = {
exec = "~/.config/waybar/weather.py";
interval = 300;
return-type = "json";
};
"custom/toggle-sink" = {
format = "sink";
on-click = "~/bin/toggle-sink";
@ -172,7 +164,7 @@
#workspaces button.focused { background: #64727D; border-bottom: 3px solid #ffffff; }
#workspaces button.urgent { background-color: #eb4d4b; }
#mode { background: #64727D; border-bottom: 3px solid #ffffff; }
#clock, #battery, #cpu, #memory, #temperature, #backlight, #network, #pulseaudio, #custom-weather, #custom-mymusic, #tray, #mode, #idle_inhibitor, #bluetooth {
#clock, #battery, #cpu, #memory, #temperature, #backlight, #network, #pulseaudio, #custom-mymusic, #tray, #mode, #idle_inhibitor, #bluetooth {
padding: 0 5px;
margin: 0 0px;
}
@ -197,7 +189,6 @@
#network.disconnected { background: #ff5555; }
#pulseaudio { background: #ffb86c; color: #000000; }
#pulseaudio.muted { background: #90b1b1; color: #2a5c45; }
#custom-weather { background: #bd93f9; color: #000000; }
#custom-mytimew { background: #8be9fd; color: #000000; }
#custom-mymusic { background: #8be9fd; color: #000000; }
#custom-mycal { background: #cccc99; color: #2a5c45; }