fix dms service

This commit is contained in:
EdenQwQ 2025-10-16 20:46:51 +08:00
parent a56be20362
commit 5e08e02cd5
4 changed files with 20 additions and 21 deletions

30
flake.lock generated
View file

@ -166,11 +166,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1759884507, "lastModified": 1760584313,
"narHash": "sha256-YhsD1d0Xk2LXp4Hgx7xI5nRS9REMKb+QGpejFM3fcdU=", "narHash": "sha256-cCEZoo/ClpMzs8dHMcH5nb+zTfJyrBfgEVQt1+8Fy30=",
"owner": "AvengeMedia", "owner": "AvengeMedia",
"repo": "DankMaterialShell", "repo": "DankMaterialShell",
"rev": "8cd0d5faa5f546472d3be5e843d58402ae3215a6", "rev": "daa0d368ab8f1e6216679d74225d817eca93eabf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -209,11 +209,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1757252286, "lastModified": 1760238269,
"narHash": "sha256-QwWQzlxAGvIi6VAc8DQ6ONCKKwtPyaHQW1cQyGbP7Og=", "narHash": "sha256-7CeGZM/Z/5Qt3AYByCRohGYGR1MRuXYzTTbkV/JxyAs=",
"owner": "AvengeMedia", "owner": "AvengeMedia",
"repo": "dgop", "repo": "dgop",
"rev": "a65a02ddf8bade9c109d055e644e4bd851183bd5", "rev": "95acdfce2d323e28fa8f5a4f345160962034f2b5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -230,11 +230,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1757296630, "lastModified": 1760241259,
"narHash": "sha256-3H236F5oIKkqpfnwrvZQs4Y5imKb6JCMFGDkHs8VDjQ=", "narHash": "sha256-DlLGn+4M6tIafoDsHr2WhHG2hrHrC24S2IL3+KAvjEU=",
"owner": "AvengeMedia", "owner": "AvengeMedia",
"repo": "danklinux", "repo": "danklinux",
"rev": "dac591711ab30d6b071a5cec674a3d2e04665ee1", "rev": "dae4c3ff4ce0feb930361c399747edb29d081775",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1197,11 +1197,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1757034884, "lastModified": 1760164275,
"narHash": "sha256-PgLSZDBEWUHpfTRfFyklmiiLBE1i1aGCtz4eRA3POao=", "narHash": "sha256-gKl2Gtro/LNf8P+4L3S2RsZ0G390ccd5MyXYrTdMCFE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ca77296380960cd497a765102eeb1356eb80fed0", "rev": "362791944032cb532aabbeed7887a441496d5e6e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1331,11 +1331,11 @@
"systems": "systems_7" "systems": "systems_7"
}, },
"locked": { "locked": {
"lastModified": 1760488990, "lastModified": 1760571015,
"narHash": "sha256-Aeil4laSOfqcOPdhApUVyIKR371yKuEIfJ5xMD5S6Zw=", "narHash": "sha256-rG3pqJ3Yta+cCrnclftJ4Dx6961XCW18NHS+CO1b+Os=",
"owner": "noctalia-dev", "owner": "noctalia-dev",
"repo": "noctalia-shell", "repo": "noctalia-shell",
"rev": "33a52ec5fd683a52c82ec8ff380d0def77602cd1", "rev": "2ce0992b19dca6c3d9934259936526b0c36ef0c3",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -51,8 +51,8 @@
if ${pkgs.systemd}/bin/systemctl --user is-active waybar.service; then if ${pkgs.systemd}/bin/systemctl --user is-active waybar.service; then
run --silence ${pkgs.systemd}/bin/systemctl --user stop waybar.service run --silence ${pkgs.systemd}/bin/systemctl --user stop waybar.service
fi fi
if ${pkgs.systemd}/bin/systemctl --user is-active quickshell.service; then if ${pkgs.systemd}/bin/systemctl --user is-active dms.service; then
run --silence ${pkgs.systemd}/bin/systemctl --user stop quickshell.service run --silence ${pkgs.systemd}/bin/systemctl --user stop dms.service
fi fi
if ${pkgs.systemd}/bin/systemctl --user is-active caelestia.service; then if ${pkgs.systemd}/bin/systemctl --user is-active caelestia.service; then
run --silence ${pkgs.systemd}/bin/systemctl --user stop caelestia.service run --silence ${pkgs.systemd}/bin/systemctl --user stop caelestia.service
@ -60,9 +60,7 @@
if ${pkgs.systemd}/bin/systemctl --user is-active noctalia-shell.service; then if ${pkgs.systemd}/bin/systemctl --user is-active noctalia-shell.service; then
run --silence ${pkgs.systemd}/bin/systemctl --user stop noctalia-shell.service run --silence ${pkgs.systemd}/bin/systemctl --user stop noctalia-shell.service
fi fi
run --silence ${pkgs.systemd}/bin/systemctl --user start ${ run --silence ${pkgs.systemd}/bin/systemctl --user start ${config.desktopShell}.service
if config.desktopShell == "dms" then "quickshell" else config.desktopShell
}.service
''; '';
}; };
}; };

View file

@ -25,6 +25,7 @@
mTeritiary = base0C; mTeritiary = base0C;
}; };
settings = { settings = {
setupCompleted = true;
bar = { bar = {
backgroundOpacity = 0.6; backgroundOpacity = 0.6;
density = "comfortable"; density = "comfortable";

View file

@ -7,5 +7,5 @@
./wallpaper.nix ./wallpaper.nix
./colorscheme.nix ./colorscheme.nix
]; ];
desktopShell = "noctalia-shell"; desktopShell = "dms";
} }