From 328a4cae69d4b27ee85670bdafb14cf63665ed30 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Wed, 11 Dec 2024 23:42:26 +1000 Subject: [PATCH] fully removed hyprland, expanding sway config --- core/modules/display.nix | 9 --------- home/desktop/sway.nix | 8 +++++++- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/core/modules/display.nix b/core/modules/display.nix index 2ea3521..51cb462 100755 --- a/core/modules/display.nix +++ b/core/modules/display.nix @@ -35,15 +35,6 @@ #defaultFontPath = "/run/current-system/sw/share/X11/fonts"; }; - ## Temporary, fuck vaxery or whatever his name is - ## punk-ass motherfucker, swayfx looks neat - hyprland = { - enable = true; - package = inputs.hyprland.packages."${pkgs.system}".hyprland; - ## Hyprland's implementation of xwayland - #xwayland.enable = true; - }; - ## enable sway window manager sway = { enable = true; diff --git a/home/desktop/sway.nix b/home/desktop/sway.nix index e4c11d8..3930c59 100755 --- a/home/desktop/sway.nix +++ b/home/desktop/sway.nix @@ -13,7 +13,13 @@ in { wayland.windowManager.sway = { enable = true; - extraSessionCommands = ""; + extraSessionCommands = '' + export SDL_VIDEODRIVER=wayland + export QT_QPA_PLATFORM=wayland + export QT_WAYLAND_DISABLE_WINDOWDECORATION="1" + export XDG_CURRENT_DESKTOP=sway + export XDG_SESSION_TYPE=wayland + ''; extraConfig = ""; xwayland = true; checkConfig = false;