scripts/maintenance/set-theme.sh

9 lines
174 B
Bash
Executable File

#!/bin/sh
echo "Set theme to $1"
# GTK2
gconftool-2 --type=string --set /desktop/gnome/interface/gtk_theme $1
# GTK3
gsettings set org.gnome.desktop.interface gtk-theme $1