hyprland: only enable configuration when it's enabled the current desktop

This commit is contained in:
Leonardo Eugênio 2023-02-08 12:42:04 -03:00
parent a846f50b42
commit 3f59aa318e

View file

@ -1,5 +1,5 @@
{ config, pkgs, lib, ... }: {
config = {
config = lib.mkIf (pkgs.uservars.desktop == "hyprland") {
wayland.windowManager.hyprland = {
enable = false;
extraConfig = ''