mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
dock: adjust active color
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user