Fixed #198
This commit is contained in:
parent
ffab45f5d7
commit
df3c3790be
@ -35,6 +35,7 @@ usage() {
|
|||||||
helpify "-i, --icon" "[$(IFS='|'; echo "${ICON_VARIANTS[*]}")]" "Set 'Activities' icon" "Default is 'standard'"
|
helpify "-i, --icon" "[$(IFS='|'; echo "${ICON_VARIANTS[*]}")]" "Set 'Activities' icon" "Default is 'standard'"
|
||||||
helpify "-N, --nautilus-style" "[$(IFS='|'; echo "${NAUTILUS_STYLE_VARIANTS[*]}")]" "Set Nautilus style" "Default is BigSur-like style"
|
helpify "-N, --nautilus-style" "[$(IFS='|'; echo "${NAUTILUS_STYLE_VARIANTS[*]}")]" "Set Nautilus style" "Default is BigSur-like style"
|
||||||
helpify "-R, --round" "" "Set maximized window to rounded" "Default is square"
|
helpify "-R, --round" "" "Set maximized window to rounded" "Default is square"
|
||||||
|
helpify "--normal, --normalshowapps" "" "Set gnome-shell show apps button style to normal" "Default is bigsur"
|
||||||
helpify "--dialog, --interactive" "" "Run this installer interactively, with dialogs" ""
|
helpify "--dialog, --interactive" "" "Run this installer interactively, with dialogs" ""
|
||||||
helpify "-r, --remove, -u, --uninstall" "" "Remove all installed ${THEME_NAME} themes" ""
|
helpify "-r, --remove, -u, --uninstall" "" "Remove all installed ${THEME_NAME} themes" ""
|
||||||
helpify "-h, --help" "" "Show this help" ""
|
helpify "-h, --help" "" "Show this help" ""
|
||||||
@ -62,6 +63,8 @@ while [[ $# -gt 0 ]]; do
|
|||||||
uninstall='true'; shift ;;
|
uninstall='true'; shift ;;
|
||||||
--dialog|--interactive)
|
--dialog|--interactive)
|
||||||
interactive='true'; shift ;;
|
interactive='true'; shift ;;
|
||||||
|
--normal|--normalshowapps)
|
||||||
|
showapps_normal="true"; shift ;;
|
||||||
-R|--round)
|
-R|--round)
|
||||||
max_round="true"; shift ;;
|
max_round="true"; shift ;;
|
||||||
-h|--help)
|
-h|--help)
|
||||||
|
@ -119,6 +119,7 @@ snap="false"
|
|||||||
gdm="false"
|
gdm="false"
|
||||||
dash_to_dock="false"
|
dash_to_dock="false"
|
||||||
max_round="false"
|
max_round="false"
|
||||||
|
showapps_normal="false"
|
||||||
|
|
||||||
# Misc
|
# Misc
|
||||||
msg="Run '${0} --help' to explore more customization features!"
|
msg="Run '${0} --help' to explore more customization features!"
|
||||||
|
@ -531,6 +531,12 @@ customize_theme() {
|
|||||||
sed ${SED_OPT} "/\$panel_opacity/s/0.15/0.${panel_opacity}/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
|
sed ${SED_OPT} "/\$panel_opacity/s/0.15/0.${panel_opacity}/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Change gnome-shell show apps button style
|
||||||
|
if [[ "${showapps_normal}" == 'true' ]]; then
|
||||||
|
prompt -w "Changing gnome-shell show apps button style ..."
|
||||||
|
sed ${SED_OPT} "/\$showapps_button/s/bigsur/normal/" "${THEME_SRC_DIR}/sass/_theme-options-temp.scss"
|
||||||
|
fi
|
||||||
|
|
||||||
# Change Nautilus sidarbar size
|
# Change Nautilus sidarbar size
|
||||||
if [[ "${sidebar_size}" != 'default' ]]; then
|
if [[ "${sidebar_size}" != 'default' ]]; then
|
||||||
prompt -w "Changing Nautilus sidebar size ..."
|
prompt -w "Changing Nautilus sidebar size ..."
|
||||||
|
@ -14,5 +14,8 @@ $nautilus_style: 'stable';
|
|||||||
// Gnome-shell panel opacity
|
// Gnome-shell panel opacity
|
||||||
$panel_opacity: 0.15;
|
$panel_opacity: 0.15;
|
||||||
|
|
||||||
|
// Gnome-shell show apps button style
|
||||||
|
$showapps_button: 'bigsur';
|
||||||
|
|
||||||
// maximized window radius
|
// maximized window radius
|
||||||
$max_window_style: 'square';
|
$max_window_style: 'square';
|
||||||
|
@ -24,20 +24,26 @@ $dash_placeholder_size: 32px;
|
|||||||
-x-offset: 8px;
|
-x-offset: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%show_apps_bigsur {
|
||||||
|
.show-apps-icon {
|
||||||
|
color: transparent;
|
||||||
|
background-image: url("assets/view-app-grid.svg");
|
||||||
|
background-size: contain;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overview-icon { color: transparent; }
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:active,
|
||||||
|
&:checked,
|
||||||
|
&:focus {
|
||||||
|
.show-apps-icon { color: transparent; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Show apps button
|
// Show apps button
|
||||||
.show-apps .show-apps-icon {
|
.show-apps {
|
||||||
color: transparent;
|
@if $showapps_button == "bigsur" {
|
||||||
background-image: url("assets/view-app-grid.svg");
|
@extend %show_apps_bigsur;
|
||||||
background-size: contain;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.show-apps .overview-icon {
|
|
||||||
color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.show-apps:hover .show-apps-icon,
|
|
||||||
.show-apps:active .show-apps-icon,
|
|
||||||
.show-apps:checked .show-apps-icon,
|
|
||||||
.show-apps:focus .show-apps-icon {
|
|
||||||
color: transparent;
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user