add quickshell
This commit is contained in:
parent
3d48e35de5
commit
10960f620d
32 changed files with 1415 additions and 11 deletions
18
quickshell/ActiveWindow.qml
Normal file
18
quickshell/ActiveWindow.qml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import QtQuick
|
||||
|
||||
Text {
|
||||
readonly property string title: niri.focusedWindow?.title ?? ""
|
||||
|
||||
text: title
|
||||
color: Theme.subtle
|
||||
font.pixelSize: Theme.fontSize
|
||||
font.family: Theme.font
|
||||
elide: Text.ElideRight
|
||||
maximumLineCount: 1
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
opacity: title.length > 0 ? 1.0 : 0.0
|
||||
|
||||
Behavior on opacity {
|
||||
NumberAnimation { duration: 120 }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue