From e01988d4ae959526d3837b146c7e186606f231a3 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 1 Jul 2024 23:07:27 +0530 Subject: home/wayalnd/sway: disable XWayland --- home/wayland/modules/sway/home.nix | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'home/wayland/modules/sway') diff --git a/home/wayland/modules/sway/home.nix b/home/wayland/modules/sway/home.nix index 241c1d4..fbc2411 100644 --- a/home/wayland/modules/sway/home.nix +++ b/home/wayland/modules/sway/home.nix @@ -33,21 +33,26 @@ in { ./i3status.nix ]; - home.packages = [ - pkgs.wl-clipboard - pkgs.nnn - pkgs.bemenu - pkgs.swayidle - pkgs.brightnessctl - wayland-scripts - ]; + home = { + packages = [ + pkgs.wl-clipboard + pkgs.nnn + pkgs.bemenu + pkgs.swayidle + pkgs.brightnessctl + wayland-scripts + ]; + + sessionVariables.XDG_CURRENT_DESKTOP = "sway"; + }; wayland.windowManager.sway = { enable = true; - config = null; + package = pkgs.sway.override { enableXWayland = false; }; + # checkConfig fails if ${background} doesn't exist checkConfig = false; - + config = null; settings = { bar = { inherit font; -- cgit v1.2.3