Remove the flameshot icon
This commit is contained in:
parent
14ced7e6a4
commit
7c56a97272
1 changed files with 11 additions and 0 deletions
|
@ -30,4 +30,15 @@ gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/or
|
||||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot-shortcut/ binding 'Print' # set key
|
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/flameshot-shortcut/ binding 'Print' # set key
|
||||||
echo -e "\nFlameshot shortcut added (ImprEcran key)!"
|
echo -e "\nFlameshot shortcut added (ImprEcran key)!"
|
||||||
|
|
||||||
|
# Removal of Ubuntu icon
|
||||||
|
if grep "Ubuntu" /proc/version > /dev/null;
|
||||||
|
then
|
||||||
|
# We remove the Ubuntu desktop shortcut only if it already exists
|
||||||
|
if [ -f /usr/share/applications/org.flameshot.Flameshot.desktop ]
|
||||||
|
then
|
||||||
|
sudo mv /usr/share/applications/org.flameshot.Flameshot.desktop /usr/share/applications/org.flameshot.Flameshot.desktop.bak
|
||||||
|
echo -e "\nFlameshot icon removed!"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
echo -e "\nFlameshot configured! 🎉"
|
echo -e "\nFlameshot configured! 🎉"
|
||||||
|
|
Reference in a new issue