aboutsummaryrefslogtreecommitdiff
path: root/profile.d.dot
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-07-03 16:59:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-07-03 16:59:55 -0300
commit12a3356805a39197fba6b4742a548c0244d5f0f3 (patch)
tree9ae0ec49f34fd6888c93d2e649bb8d0d18ebe991 /profile.d.dot
parent84176e5da79b0688241314f123864db91dac1040 (diff)
downloadgtk-12a3356805a39197fba6b4742a548c0244d5f0f3.tar.gz
gtk-12a3356805a39197fba6b4742a548c0244d5f0f3.tar.bz2
Feat: minor revampHEADmaster
Diffstat (limited to 'profile.d.dot')
-rwxr-xr-xprofile.d.dot/gtk.sh.link25
1 files changed, 25 insertions, 0 deletions
diff --git a/profile.d.dot/gtk.sh.link b/profile.d.dot/gtk.sh.link
new file mode 100755
index 0000000..abf2b4d
--- /dev/null
+++ b/profile.d.dot/gtk.sh.link
@@ -0,0 +1,25 @@
+#
+# GTK script functionality
+#
+
+# Reload org.gnome.desktop.interface settings
+# Inspired by https://askubuntu.com/questions/151513/reload-gtk-3-0-theme/1110354#1110354
+#
+# Check also https://wiki.gnome.org/HowDoI/GSettings
+#gsettings_reload_interface() {
+# # Reset
+# for setting in `$gtk_settings`; do
+# gsettings set org.gnome.desktop.interface $setting ''
+# done
+#
+# # Wait a bit
+# sleep 1
+#
+# # Apply settings
+# for setting in $gtk_settings; do
+# value="$(gsettings get org.gnome.desktop.interface $setting)"
+#
+# echo "Reloading setting $setting ($value)..."
+# gsettings set org.gnome.desktop.interface $setting $value
+# done
+#}