Fixed xfce issues

This commit is contained in:
vinceliuice
2023-08-24 12:58:38 +08:00
parent 5936e2f6be
commit da7ce3629d
2 changed files with 11 additions and 4 deletions

View File

@@ -628,7 +628,7 @@ install_theme() {
done
done
if (which xfce4-popup-whiskermenu 2> /dev/null); then
if (command -v xfce4-popup-whiskermenu &> /dev/null) && $(sed -i "s|.*menu-opacity=.*|menu-opacity=95|" "$HOME/.config/xfce4/panel/whiskermenu"*".rc" &> /dev/null); then
sed -i "s|.*menu-opacity=.*|menu-opacity=95|" "$HOME/.config/xfce4/panel/whiskermenu"*".rc"
fi

View File

@@ -15,17 +15,24 @@
.xfce4-panel.background {
border: none; // Sadly the border is hard-coded
background-color: $panel;
color: on($panel, secondary);
color: $panel-text-secondary;
font-weight: 500;
button {
@extend %button-flat;
@extend %button-on-dark;
min-height: 16px;
min-width: 16px;
padding: 0 $space-size;
border-radius: 0;
color: $panel-text-secondary;
&:hover, &:active, &:checked {
color: $panel-text;
}
&:disabled {
color: $panel-text-secondary-disabled;
}
&.flat.toggle {
padding: 0 $space-size;