tv xmonad: add currentSystem to executable name
This prevents journal messges like: XMonad is recompiling and replacing itself another XMonad process because the current process is called "xmonad" but the compiled configuration should be called "xmonad-x86_64-linux"
This commit is contained in:
parent
d5551ed214
commit
1d7fddc064
@ -100,8 +100,8 @@ in {
|
||||
"\${XMONAD_CONFIG_DIR}"
|
||||
"\${XMONAD_DATA_DIR}"
|
||||
]}";
|
||||
ExecStart = "${pkgs.xmonad-tv}/bin/xmonad";
|
||||
ExecStop = "${pkgs.xmonad-tv}/bin/xmonad --shutdown";
|
||||
ExecStart = "${pkgs.xmonad-tv}/bin/xmonad-${currentSystem}";
|
||||
ExecStop = "${pkgs.xmonad-tv}/bin/xmonad-${currentSystem} --shutdown";
|
||||
User = cfg.user.name;
|
||||
WorkingDirectory = cfg.user.home;
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ pkgs, ... }:
|
||||
pkgs.writeHaskellPackage "xmonad-tv" {
|
||||
executables.xmonad = {
|
||||
executables."xmonad-${builtins.currentSystem}" = {
|
||||
extra-depends = [
|
||||
"containers"
|
||||
"extra"
|
||||
|
Loading…
Reference in New Issue
Block a user