minimise nesting in /home

This commit is contained in:
xunuwu 2025-06-06 12:58:39 +02:00
parent caa2a3d7c5
commit 383d9f878e
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
37 changed files with 40 additions and 45 deletions

View file

@ -0,0 +1,39 @@
{pkgs, ...}: {
programs.waybar = {
enable = true;
package = pkgs.waybar.overrideAttrs (final: prev: {
patches = [./waybar-workspace.patch];
});
settings = [
{
height = 24;
spacing = 4;
position = "top";
modules-left = [
"sway/workspaces"
];
modules-center = [
"sway/window"
];
modules-right = [
"tray"
"clock"
];
"sway/workspaces" = {
format = "{icon}";
};
"sway/window" = {
max-length = 80;
};
clock = {
format = "{:%V|%d %a %H:%M}";
tooltip-format = "<big>{:%a %Y-%m-%d %H:%M}</big>\n<small>{calendar}</small>";
};
}
];
systemd = {
enable = true;
target = "sway-session.target";
};
};
}