Added the local scripts/binaries directory

This commit is contained in:
Gu://em_ 2024-12-23 16:56:15 +01:00
parent 8c8dcd73a2
commit dcca852a05
2 changed files with 46 additions and 0 deletions

17
.local/bin/codium-patch.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/sh
if [ $(whoami) != root ]; then
echo "- Please run this script as root"
echo "sudo $0"
echo
sudo $0
exit $?
fi
apps_path=/usr/share/applications
rm $apps_path/codium.desktop
sed -i "s/Name=VSCodium - Wayland/Name=VSCodium/g" $apps_path/codium-wayland.desktop
echo "- Done"
exit 0