make gnome extensions permanent
This commit is contained in:
parent
79be188006
commit
ec669d7872
1 changed files with 12 additions and 0 deletions
12
functions.sh
12
functions.sh
|
@ -676,6 +676,18 @@ function gnome-shell-extensions-enable-defaults() {
|
||||||
EXIT
|
EXIT
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gnome-shell-extensions-make-actual-permanent() {
|
||||||
|
ENTRY
|
||||||
|
file="${HOME}/.config/gnome-shell-extensions-default.list"
|
||||||
|
local EXTENSIONS=$(gsettings get org.gnome.shell enabled-extensions)
|
||||||
|
line="[org/gnome/shell]"
|
||||||
|
for line in ${EXTENSIONS[@]}; do
|
||||||
|
loginfo "add $line to $file"
|
||||||
|
grep -xqF -- ${line} ${file} || echo $line >> $file
|
||||||
|
done
|
||||||
|
|
||||||
|
EXIT
|
||||||
|
}
|
||||||
gnome-shell-extensions-make-actual-permanent-systemwide() {
|
gnome-shell-extensions-make-actual-permanent-systemwide() {
|
||||||
ENTRY
|
ENTRY
|
||||||
# https://people.gnome.org/~pmkovar/system-admin-guide/extensions-enable.html
|
# https://people.gnome.org/~pmkovar/system-admin-guide/extensions-enable.html
|
||||||
|
|
Loading…
Reference in a new issue