Added the local scripts/binaries directory
This commit is contained in:
parent
8c8dcd73a2
commit
dcca852a05
2 changed files with 46 additions and 0 deletions
17
.local/bin/codium-patch.sh
Executable file
17
.local/bin/codium-patch.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue