This commit is contained in:
vinceliuice 2025-04-25 00:03:35 +08:00
parent 3dc9dc0fb1
commit f67de5aeab
2 changed files with 40 additions and 24 deletions

View File

@ -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
}

View File

@ -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 {