Renamed gnome-extensions to disable-gnome-extensions and adjusted parameters
This commit is contained in:
parent
a8ee289a6e
commit
beb612e4b5
1 changed files with 8 additions and 7 deletions
|
@ -1,15 +1,16 @@
|
||||||
function gnome-extensions ()
|
function disable-gnome-extensions ()
|
||||||
{
|
{
|
||||||
case "$1" in
|
case "$1" in
|
||||||
true)
|
true|on|yes)
|
||||||
echo "Enabling Gnome User Extensions"
|
echo "Disabling Gnome User Extensions"
|
||||||
gsettings set org.gnome.shell disable-user-extensions false
|
|
||||||
;;
|
|
||||||
false)
|
|
||||||
echo "Disabling Gnome User Extenions"
|
|
||||||
gsettings set org.gnome.shell disable-user-extensions true
|
gsettings set org.gnome.shell disable-user-extensions true
|
||||||
;;
|
;;
|
||||||
|
false|off|no)
|
||||||
|
echo "Disabling Gnome User Extenions"
|
||||||
|
gsettings set org.gnome.shell disable-user-extensions false
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
|
echo "Disables GNOME Extensions - In case of emergency"
|
||||||
echo "Usage: $0 true|false"
|
echo "Usage: $0 true|false"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
Loading…
Reference in a new issue