niri: don't spawn status monitor on non-trailblazer machines
This commit is contained in:
parent
55c6e87224
commit
76beec3f8c
1 changed files with 3 additions and 1 deletions
|
@ -6,10 +6,12 @@
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
niri,
|
niri,
|
||||||
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
niri-flake = niri;
|
niri-flake = niri;
|
||||||
|
sysConfig = config;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Add in some basic control utilities to our system config.
|
# Add in some basic control utilities to our system config.
|
||||||
|
@ -361,7 +363,7 @@ in
|
||||||
|
|
||||||
niri msg action spawn -- ${xwayland-satellite-loop}/bin/xwayland-satellite-loop
|
niri msg action spawn -- ${xwayland-satellite-loop}/bin/xwayland-satellite-loop
|
||||||
niri msg action spawn -- home-assistant-desktop
|
niri msg action spawn -- home-assistant-desktop
|
||||||
niri msg action spawn -- ${pkgs.mission-center}/bin/missioncenter
|
${if (sysConfig.networking.hostName != "trailblazer") then "#" else ""}niri msg action spawn -- ${pkgs.mission-center}/bin/missioncenter
|
||||||
|
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue