diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-07-01 23:07:27 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-07-01 23:07:27 +0530 |
commit | e01988d4ae959526d3837b146c7e186606f231a3 (patch) | |
tree | 2506771c15bd284e2bafd2e532d31df3f215c5e5 /home | |
parent | 96f31a0933c81840d6c9993cbd48435f7e7dbfac (diff) |
home/wayalnd/sway: disable XWayland
Diffstat (limited to 'home')
-rw-r--r-- | home/wayland/modules/sway/home.nix | 25 |
1 files changed, 15 insertions, 10 deletions
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; |