Renamed gnome-extensions to disable-gnome-extensions and adjusted parameters
This commit is contained in:
parent
55548b8133
commit
dffbe5a702
1 changed files with 8 additions and 7 deletions
|
@ -1,15 +1,16 @@
|
|||
function gnome-extensions ()
|
||||
function disable-gnome-extensions ()
|
||||
{
|
||||
case "$1" in
|
||||
true)
|
||||
echo "Enabling Gnome User Extensions"
|
||||
gsettings set org.gnome.shell disable-user-extensions false
|
||||
;;
|
||||
false)
|
||||
echo "Disabling Gnome User Extenions"
|
||||
true|on|yes)
|
||||
echo "Disabling Gnome User Extensions"
|
||||
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"
|
||||
;;
|
||||
esac
|
Loading…
Reference in a new issue