remove import-gsettings

This commit is contained in:
user1 2023-03-28 23:00:05 +02:00
parent fff5e43332
commit df6bfb52ab
2 changed files with 0 additions and 13 deletions

View file

@ -490,8 +490,6 @@ chmod +x /usr/bin/hardreset.sh
cp /opt/${repo}/scripts/slowtype /usr/bin/slowtype cp /opt/${repo}/scripts/slowtype /usr/bin/slowtype
chmod +x /usr/bin/slowtype chmod +x /usr/bin/slowtype
cp -v /opt/${repo}/scripts/import-gsettings /usr/bin/import-gsettings
# clipboard wrapper # clipboard wrapper
cp -v /opt/${repo}/scripts/clipboard_wrapper/* /usr/bin/ cp -v /opt/${repo}/scripts/clipboard_wrapper/* /usr/bin/

View file

@ -1,11 +0,0 @@
#!/bin/sh
# usage: import-gsettings <gsettings key>:<settings.ini key> <gsettings key>:<settings.ini key> ...
expression=""
for pair in "$@"; do
IFS=:; set -- $pair
expressions="$expressions -e 's:^$2=(.*)$:gsettings set org.gnome.desktop.interface $1 \1:e'"
done
IFS=
eval exec sed -E $expressions "${XDG_CONFIG_HOME:-$HOME/.config}"/gtk-3.0/settings.ini >/dev/null