mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
dock: adjust active color
This commit is contained in:
parent
1add44ba2f
commit
bbd2bfda5d
2 changed files with 3 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ Scope { // Scope
|
|||
screen: modelData
|
||||
|
||||
property bool reveal: root.pinned
|
||||
|| ((ConfigOptions?.dock.hoverToReveal ?? true) && dockMouseArea.containsMouse)
|
||||
|| (ConfigOptions?.dock.hoverToReveal && dockMouseArea.containsMouse)
|
||||
|| dockApps.requestDockShow
|
||||
|| (!ToplevelManager.activeToplevel?.activated)
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ import "root:/"
|
|||
import "root:/services"
|
||||
import "root:/modules/common"
|
||||
import "root:/modules/common/widgets"
|
||||
import "root:/modules/common/functions/color_utils.js" as ColorUtils
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Effects
|
||||
|
|
@ -71,7 +72,7 @@ DockButton {
|
|||
implicitWidth: (appToplevel.toplevels.length <= 3) ?
|
||||
appButton.countDotWidth : appButton.countDotHeight // Circles when too many
|
||||
implicitHeight: appButton.countDotHeight
|
||||
color: Appearance.m3colors.m3primary
|
||||
color: appIsActive ? Appearance.m3colors.m3primary : ColorUtils.transparentize(Appearance.colors.colOnLayer0, 0.4)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue