Rearrange files

This commit is contained in:
Muhammad Rivan 2021-06-07 18:31:45 +07:00
parent f42a270fb5
commit d865ae5da9
No known key found for this signature in database
GPG key ID: C56A200FD936FAAA
6 changed files with 15 additions and 6 deletions

View file

View file

@ -11,3 +11,4 @@
## Reporting a Vulnerability
Report a security vulnerability to https://github.com/vinceliuice/WhiteSur-gtk-theme/issues
with a blank template

View file

@ -42,10 +42,10 @@ Don't worry, WhiteSur installer already provides all of those dependencies.
## Quick install
### Use the stable package
### Using a stable package
Choose a [stable package](stable-release) and unzip it to the user theme folder `~/.themes`.
### Compile from source
### Installing from source
Run `./install.sh` to install the default WhiteSur GTK theme pack which includes
GNOME Shell (Pantheon), Cinnamon, XFWM (XFCE), Metacity, and Plank themes.

View file

@ -47,7 +47,9 @@ install_theme_deps() {
elif has_command xbps-install; then
# Rolling release
# 'xbps-install' requires 'xbps' to be always up-to-date
rootify xbps-install -Syu xbps sassc glib-devel gtk-engine-murrine libxml2
# 'libxml2' is already included here, and it's gonna broke the
# installation if you add it
rootify xbps-install -Syu xbps sassc glib-devel gtk-engine-murrine
# System upgrading can't remove the old kernel files by it self. It eats the
# boot partition and may cause kernel panic when there is no enough space
rootify vkpurge rm all
@ -80,7 +82,9 @@ install_gdm_deps() {
elif has_command xbps-install; then
# Rolling release
# 'xbps-install' requires 'xbps' to be always up-to-date
rootify xbps-install -Syu xbps glib-devel libxml2 sassc
# 'libxml2' is already included here, and it's gonna broke the
# installation if you add it
rootify xbps-install -Syu xbps glib-devel sassc
# System upgrading can't remove the old kernel files by it self. It eats the
# boot partition and may cause kernel panic when there is no enough space
rootify vkpurge rm all
@ -681,6 +685,8 @@ customize_theme() {
# values are taken from _variables.scss
show_panel_opacity_dialog() {
install_dialog_deps
if [[ -x /usr/bin/dialog ]]; then
tui=$(dialog --backtitle "${THEME_NAME} gtk theme installer" \
--radiolist "Choose your panel background opacity
@ -704,6 +710,8 @@ show_panel_opacity_dialog() {
}
show_sidebar_size_dialog() {
install_dialog_deps
if [[ -x /usr/bin/dialog ]]; then
tui=$(dialog --backtitle "${THEME_NAME} gtk theme installer" \
--radiolist "Choose your Nautilus sidebar size (default is 200px width):" 15 40 5 \
@ -726,6 +734,8 @@ show_sidebar_size_dialog() {
}
show_nautilus_style_dialog() {
install_dialog_deps
if [[ -x /usr/bin/dialog ]]; then
tui=$(dialog --backtitle "${THEME_NAME} gtk theme installer" \
--radiolist "Choose your Nautilus style (default is BigSur-like style):" 15 40 5 \
@ -746,8 +756,6 @@ show_nautilus_style_dialog() {
}
show_needed_dialogs() {
if [[ "${need_dialog[@]}" =~ "true" ]]; then install_dialog_deps; fi
if [[ "${need_dialog["-p"]}" == "true" ]]; then show_panel_opacity_dialog; fi
if [[ "${need_dialog["-s"]}" == "true" ]]; then show_sidebar_size_dialog; fi
if [[ "${need_dialog["-N"]}" == "true" ]]; then show_nautilus_style_dialog; fi