mirror of
https://github.com/pnx/dotfiles
synced 2026-11-09 15:36:48 +01:00
add quickshell config
This commit is contained in:
parent
d2394e3c7a
commit
200a1e3b59
12 changed files with 435 additions and 0 deletions
21
quickshell/components/Workspace/WorkspaceButton.qml
Normal file
21
quickshell/components/Workspace/WorkspaceButton.qml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import ".."
|
||||
|
||||
Button {
|
||||
property bool indicatorTop: true
|
||||
property int indicatorHeight: 2
|
||||
property color indicatorColor
|
||||
|
||||
id: root
|
||||
|
||||
Rectangle {
|
||||
anchors {
|
||||
top: root.indicatorTop ? parent.top : undefined
|
||||
bottom: !root.indicatorTop ? parent.buttom : undefined
|
||||
}
|
||||
implicitHeight: parent.indicatorHeight
|
||||
implicitWidth: parent.implicitWidth
|
||||
color: root.indicatorColor
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue