fix electon apps scaling issues for all apps per default

This commit is contained in:
Alexander Bell 2025-05-16 17:00:14 +02:00
parent 078a2515d7
commit c01bda2623
3 changed files with 5 additions and 10 deletions

View File

@ -12,6 +12,11 @@ PS1='[\u@\h \W]\$ '
alias l='ls -la'
alias lg='lazygit'
export ELECTRON_ENABLE_OZONE=1
export OZONE_PLATFORM=wayland
export GDK_SCALE=1
export GDK_DPI_SCALE=1
# Yazi
function y() {
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd

View File

@ -1,5 +0,0 @@
[Desktop Entry]
Type=Application
Name=Signal (Wayland)
Exec=signal-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland
Icon=signal-desktop

View File

@ -1,5 +0,0 @@
[Desktop Entry]
Type=Application
Name=Visual-Studio-Code (Wayland)
Exec=code --enable-features=UseOzonePlatform --ozone-platform=wayland
Icon=visual-studio-code