run vesktop in wayland
This commit is contained in:
parent
e67c8c204d
commit
4e78b78914
2 changed files with 5 additions and 1 deletions
|
@ -69,3 +69,4 @@ end
|
||||||
# run code in wayland natively
|
# run code in wayland natively
|
||||||
# TODO: just add it to the args file instead
|
# TODO: just add it to the args file instead
|
||||||
alias code="code --ozone-platform=wayland"
|
alias code="code --ozone-platform=wayland"
|
||||||
|
alias vesktop="vesktop --ozone-platform=wayland"
|
||||||
|
|
|
@ -131,7 +131,10 @@ fi
|
||||||
# VS code: run in wayland natively
|
# VS code: run in wayland natively
|
||||||
sudo sed '/^Exec=\/usr\/share\/code\/code\( --new-window\)\? %F$/ s/$/ --ozone-platform=wayland/' -i /usr/share/applications/code.desktop
|
sudo sed '/^Exec=\/usr\/share\/code\/code\( --new-window\)\? %F$/ s/$/ --ozone-platform=wayland/' -i /usr/share/applications/code.desktop
|
||||||
|
|
||||||
echo "restore.sh done!"
|
# Vesktop: run in wayland natively
|
||||||
|
sudo sed '/^Exec=\/opt\/Vesktop\/vesktop %U$/ s/$/ --ozone-platform=wayland/' -i /usr/share/applications/vesktop.desktop
|
||||||
|
|
||||||
# default applications
|
# default applications
|
||||||
xdg-settings set default-web-browser librewolf.desktop
|
xdg-settings set default-web-browser librewolf.desktop
|
||||||
|
|
||||||
|
echo "restore.sh done!"
|
||||||
|
|
Loading…
Add table
Reference in a new issue