Changed some configs

This commit is contained in:
2025-06-22 10:09:41 +02:00
parent f475b7b4ab
commit 79d07a5bfd
5 changed files with 55 additions and 47 deletions

View File

@@ -59,13 +59,29 @@ in {
};
programs.niri.settings.workspaces = {
"gen" = { open-on-output = "DP-1"; };
"web" = { open-on-output = "HDMI-A-1"; };
"com" = { open-on-output = "HDMI-A-1"; };
"dev" = { open-on-output = "DP-1"; };
"mus" = { open-on-output = "HDMI-A-1"; };
"00-app" = { name = "app"; open-on-output = "DP-1"; };
"01-term" = { name = "term"; open-on-output = "DP-1"; };
"10-web" = { name = "web"; open-on-output = "HDMI-A-1"; };
"11-mus" = { name = "mus"; open-on-output = "HDMI-A-1"; };
"12-com" = { name = "com"; open-on-output = "HDMI-A-1"; };
};
# Default startup applications
programs.niri.settings.spawn-at-startup = [
{ command = ["vesktop"]; }
{ command = ["thunderbird"]; }
];
programs.niri.settings.window-rules = [
{
matches = [
{ at-startup = true; app-id = "vesktop"; }
{ at-startup = true; app-id = "thunderbird"; }
];
open-on-workspace = "com";
}
];
programs.niri.settings.binds = with config.lib.niri.actions; {
"Mod+Shift+Slash".action = show-hotkey-overlay;

View File

@@ -29,21 +29,49 @@ in {
position = "top";
modules-left = [
"niri/workspaces"
"niri/window"
];
modules-center = [
"clock"
];
modules-right = [
"tray"
"network"
"pulseaudio"
];
"clock" = {
"format" = "{:%H:%M - %a, %d %b %Y}";
};
"tray" = {
"spacing" = 8;
};
};
};
programs.waybar.style = ''
programs.waybar.style = /* css */''
#workspaces button {
padding: 0 5px;
background: transparent;
color: @base05;
border-bottom: 2px solid transparent;
border-radius: 0;
}
window#waybar>box {
padding: 0 5px;
}
#workspaces button.active {
border-bottom: 2px solid @base05;
}
#tray {
padding: 0 5px;
}
#network {
padding: 0 5px;
}
'';
};
}

View File

@@ -42,7 +42,7 @@ in {
stylix.base16Scheme = lib.mkIf (cfg.theme != "theme") "${pkgs.base16-schemes}/share/themes/${cfg.theme}.yaml";
stylix.autoEnable = true;
stylix.opacity.terminal = 0.95;
# stylix.opacity.terminal = 0.9;
stylix.cursor = {
package = pkgs.phinger-cursors;