mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2025-06-06 07:23:02 +00:00
update
This commit is contained in:
parent
75eb5b57a4
commit
3f4a1f114c
@ -94,7 +94,7 @@ Usage: `./install.sh [OPTIONS...]`
|
||||
-s, --size [default|180|220|240|260|280]
|
||||
Set Nautilus sidebar minimum width. Default is 200px
|
||||
|
||||
-i, --icon [standard|simple|gnome|ubuntu|tux|arch|manjaro|fedora|debian|void|opensuse|popos|mxlinux|zorin]
|
||||
-i, --icon [apple|simple|gnome|ubuntu|tux|arch|manjaro|fedora|debian|void|opensuse|popos|mxlinux|zorin]
|
||||
Set 'Activities' icon. Default is 'standard'
|
||||
|
||||
-b, --background [default|blank|IMAGE_PATH]
|
||||
|
@ -39,7 +39,6 @@ usage() {
|
||||
helpify "-l, --libadwaita" "" "Install theme into gtk4.0 config for libadwaita" "Default is dark version"
|
||||
helpify "-HD, --highdefinition" "" "Set to High Definition size" "Default is laptop size"
|
||||
helpify "--normal, --normalshowapps" "" "Set gnome-shell show apps button style to normal" "Default is BigSur"
|
||||
helpify "--default, --defaultactivities" "" "Set gnome-shell panel activities button style to system default" "Default is Apple icon"
|
||||
helpify "--round, --roundedmaxwindow" "" "Set maximized window to rounded" "Default is square"
|
||||
helpify "--right, --rightplacement" "" "Set Nautilus title button placement to right" "Default is left"
|
||||
helpify "--black, --blackfont" "" "Set panel font color to black" "Default is white"
|
||||
@ -79,8 +78,6 @@ while [[ $# -gt 0 ]]; do
|
||||
interactive='true'; shift ;;
|
||||
--normal|--normalshowapps)
|
||||
showapps_normal="true"; shift ;;
|
||||
--default|--defaultactivities)
|
||||
default_activities="true"; shift ;;
|
||||
--right|--rightplacement)
|
||||
right_placement="true"; shift ;;
|
||||
--round|--roundedmaxwindow)
|
||||
@ -105,6 +102,7 @@ while [[ $# -gt 0 ]]; do
|
||||
-n|--name)
|
||||
check_param "${1}" "${1}" "${2}" "must" "must" "not-at-all" && shift 2 || shift ;;
|
||||
-i|--icon)
|
||||
activities_icon="true";
|
||||
check_param "${1}" "${1}" "${2}" "must" "must" "must" && shift 2 || shift ;;
|
||||
-s|--size)
|
||||
check_param "${1}" "${1}" "${2}" "optional" "optional" "optional" && shift 2 || shift ;;
|
||||
|
@ -92,7 +92,7 @@ COLOR_VARIANTS=('Light' 'Dark')
|
||||
OPACITY_VARIANTS=('normal' 'solid')
|
||||
ALT_VARIANTS=('normal' 'alt')
|
||||
THEME_VARIANTS=('default' 'blue' 'purple' 'pink' 'red' 'orange' 'yellow' 'green' 'grey')
|
||||
ICON_VARIANTS=('standard' 'simple' 'gnome' 'ubuntu' 'tux' 'arch' 'manjaro' 'fedora' 'debian' 'void' 'opensuse' 'popos' 'mxlinux' 'zorin' 'budgie' 'gentoo')
|
||||
ICON_VARIANTS=('apple' 'simple' 'gnome' 'ubuntu' 'tux' 'arch' 'manjaro' 'fedora' 'debian' 'void' 'opensuse' 'popos' 'mxlinux' 'zorin' 'budgie' 'gentoo')
|
||||
SIDEBAR_SIZE_VARIANTS=('default' '180' '220' '240' '260' '280')
|
||||
PANEL_OPACITY_VARIANTS=('default' '30' '45' '60' '75')
|
||||
PANEL_SIZE_VARIANTS=('default' 'smaller' 'bigger')
|
||||
|
@ -955,9 +955,9 @@ customize_theme() {
|
||||
fi
|
||||
|
||||
# Change gnome-shell panel activities button style
|
||||
if [[ "${default_activities}" == 'true' ]]; then
|
||||
if [[ "${activities_icon}" == 'true' ]]; then
|
||||
prompt -s "Changing gnome-shell panel activities button style ...\n"
|
||||
sed $SED_OPT "/\$activities/s/apple/normal/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
|
||||
sed $SED_OPT "/\$activities/s/default/icon/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
|
||||
fi
|
||||
|
||||
# Change panel font color
|
||||
|
Before Width: | Height: | Size: 882 B After Width: | Height: | Size: 882 B |
Before Width: | Height: | Size: 882 B After Width: | Height: | Size: 882 B |
@ -30,7 +30,7 @@ $panel_font: 'white';
|
||||
$panel_size: 'default';
|
||||
|
||||
// Panel Activities button style
|
||||
$activities: 'apple';
|
||||
$activities: 'default';
|
||||
|
||||
// Monterey style
|
||||
$monterey: 'false';
|
||||
|
@ -258,7 +258,7 @@ $panel_height: $menuitem_size;
|
||||
background-gradient-direction: none;
|
||||
border: none;
|
||||
|
||||
@if $activities == 'apple' {
|
||||
@if $activities == 'icon' {
|
||||
@extend %apple_activites;
|
||||
} @else {
|
||||
@extend %normal_activites;
|
||||
|
Loading…
x
Reference in New Issue
Block a user