summarylogtreecommitdiffstats
path: root/vscodium-git-wayland
blob: f2a91121eee7574e5a165dd3d7c18f66c54ae2bb (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

echo "Running script"
if [ $(grep -c "ozone-platform-hint" /usr/share/vscodium-git/bin/codium) -eq 0 ]; then
	\sed -i -E "s/(^ELECTRON.*) \"/\1 --ozone-platform-hint=auto \"/" /usr/share/vscodium-git/bin/codium
else
	echo "Wayland already applied"
fi