feat: integrate system config

This commit is contained in:
2023-12-23 00:34:40 +01:00
parent f082d6eb65
commit 044e96eda4
140 changed files with 638 additions and 229 deletions

View File

@@ -0,0 +1,43 @@
{
enable = true;
settings = {
mainBar = {
layer = "top";
position = "top";
height = 48;
output = "HDMI-A-1";
modules-left = ["wlr/workspaces"];
modules-center = ["wlr/taskbar"];
modules-right = ["custom/weather" "clock"];
"wlr/taskbar" = {
all-outputs = true;
format = "{icon}";
icon-size = 32;
on-click = "activate";
};
"custom/weather" = {
format = "{}";
tooltip = true;
interval = 3600;
exec = "wttrbar --location Berlin";
return-type = "json";
};
"wlr/workspaces" = {
all-outputs = true;
format = "<sub>{icon}</sub>\n{windows}";
format-window-separator = "\n";
window-rewrite = {
"(.*) Mozilla Firefox" = "";
};
};
};
};
style = ''
window#waybar {
background: black;
}
'';
}