Compare commits
No commits in common. "653f5814b3d0883658723916601e8b744613ad19" and "b84b29ed7f3134f9366bc8cc1858186f402a87a4" have entirely different histories.
653f5814b3
...
b84b29ed7f
3 changed files with 7 additions and 16 deletions
|
|
@ -7,9 +7,11 @@ Scope {
|
|||
PanelWindow {
|
||||
id: root
|
||||
|
||||
anchors.top: true
|
||||
anchors.left: true
|
||||
anchors.right: true
|
||||
anchors {
|
||||
top: true
|
||||
left: true
|
||||
right: true
|
||||
}
|
||||
|
||||
implicitHeight: Dimensions.bar.height
|
||||
color: 'transparent'
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Item {
|
|||
|
||||
StyledText {
|
||||
id: text
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.centerIn: parent
|
||||
topPadding: Dimensions.clock.verticalPadding
|
||||
bottomPadding: Dimensions.clock.verticalPadding
|
||||
leftPadding: Dimensions.clock.horizontalPadding
|
||||
|
|
|
|||
|
|
@ -1,17 +1,6 @@
|
|||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import Quickshell.Widgets
|
||||
|
||||
IconImage {
|
||||
id: root
|
||||
|
||||
Process {
|
||||
running: true
|
||||
command: ["sh", "-c", ". /etc/os-release && echo $LOGO"]
|
||||
stdout: StdioCollector {
|
||||
onStreamFinished: () => {
|
||||
root.source = Quickshell.iconPath(this.text.trim());
|
||||
}
|
||||
}
|
||||
}
|
||||
source: Quickshell.iconPath("archlinux-logo")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue