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]
|
-s, --size [default|180|220|240|260|280]
|
||||||
Set Nautilus sidebar minimum width. Default is 200px
|
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'
|
Set 'Activities' icon. Default is 'standard'
|
||||||
|
|
||||||
-b, --background [default|blank|IMAGE_PATH]
|
-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 "-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 "-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 "--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 "--round, --roundedmaxwindow" "" "Set maximized window to rounded" "Default is square"
|
||||||
helpify "--right, --rightplacement" "" "Set Nautilus title button placement to right" "Default is left"
|
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"
|
helpify "--black, --blackfont" "" "Set panel font color to black" "Default is white"
|
||||||
@ -79,8 +78,6 @@ while [[ $# -gt 0 ]]; do
|
|||||||
interactive='true'; shift ;;
|
interactive='true'; shift ;;
|
||||||
--normal|--normalshowapps)
|
--normal|--normalshowapps)
|
||||||
showapps_normal="true"; shift ;;
|
showapps_normal="true"; shift ;;
|
||||||
--default|--defaultactivities)
|
|
||||||
default_activities="true"; shift ;;
|
|
||||||
--right|--rightplacement)
|
--right|--rightplacement)
|
||||||
right_placement="true"; shift ;;
|
right_placement="true"; shift ;;
|
||||||
--round|--roundedmaxwindow)
|
--round|--roundedmaxwindow)
|
||||||
@ -105,6 +102,7 @@ while [[ $# -gt 0 ]]; do
|
|||||||
-n|--name)
|
-n|--name)
|
||||||
check_param "${1}" "${1}" "${2}" "must" "must" "not-at-all" && shift 2 || shift ;;
|
check_param "${1}" "${1}" "${2}" "must" "must" "not-at-all" && shift 2 || shift ;;
|
||||||
-i|--icon)
|
-i|--icon)
|
||||||
|
activities_icon="true";
|
||||||
check_param "${1}" "${1}" "${2}" "must" "must" "must" && shift 2 || shift ;;
|
check_param "${1}" "${1}" "${2}" "must" "must" "must" && shift 2 || shift ;;
|
||||||
-s|--size)
|
-s|--size)
|
||||||
check_param "${1}" "${1}" "${2}" "optional" "optional" "optional" && shift 2 || shift ;;
|
check_param "${1}" "${1}" "${2}" "optional" "optional" "optional" && shift 2 || shift ;;
|
||||||
|
@ -92,7 +92,7 @@ COLOR_VARIANTS=('Light' 'Dark')
|
|||||||
OPACITY_VARIANTS=('normal' 'solid')
|
OPACITY_VARIANTS=('normal' 'solid')
|
||||||
ALT_VARIANTS=('normal' 'alt')
|
ALT_VARIANTS=('normal' 'alt')
|
||||||
THEME_VARIANTS=('default' 'blue' 'purple' 'pink' 'red' 'orange' 'yellow' 'green' 'grey')
|
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')
|
SIDEBAR_SIZE_VARIANTS=('default' '180' '220' '240' '260' '280')
|
||||||
PANEL_OPACITY_VARIANTS=('default' '30' '45' '60' '75')
|
PANEL_OPACITY_VARIANTS=('default' '30' '45' '60' '75')
|
||||||
PANEL_SIZE_VARIANTS=('default' 'smaller' 'bigger')
|
PANEL_SIZE_VARIANTS=('default' 'smaller' 'bigger')
|
||||||
|
@ -955,9 +955,9 @@ customize_theme() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Change gnome-shell panel activities button style
|
# 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"
|
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
|
fi
|
||||||
|
|
||||||
# Change panel font color
|
# 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_size: 'default';
|
||||||
|
|
||||||
// Panel Activities button style
|
// Panel Activities button style
|
||||||
$activities: 'apple';
|
$activities: 'default';
|
||||||
|
|
||||||
// Monterey style
|
// Monterey style
|
||||||
$monterey: 'false';
|
$monterey: 'false';
|
||||||
|
@ -258,7 +258,7 @@ $panel_height: $menuitem_size;
|
|||||||
background-gradient-direction: none;
|
background-gradient-direction: none;
|
||||||
border: none;
|
border: none;
|
||||||
|
|
||||||
@if $activities == 'apple' {
|
@if $activities == 'icon' {
|
||||||
@extend %apple_activites;
|
@extend %apple_activites;
|
||||||
} @else {
|
} @else {
|
||||||
@extend %normal_activites;
|
@extend %normal_activites;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user