Changed some configs
This commit is contained in:
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user