hyprland: only enable configuration when it's enabled the current desktop
This commit is contained in:
parent
a846f50b42
commit
3f59aa318e
|
@ -1,5 +1,5 @@
|
||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
config = {
|
config = lib.mkIf (pkgs.uservars.desktop == "hyprland") {
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = false;
|
enable = false;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
Loading…
Reference in a new issue