From c3adc4537be7724f215580926a12f44d3d205e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Wed, 6 Jul 2022 08:09:27 +0100 Subject: [PATCH] use firefox-wayland --- config/programs/firefox.nix | 3 +-- config/programs/sway.nix | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/programs/firefox.nix b/config/programs/firefox.nix index 45811126..449b4194 100644 --- a/config/programs/firefox.nix +++ b/config/programs/firefox.nix @@ -1,6 +1,6 @@ {pkgs, ...}: { programs.firefox = { - package = pkgs.firefox; + package = pkgs.firefox-wayland; enable = true; extensions = with pkgs.nur.repos.rycee.firefox-addons; [ clearurls @@ -10,7 +10,6 @@ don-t-fuck-with-paste i-dont-care-about-cookies keepassxc-browser - plasma-integration privacy-badger privacy-possum sponsorblock diff --git a/config/programs/sway.nix b/config/programs/sway.nix index a2348341..67f90064 100644 --- a/config/programs/sway.nix +++ b/config/programs/sway.nix @@ -179,10 +179,13 @@ in { export QT_QPA_PLATFORM=wayland export QT_WAYLAND_DISABLE_WINDOWDECORATION="1" export _JAVA_AWT_WM_NONREPARENTING=1 + export MOZ_ENABLE_WAYLAND=1 + export XDG_CURRENT_DESKTOP=sway ''; extraConfig = '' exec ${dbus-sway-environment}/bin/dbus-sway-environment exec ${configure-gtk}/bin/configure-gtk + exec ${pkgs.systemd}/bin/systemctl --user import-environment ''; };