Compare commits
No commits in common. "4e78b78914b019e2d13295bc975f1c88cdb1b19d" and "3a13e1fb78aeaf48f9fd017fb44d8b7fd3a627e4" have entirely different histories.
4e78b78914
...
3a13e1fb78
2 changed files with 3 additions and 7 deletions
|
@ -68,5 +68,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 --enable-features=UseOzonePlatform --ozone-platform=wayland"
|
||||||
alias vesktop="vesktop --ozone-platform=wayland"
|
|
||||||
|
|
|
@ -129,12 +129,9 @@ elif command_exists "code-oss"; then
|
||||||
cp $GIT_DIR/vscode/argv.json $HOME/.vscode-oss/argv.json
|
cp $GIT_DIR/vscode/argv.json $HOME/.vscode-oss/argv.json
|
||||||
fi
|
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/$/ --enable-features=UseOzonePlatform --ozone-platform=wayland/' -i /usr/share/applications/code.desktop
|
||||||
|
|
||||||
# Vesktop: run in wayland natively
|
echo "restore.sh done!"
|
||||||
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
Add a link
Reference in a new issue