From f6576bec8bd5b4279225827f44ce464e3cb87270 Mon Sep 17 00:00:00 2001 From: sudacode Date: Sat, 3 May 2025 22:39:36 -0700 Subject: [PATCH] add uwsm --- .config/uwsm/env | 32 ++++++++++++++++++++++++++++++++ .config/uwsm/env-hyprland | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 .config/uwsm/env create mode 100644 .config/uwsm/env-hyprland diff --git a/.config/uwsm/env b/.config/uwsm/env new file mode 100644 index 0000000..618946a --- /dev/null +++ b/.config/uwsm/env @@ -0,0 +1,32 @@ +export XCURSOR_THEME=dracula +export XCURSOR_SIZE=24 +export GDK_SCALE=1 +export QT_QPA_PLATFORM=wayland;xcb +export SDL_VIDEODRIVER=wayland +export CLUTTER_BACKEND=wayland +export GDK_BACKEND=wayland,x11,* +export XDG_CURRENT_DESKTOP=Hyprland +export XDG_SESSION_TYPE=wayland +export XDG_SESSION_DESKTOP=Hyprland +export QT_AUTO_SCREEN_SCALE_FACTOR=1 +export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 +export QT_QPA_PLATFORMTHEME=qt5ct +export GTK_THEME=Dracula +export XDG_CONFIG_HOME=$HOME/.config +export COMPOSE_BAKE=true + +# nvidia +export NVD_BACKEND=direct +export GBM_BACKEND=nvidia-drm +export __GLX_VENDOR_LIBRARY_NAME=nvidia +export LIBVA_DRIVER_NAME=nvidia +export __GL_GSYNC_ALLOWED=1 + +export QT_IM_MODULE=fcitx +export XMODIFIERS=@im=fcitx +export GLFW_IM_MODULE=fcitx +export QT4_IM_MODULE=xim +# export XMODIFIERS=@im=ibus +# export QT_IM_MODULE=ibus +# export QT4_IM_MODULE=xim +# export GLFW_IM_MODULE=ibus diff --git a/.config/uwsm/env-hyprland b/.config/uwsm/env-hyprland new file mode 100644 index 0000000..adb12b4 --- /dev/null +++ b/.config/uwsm/env-hyprland @@ -0,0 +1,2 @@ +export HYPRCURSOR_SIZE=24 +export HYPRCURSOR_THEME=Dracula-cursors