Merge branch 'master' of git://git.schuerz.at/public/myshellconfig
This commit is contained in:
commit
a96c53f58e
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
|
||||
}
|
||||
|
||||
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() {
|
||||
ENTRY
|
||||
# https://people.gnome.org/~pmkovar/system-admin-guide/extensions-enable.html
|
||||
|
|
Loading…
Reference in a new issue