From 25d95389b4f5ecc5a4c61beae43146796efe177a Mon Sep 17 00:00:00 2001 From: insert Date: Sat, 13 Jul 2024 01:50:19 -0400 Subject: [PATCH] get rid of hyprland to fix xdg-desktop-portal --- configuration.nix | 5 +++-- home.nix | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index 718160b..3ecc3e6 100644 --- a/configuration.nix +++ b/configuration.nix @@ -298,7 +298,8 @@ systemd.user.services.waybar.enable = false; - xdg.portal = { enable = true; extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; }; + xdg.portal.wlr.enable = true; + xdg.portal = { enable = true; extraPortals = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr ]; }; #xdg.portal = { enable = true; extraPortals = [ inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland ]; }; #xdg.portal = { enable = true; }; @@ -308,7 +309,7 @@ }; programs.hyprland = { - enable = true; + enable = false; #enableNvidiaPatches = true; #package = inputs.hyprland.packages.${pkgs.system}.hyprland; }; diff --git a/home.nix b/home.nix index 154b8cc..c530ab4 100644 --- a/home.nix +++ b/home.nix @@ -294,7 +294,7 @@ {command = "wayvnc 100.120.210.58";} {command = "swww-daemon";} {command = "mako";} - #{command = "watch waybar";} + {command = "exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway";} ]; bars = [ {command = "waybar"; position = "top"; }