summaryrefslogtreecommitdiff
path: root/home/wayland/modules
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-07-01 23:07:27 +0530
committersinanmohd <sinan@sinanmohd.com>2024-07-01 23:07:27 +0530
commite01988d4ae959526d3837b146c7e186606f231a3 (patch)
tree2506771c15bd284e2bafd2e532d31df3f215c5e5 /home/wayland/modules
parent96f31a0933c81840d6c9993cbd48435f7e7dbfac (diff)
home/wayalnd/sway: disable XWayland
Diffstat (limited to 'home/wayland/modules')
-rw-r--r--home/wayland/modules/sway/home.nix25
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;