From 3365a872bc97ebdc81d597b254b4409023fbfc15 Mon Sep 17 00:00:00 2001 From: Nydragon Date: Wed, 11 Dec 2024 19:43:40 +0100 Subject: [PATCH] Revert "feat: add uwsm" This reverts commit 9894be9b65cf5bab0de2b7133ca2facee30ae6da. --- modules/programs/hyprland.nix | 11 +---------- modules/programs/sway.nix | 16 +++------------- 2 files changed, 4 insertions(+), 23 deletions(-) diff --git a/modules/programs/hyprland.nix b/modules/programs/hyprland.nix index 887ea44..1b0f938 100644 --- a/modules/programs/hyprland.nix +++ b/modules/programs/hyprland.nix @@ -1,10 +1 @@ -{ lib, config, ... }: -lib.mkIf config.programs.hyprland.enable { - programs.uwsm = { - waylandCompositors.hyprland = { - prettyName = "Hyprland"; - comment = "Hyprland compositor managed by UWSM"; - binPath = "/run/current-system/sw/bin/Hyprland"; - }; - }; -} +{ lib, config, ... }: lib.mkIf config.programs.hyprland.enable { } diff --git a/modules/programs/sway.nix b/modules/programs/sway.nix index 69064b8..89ee960 100644 --- a/modules/programs/sway.nix +++ b/modules/programs/sway.nix @@ -1,17 +1,7 @@ { config, lib, ... }: lib.mkIf config.programs.sway.enable { - - programs = { - uwsm = { - waylandCompositors.sway = { - prettyName = "Sway"; - comment = "Sway compositor managed by UWSM"; - binPath = "/run/current-system/sw/bin/sway"; - }; - }; - sway = { - wrapperFeatures.gtk = true; - extraPackages = [ ]; - }; + programs.sway = { + wrapperFeatures.gtk = true; + extraPackages = [ ]; }; }