diff --git a/libs/lib-install.sh b/libs/lib-install.sh index 929a0fc6..542663a6 100755 --- a/libs/lib-install.sh +++ b/libs/lib-install.sh @@ -77,7 +77,11 @@ prepare_deps() { prompt -w "DEPS: Your system clock is wrong" prompt -i "DEPS: Updating your system clock..." # Add "+ 25" here to accomodate potential time delay by sudo prompt - sudo date -s "@$((remote_time + 25))"; sudo hwclock --systohc + sudo date -s "@$((remote_time + 25))" + + if has_command hwclock; then + sudo hwclock --systohc + fi fi } diff --git a/src/sass/gtk/apps/_libadwaita.scss b/src/sass/gtk/apps/_libadwaita.scss index b4991411..b4dfb526 100644 --- a/src/sass/gtk/apps/_libadwaita.scss +++ b/src/sass/gtk/apps/_libadwaita.scss @@ -419,10 +419,6 @@ headerbar > windowhandle > box viewswitcher { // tabbar { - .box { - min-height: $menuitem_size; - } - .start-action, .end-action { padding: $container_padding; @@ -438,28 +434,27 @@ tabbar { padding-left: 0; } - &:not(.inline) { - .box { - color: $text_color; - margin: 0; - box-shadow: none; - border-bottom: 1px solid $borders_color; + .box { + min-height: $menuitem_size; + color: $text_color; + margin: 0; + box-shadow: none; + border-bottom: 1px solid $borders_color; - @if $monterey == 'false' { - padding: 0; - background-color: color-mix(in srgb, black 15%, $header_bg); - } @else { - padding: $container_padding / 2 0; - background-color: $header_bg; - } + @if $monterey == 'false' { + padding: 0; + background-color: color-mix(in srgb, black 15%, $header_bg); + } @else { + padding: $container_padding / 2 0; + background-color: $header_bg; } + } - &:backdrop .box { - > scrolledwindow, - > .start-action, - > .end-action { - filter: opacity(0.5); - } + &:backdrop .box { + > scrolledwindow, + > .start-action, + > .end-action { + filter: opacity(0.5); } } @@ -483,6 +478,7 @@ tabbar { min-width: 2px; border-radius: 2px; background: gtkalpha($selected_bg_color, 0.5); + margin: 3px 6px; } > tabboxchild { @@ -551,6 +547,22 @@ tabbar { } } } + + scrolledwindow.pinned { + @if $monterey == 'false' { + padding: $container_padding / 2 0; + } + + tabbox { + > tab, + > tabboxchild > tab { + @extend %monterey_tab; + @if $monterey == 'false' { + padding: 0 $container_padding / 2; + } + } + } + } } dnd tab {