mirror of
https://github.com/nix-community/home-manager
synced 2024-11-14 07:09:45 +01:00
parent
467b774d13
commit
d2572315ca
1 changed files with 2 additions and 2 deletions
|
@ -549,12 +549,12 @@ in
|
||||||
{
|
{
|
||||||
home.packages = [ cfg.package ];
|
home.packages = [ cfg.package ];
|
||||||
xsession.windowManager.command = "${cfg.package}/bin/i3";
|
xsession.windowManager.command = "${cfg.package}/bin/i3";
|
||||||
home.file.".config/i3/config".source = configFile;
|
xdg.configFile."i3/config".source = configFile;
|
||||||
|
|
||||||
home.activation.checkI3 = dagEntryBefore [ "linkGeneration" ] ''
|
home.activation.checkI3 = dagEntryBefore [ "linkGeneration" ] ''
|
||||||
if ! cmp --quiet \
|
if ! cmp --quiet \
|
||||||
"${configFile}" \
|
"${configFile}" \
|
||||||
"$HOME/.config/i3/config"; then
|
"${config.xdg.configHome}/i3/config"; then
|
||||||
i3Changed=1
|
i3Changed=1
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue