feat: restructured some stuff for user1

This commit is contained in:
Nick 2025-03-13 17:24:51 -05:00
parent 8e918f915c
commit cfdf20a39c
76 changed files with 233 additions and 99 deletions

View file

@ -1,8 +1,13 @@
{ flake, ... }:
{ flake, config, ... }:
let
inherit (flake.config.people)
user0
user1
user2
;
user = config.home.username;
userConfig = flake.config.people.users.${user};
in
{
mainBar = {
@ -30,6 +35,7 @@ in
"disk"
"pulseaudio"
# "network"
"battery"
"clock"
];
@ -153,12 +159,29 @@ in
};
"custom/weather" = {
exec = "/home/${user0}/Files/Projects/dotfiles/modules/home/gui/desktop/wayland/waybar/config/scripts/get_weather.sh Winnipeg";
exec = "/home/${user}/.config/scripts/get_weather.sh Winnipeg";
return-type = "json";
format = "{}";
tooltip = true;
interval = 3600;
};
battery = {
format = "{icon} {capacity}%";
format-alt = "{icon} {time}";
format-charging = " {capacity}%";
format-icons = [
""
""
""
""
""
];
format-plugged = " {capacity}%";
states = {
critical = 15;
warning = 30;
};
};
};
}
# https://unicodes.jessetane.com/