Compare commits
2 commits
3a13e1fb78
...
4e78b78914
Author | SHA1 | Date | |
---|---|---|---|
|
4e78b78914 | ||
|
e67c8c204d |
2 changed files with 7 additions and 3 deletions
|
@ -68,4 +68,5 @@ end
|
|||
|
||||
# run code in wayland natively
|
||||
# TODO: just add it to the args file instead
|
||||
alias code="code --enable-features=UseOzonePlatform --ozone-platform=wayland"
|
||||
alias code="code --ozone-platform=wayland"
|
||||
alias vesktop="vesktop --ozone-platform=wayland"
|
||||
|
|
|
@ -129,9 +129,12 @@ elif command_exists "code-oss"; then
|
|||
cp $GIT_DIR/vscode/argv.json $HOME/.vscode-oss/argv.json
|
||||
fi
|
||||
# VS code: run in wayland natively
|
||||
sudo sed '/^Exec=\/usr\/share\/code\/code\( --new-window\)\? %F$/ s/$/ --enable-features=UseOzonePlatform --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
|
||||
xdg-settings set default-web-browser librewolf.desktop
|
||||
|
||||
echo "restore.sh done!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue