feat: move to ly
move to ly DM in order to fix the annoying xdg-desktop-portal
This commit is contained in:
@@ -85,6 +85,7 @@
|
||||
};
|
||||
|
||||
spawn-at-startup = map (c: { command = c; }) [
|
||||
[ "waybar" ]
|
||||
[ "${lib.getExe pkgs.xwayland-satellite-unstable}" ]
|
||||
[ "${lib.getExe' pkgs.swaynotificationcenter "swaync"}" ]
|
||||
[
|
||||
@@ -92,11 +93,6 @@
|
||||
"-i"
|
||||
(toString ./wallpaper.png)
|
||||
]
|
||||
[
|
||||
"${lib.getExe pkgs.wl-clip-persist}"
|
||||
"--clipboard"
|
||||
"regular"
|
||||
]
|
||||
[
|
||||
"wl-paste"
|
||||
"--type"
|
||||
|
||||
@@ -40,27 +40,21 @@ in
|
||||
xdg-desktop-portal-gnome
|
||||
];
|
||||
};
|
||||
programs.uwsm = {
|
||||
services.displayManager.ly = {
|
||||
enable = true;
|
||||
waylandCompositors = {
|
||||
niri = {
|
||||
prettyName = "niri";
|
||||
comment = "Niri compositor managed by UWSM";
|
||||
binPath = pkgs.writeShellScript "niri-session" ''
|
||||
${lib.getExe pkg} --session
|
||||
'';
|
||||
};
|
||||
settings = {
|
||||
animation = "matrix";
|
||||
tty = 12;
|
||||
};
|
||||
};
|
||||
programs.niri = {
|
||||
enable = true;
|
||||
package = pkg;
|
||||
};
|
||||
my.home = {
|
||||
programs.niri = {
|
||||
enable = true;
|
||||
package = pkg;
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
wlr-randr
|
||||
wl-clipboard
|
||||
wl-clip-persist
|
||||
cliphist
|
||||
swaynotificationcenter
|
||||
nemo-with-extensions
|
||||
@@ -76,7 +70,7 @@ in
|
||||
};
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
systemd.enable = false;
|
||||
};
|
||||
xdg.configFile."waybar/config.jsonc".text = builtins.toJSON (import ./waybar/config.nix args);
|
||||
xdg.configFile."waybar/style.css" = {
|
||||
|
||||
Reference in New Issue
Block a user