mirror of
https://github.com/zephrynis/nix-flake.git
synced 2026-02-18 20:21:53 +00:00
Fix: update Wayland application configurations for improved compatibility and remove scaling settings
This commit is contained in:
@@ -16,7 +16,13 @@
|
|||||||
inputs.vicinae.packages.${pkgs.system}.default # Vicinae launcher
|
inputs.vicinae.packages.${pkgs.system}.default # Vicinae launcher
|
||||||
|
|
||||||
# Development tools
|
# Development tools
|
||||||
vscode
|
(vscode.override {
|
||||||
|
commandLineArgs = [
|
||||||
|
"--enable-features=UseOzonePlatform"
|
||||||
|
"--ozone-platform=wayland"
|
||||||
|
"--enable-wayland-ime"
|
||||||
|
];
|
||||||
|
})
|
||||||
# neovim
|
# neovim
|
||||||
|
|
||||||
# Browsers
|
# Browsers
|
||||||
@@ -40,8 +46,18 @@
|
|||||||
# spotify
|
# spotify
|
||||||
|
|
||||||
# Communication
|
# Communication
|
||||||
legcord
|
(legcord.override {
|
||||||
teams-for-linux
|
commandLineArgs = [
|
||||||
|
"--enable-features=UseOzonePlatform,WaylandWindowDecorations"
|
||||||
|
"--ozone-platform=wayland"
|
||||||
|
];
|
||||||
|
})
|
||||||
|
(teams-for-linux.override {
|
||||||
|
commandLineArgs = [
|
||||||
|
"--enable-features=UseOzonePlatform,WaylandWindowDecorations"
|
||||||
|
"--ozone-platform=wayland"
|
||||||
|
];
|
||||||
|
})
|
||||||
# discord
|
# discord
|
||||||
# slack
|
# slack
|
||||||
|
|
||||||
|
|||||||
@@ -42,12 +42,6 @@
|
|||||||
"__GL_VRR_ALLOWED,0" # Disable VRR to avoid game issues
|
"__GL_VRR_ALLOWED,0" # Disable VRR to avoid game issues
|
||||||
"WLR_NO_HARDWARE_CURSORS,1" # Fix cursor issues on NVIDIA
|
"WLR_NO_HARDWARE_CURSORS,1" # Fix cursor issues on NVIDIA
|
||||||
"WLR_DRM_NO_ATOMIC,1" # Legacy mode (try disabling if issues)
|
"WLR_DRM_NO_ATOMIC,1" # Legacy mode (try disabling if issues)
|
||||||
|
|
||||||
# Scaling for XWayland apps
|
|
||||||
"GDK_SCALE,1.5" # GTK app scaling (matches 4K monitor scale)
|
|
||||||
"GDK_DPI_SCALE,0.67" # GTK DPI scaling (inverse of GDK_SCALE)
|
|
||||||
"QT_AUTO_SCREEN_SCALE_FACTOR,1" # Qt automatic scaling
|
|
||||||
"QT_SCALE_FACTOR,1.5" # Qt manual scaling for 4K monitor
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Input configuration
|
# Input configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user