Update hyprland config (gestures and other stuff)

This commit is contained in:
Pedro Rey Anca 2025-12-05 17:56:38 +01:00
parent 28cc7d2d25
commit 18cc25b3b8
Signed by: peprolinbot
GPG key ID: 053EA6E00116533A
3 changed files with 298 additions and 300 deletions

View file

@ -1,15 +1,9 @@
{lib, ...}: let
{ lib, ... }:
let
variables = {
NIXOS_OZONE_WL = 1;
ELECTRON_OZONE_PLATFORM_HINT = "auto";
__GL_GSYNC_ALLOWED = 0;
__GL_VRR_ALLOWED = 0;
_JAVA_AWT_WM_NONEREPARENTING = 1;
DISABLE_QT5_COMPAT = 0;
GDK_BACKEND = "wayland,x11,*";
ANKI_WAYLAND = 1;
DIRENV_LOG_FORMAT = "";
WLR_DRM_NO_ATOMIC = 1;
QT_AUTO_SCREEN_SCALE_FACTOR = 1;
QT_WAYLAND_DISABLE_WINDOWDECORATION = 1;
QT_QPA_PLATFORM = "wayland;xcb";
@ -19,13 +13,11 @@
SDL_VIDEODRIVER = "wayland";
CLUTTER_BACKEND = "wayland";
};
in {
in
{
home.sessionVariables = variables;
xdg.configFile."uwsm/env".text = builtins.concatStringsSep "\n" (
lib.attrsets.mapAttrsToList (
name: value: "export ${name}=\"${builtins.toString value}\""
)
variables
lib.attrsets.mapAttrsToList (name: value: "export ${name}=\"${builtins.toString value}\"") variables
);
}