Fixed issues
This commit is contained in:
parent
ab3282919a
commit
cd2bc27f9f
3 changed files with 11 additions and 7 deletions
|
@ -136,7 +136,7 @@ if [[ "${uninstall}" == 'true' ]]; then
|
||||||
if [[ "${libadwaita}" == 'true' ]]; then
|
if [[ "${libadwaita}" == 'true' ]]; then
|
||||||
if [[ "$UID" != '0' ]]; then
|
if [[ "$UID" != '0' ]]; then
|
||||||
remove_libadwaita
|
remove_libadwaita
|
||||||
prompt -s "Removed gtk-4.0 theme files in '${HOME}/.config/gtk-4.0/' !"; echo
|
prompt -s "Removed gtk-4.0 theme files in '${HOME}/.config/gtk-4.0/' !";
|
||||||
else
|
else
|
||||||
prompt -e "Do not run '--libadwaita' option with sudo!"; echo
|
prompt -e "Do not run '--libadwaita' option with sudo!"; echo
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -530,9 +530,9 @@ config_gtk4() {
|
||||||
|
|
||||||
# Install gtk4.0 into config for libadwaita
|
# Install gtk4.0 into config for libadwaita
|
||||||
mkdir -p "${TARGET_DIR}"
|
mkdir -p "${TARGET_DIR}"
|
||||||
rm -rf "${TARGET_DIR}/"{gtk.css,gtk-dark.css,assets,windows-assets}
|
backup_file "${TARGET_DIR}/gtk.css" "udo"
|
||||||
|
rm -rf "${TARGET_DIR}/"{gtk.css,assets,windows-assets}
|
||||||
sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-4.0/gtk${color}.scss" "${TARGET_DIR}/gtk.css"
|
sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-4.0/gtk${color}.scss" "${TARGET_DIR}/gtk.css"
|
||||||
sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-4.0/gtk-Dark.scss" "${TARGET_DIR}/gtk-dark.css"
|
|
||||||
cp -r "${THEME_SRC_DIR}/assets/gtk/common-assets/assets" "${TARGET_DIR}"
|
cp -r "${THEME_SRC_DIR}/assets/gtk/common-assets/assets" "${TARGET_DIR}"
|
||||||
cp -r "${THEME_SRC_DIR}/assets/gtk/common-assets/sidebar-assets/"*".png" "${TARGET_DIR}/assets"
|
cp -r "${THEME_SRC_DIR}/assets/gtk/common-assets/sidebar-assets/"*".png" "${TARGET_DIR}/assets"
|
||||||
cp -r "${THEME_SRC_DIR}/assets/gtk/scalable" "${TARGET_DIR}/assets"
|
cp -r "${THEME_SRC_DIR}/assets/gtk/scalable" "${TARGET_DIR}/assets"
|
||||||
|
@ -548,7 +548,8 @@ install_libadwaita() {
|
||||||
}
|
}
|
||||||
|
|
||||||
remove_libadwaita() {
|
remove_libadwaita() {
|
||||||
rm -rf "${HOME}/.config/gtk-4.0/"{gtk.css,gtk-dark.css,assets,windows-assets}
|
restore_file "${TARGET_DIR}/gtk.css"
|
||||||
|
rm -rf "${HOME}/.config/gtk-4.0/"{gtk-dark.css,assets,windows-assets}
|
||||||
}
|
}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
|
@ -11,11 +11,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Tabs bar height */
|
/* Tabs bar height */
|
||||||
#tabbrowser-tabs,
|
#tabbrowser-tabs {
|
||||||
#tabbrowser-tabs arrowscrollbox {
|
|
||||||
--tab-min-height: 32px !important;
|
--tab-min-height: 32px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#tabbrowser-tabs:not([secondarytext-unsupported]) .tab-label-container {
|
||||||
|
max-height: 32px !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* Extra margin for the first and last tabs */
|
/* Extra margin for the first and last tabs */
|
||||||
.tabbrowser-tab[first-tab]:not([pinned=true]) {
|
.tabbrowser-tab[first-tab]:not([pinned=true]) {
|
||||||
margin-left: 8px !important;
|
margin-left: 8px !important;
|
||||||
|
|
Loading…
Reference in a new issue