From df6bfb52ab4e34bba08a7e9370c95f3cb523f129 Mon Sep 17 00:00:00 2001 From: user1 Date: Tue, 28 Mar 2023 23:00:05 +0200 Subject: [PATCH] remove import-gsettings --- arch-graphical-install-auto.sh | 2 -- scripts/import-gsettings | 11 ----------- 2 files changed, 13 deletions(-) delete mode 100755 scripts/import-gsettings diff --git a/arch-graphical-install-auto.sh b/arch-graphical-install-auto.sh index 64398ab..e1c0298 100755 --- a/arch-graphical-install-auto.sh +++ b/arch-graphical-install-auto.sh @@ -490,8 +490,6 @@ chmod +x /usr/bin/hardreset.sh cp /opt/${repo}/scripts/slowtype /usr/bin/slowtype chmod +x /usr/bin/slowtype -cp -v /opt/${repo}/scripts/import-gsettings /usr/bin/import-gsettings - # clipboard wrapper cp -v /opt/${repo}/scripts/clipboard_wrapper/* /usr/bin/ diff --git a/scripts/import-gsettings b/scripts/import-gsettings deleted file mode 100755 index 99fe4b4..0000000 --- a/scripts/import-gsettings +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# usage: import-gsettings : : ... - -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