Added gnome-extensions function
This commit is contained in:
parent
bd4a32ca78
commit
a8ee289a6e
1 changed files with 17 additions and 0 deletions
17
.local/dotfiles/functions/gnome-extensions.zsh##o.Linux
Normal file
17
.local/dotfiles/functions/gnome-extensions.zsh##o.Linux
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
function 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"
|
||||||
|
gsettings set org.gnome.shell disable-user-extensions true
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Usage: $0 true|false"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue