getting things done

This commit is contained in:
2026-06-14 15:01:16 +01:00
parent 6e84d0ca21
commit 269b806af5
6 changed files with 247 additions and 9 deletions

44
Bar/Center.qml Normal file
View File

@@ -0,0 +1,44 @@
import QtQuick
import Quickshell
import "../Color.js" as Colors
import "../Components/"
import "../Services/"
Container {
id: centerPill
boxColor: Colors.mauve
defaultItem: time
exclusiveToScreen: true
state: ""
states: [
State {
name: "hovered"
PropertyChanges {
centerPill.boxColor: Colors.teal
centerPill.boxHeight: 200
}
}
]
mouse.onEntered: {
print("entered");
centerPill.state = "hovered";
}
mouse.onExited: {
print("something");
centerPill.state = "";
}
Component {
id: time
Item {
CenteredText {
text: Time.time
}
}
}
}