From fc5326de0a24869b6771d996f28232676192ac2b Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Wed, 22 Jan 2025 21:41:30 +0000 Subject: [PATCH] add NIXOS_OZONE_WL=1 to sessionVariables also changed wofi run command to run using zsh -c 'wofi command' in order to inherit said variable. this was prompted due to weird context menu artifacts in Signal Desktop --- home-manager/home.nix | 1 + home-manager/hyprland.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/home-manager/home.nix b/home-manager/home.nix index 0ee4381..8c5a821 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -74,6 +74,7 @@ XCURSOR_SIZE = 24; # Set default editor EDITOR = "nvim"; + NIXOS_OZONE_WL = 1 ; }; # Let Home Manager install and manage itself. diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index dfcd08c..1cd052f 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -45,7 +45,7 @@ "$mod, F, exec, firefox" "$mod, 1, exec, alacritty" "$mod, D, exec, vesktop" - "$mod, space, exec, wofi --show drun, run" + "$mod, space, exec, zsh -c 'wofi --show drun, run'" # Screenshot tool ", Print, exec, grimblast copy area"