Created new hover window, theming changes
This commit is contained in:
18
Common/HoverMediator.qml
Normal file
18
Common/HoverMediator.qml
Normal file
@@ -0,0 +1,18 @@
|
||||
pragma Singleton
|
||||
|
||||
import Quickshell
|
||||
import qs.Common
|
||||
|
||||
Singleton {
|
||||
id: mediatorRoot
|
||||
|
||||
property var component: null
|
||||
property string type: ""
|
||||
property int width: 100
|
||||
property int height: 100
|
||||
property int x: component? component.implicitWidth : 0
|
||||
property int y: component? (component.implicitHeight + Theme.gaps) : 100
|
||||
property bool visible: false
|
||||
|
||||
|
||||
}
|
||||
@@ -11,7 +11,8 @@ Singleton {
|
||||
readonly property double heightGaps: barSize * 0.8
|
||||
readonly property string fontFamily: "Source Code Pro"
|
||||
readonly property int gaps: 5
|
||||
|
||||
readonly property int animationDuration: 200
|
||||
|
||||
// Colors
|
||||
FileView {
|
||||
id: walColors
|
||||
|
||||
Reference in New Issue
Block a user