From 3f59aa318e1347aa7dd3b3281fde2ff7f67454c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Wed, 8 Feb 2023 12:42:04 -0300 Subject: [PATCH] hyprland: only enable configuration when it's enabled the current desktop --- user/hyprland.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/hyprland.nix b/user/hyprland.nix index b9ef26c..992964a 100644 --- a/user/hyprland.nix +++ b/user/hyprland.nix @@ -1,5 +1,5 @@ { config, pkgs, lib, ... }: { - config = { + config = lib.mkIf (pkgs.uservars.desktop == "hyprland") { wayland.windowManager.hyprland = { enable = false; extraConfig = ''