Compare commits

...

3 commits

4 changed files with 18 additions and 14 deletions

View file

@ -641,15 +641,15 @@ in
(match [ (match [
{ {
app-id = "^steam$"; app-id = "^steam$";
title = "^notification.*$"; title = "^notificationtoasts_\\d+_desktop$";
} }
]) ])
(leaf "open-floating" [ true ]) (leaf "open-floating" [ true ])
(leaf "open-focused" [ false ]) (leaf "open-focused" [ false ])
(leaf "default-floating-position" [ (leaf "default-floating-position" [
{ {
x = 0; x = 10;
y = 0; y = 10;
"relative-to" = "bottom-right"; "relative-to" = "bottom-right";
} }
]) ])

View file

@ -50,6 +50,7 @@ in
wl-clipboard wl-clipboard
cliphist cliphist
swayimg swayimg
seahorse
]) ])
++ [ niri ]; ++ [ niri ];
qt = { qt = {

View file

@ -0,0 +1,9 @@
{ lib, ... }:
{
config.specialisation.cosmic = {
inheritParentConfig = true;
configuration = {
youthlic.gui.enabled = lib.mkForce "cosmic";
};
};
}

View file

@ -8,18 +8,12 @@ let
in in
{ {
config = lib.mkIf (cfg.enabled == "cosmic") { config = lib.mkIf (cfg.enabled == "cosmic") {
# Enable the X11 windowing system. services = {
# You can disable this if you're only using the Wayland session. desktopManager.cosmic = {
services.xserver = {
display = 0;
enable = true; enable = true;
xkb = { xwayland.enable = true;
layout = "us";
variant = "";
}; };
displayManager.cosmic-greeter.enable = true;
}; };
services.desktopManager.cosmic.enable = true;
services.displayManager.cosmic-greeter.enable = true;
}; };
} }