Compare commits

...

3 commits

Author SHA1 Message Date
Benjamin Palko
653f5814b3 cleaner 2025-07-20 23:45:23 -04:00
Benjamin Palko
c9d925c3b8 improved, use os-release 2025-07-20 23:44:03 -04:00
Benjamin Palko
5bd9b538b6 fix circular binding 2025-07-20 22:52:51 -04:00
3 changed files with 16 additions and 7 deletions

View file

@ -7,11 +7,9 @@ Scope {
PanelWindow {
id: root
anchors {
top: true
left: true
right: true
}
anchors.top: true
anchors.left: true
anchors.right: true
implicitHeight: Dimensions.bar.height
color: 'transparent'

View file

@ -16,7 +16,7 @@ Item {
StyledText {
id: text
anchors.centerIn: parent
anchors.verticalCenter: parent.verticalCenter
topPadding: Dimensions.clock.verticalPadding
bottomPadding: Dimensions.clock.verticalPadding
leftPadding: Dimensions.clock.horizontalPadding

View file

@ -1,6 +1,17 @@
import Quickshell
import Quickshell.Io
import Quickshell.Widgets
IconImage {
source: Quickshell.iconPath("archlinux-logo")
id: root
Process {
running: true
command: ["sh", "-c", ". /etc/os-release && echo $LOGO"]
stdout: StdioCollector {
onStreamFinished: () => {
root.source = Quickshell.iconPath(this.text.trim());
}
}
}
}