feat: niri, new winters ip, mail fixes

This commit is contained in:
Leon Schwarzäugl 2025-08-24 14:56:50 +02:00
parent 6ea3851e72
commit 915bf256da
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
61 changed files with 1814 additions and 965 deletions

View file

@ -70,20 +70,29 @@ in
enable = true;
systemd = {
enable = true;
target = "sway-session.target";
# target = "sway-session.target";
inherit (config.wayland.systemd) target;
};
settings = {
mainBar = {
ipc = true;
id = "bar-0";
# mode = "hide";
# mode = "overlay";
# passthrough = false;
# start_hidden = true;
layer = "top";
position = "top";
modules-left = [ "sway/workspaces" "custom/outer-right-arrow-dark" "sway/window" ];
modules-left = [ "sway/workspaces" "niri/workspaces" "custom/outer-right-arrow-dark" "niri/window" "sway/window" ];
modules-center = [ "sway/mode" "privacy" "custom/github" "custom/configwarn" "custom/nix-updates" ];
"sway/mode" = {
format = "<span style=\"italic\" font-weight=\"bold\">{}</span>";
};
"niri/window" = {
format = "<span style=\"italic\" font-weight=\"bold\">{title} ({app_id})</span>";
};
modules-right = config.swarselsystems.waybarModules;
"custom/pseudobat" = lib.mkIf (!config.swarselsystems.isLaptop) {