non important commit
This commit is contained in:
parent
1d8fa17b4d
commit
e6af920b6f
2 changed files with 3 additions and 5 deletions
|
|
@ -9,6 +9,8 @@ in {
|
||||||
environment.systemPackages = [quick_shell];
|
environment.systemPackages = [quick_shell];
|
||||||
|
|
||||||
systemd.user.services.quickshell = {
|
systemd.user.services.quickshell = {
|
||||||
|
restartIfChanged = true;
|
||||||
|
|
||||||
description = "quickshell desktop shell";
|
description = "quickshell desktop shell";
|
||||||
wantedBy = ["graphical-session.target"];
|
wantedBy = ["graphical-session.target"];
|
||||||
partOf = ["graphical-session.target"];
|
partOf = ["graphical-session.target"];
|
||||||
|
|
@ -20,8 +22,4 @@ in {
|
||||||
RestartSec = 3;
|
RestartSec = 3;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
system.userActivationScripts.restartQuickshell = ''
|
|
||||||
${pkgs.systemd}/bin/systemctl --user restart quickshell.service || true
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{stdenv}:
|
{stdenv}:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "quickshell-config";
|
pname = "quickshell-config";
|
||||||
version = "stable";
|
version = "unstable";
|
||||||
src = ./config;
|
src = ./config;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cp -r . $out
|
cp -r . $out
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue