fix electon apps scaling issues for all apps per default
This commit is contained in:
parent
078a2515d7
commit
c01bda2623
5
.bashrc
5
.bashrc
@ -12,6 +12,11 @@ PS1='[\u@\h \W]\$ '
|
|||||||
alias l='ls -la'
|
alias l='ls -la'
|
||||||
alias lg='lazygit'
|
alias lg='lazygit'
|
||||||
|
|
||||||
|
export ELECTRON_ENABLE_OZONE=1
|
||||||
|
export OZONE_PLATFORM=wayland
|
||||||
|
export GDK_SCALE=1
|
||||||
|
export GDK_DPI_SCALE=1
|
||||||
|
|
||||||
# Yazi
|
# Yazi
|
||||||
function y() {
|
function y() {
|
||||||
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
|
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Name=Signal (Wayland)
|
|
||||||
Exec=signal-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland
|
|
||||||
Icon=signal-desktop
|
|
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user