updates to tiling and neovim
This commit is contained in:
parent
c4915bae20
commit
5c44151022
11 changed files with 112 additions and 232 deletions
43
home/tiling/quickshell/config/shell.qml
Normal file
43
home/tiling/quickshell/config/shell.qml
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
import Quickshell // for PanelWindow
|
||||
import Quickshell.Io // for Process
|
||||
import QtQuick // for Text
|
||||
|
||||
PanelWindow {
|
||||
anchors {
|
||||
top: false
|
||||
left: true
|
||||
right: true
|
||||
bottom: true
|
||||
}
|
||||
|
||||
implicitHeight: 37
|
||||
|
||||
color: "transparent"
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: "#1e1e2e"
|
||||
Text {
|
||||
id: clock
|
||||
// center the bar in its parent component (the window)
|
||||
anchors.centerIn: parent
|
||||
anchors.right: parent
|
||||
color: "#cdd6f4"
|
||||
|
||||
Process {
|
||||
id: dateProc
|
||||
command: ["date"]
|
||||
running: true
|
||||
stdout: StdioCollector {
|
||||
onStreamFinished: clock.text = this.text
|
||||
}
|
||||
}
|
||||
Timer {
|
||||
interval: 1000
|
||||
running: true
|
||||
repeat: true
|
||||
onTriggered: dateProc.running = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue