add system logo
This commit is contained in:
parent
375ded5e81
commit
4af55f8117
3 changed files with 12 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ Singleton {
|
||||||
component Bar: QtObject {
|
component Bar: QtObject {
|
||||||
id: bar
|
id: bar
|
||||||
|
|
||||||
property int spacing: 6
|
property int spacing: 8
|
||||||
property int border: 2
|
property int border: 2
|
||||||
property int height: 50
|
property int height: 50
|
||||||
property int verticalMargins: 4
|
property int verticalMargins: 4
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,11 @@ Scope {
|
||||||
|
|
||||||
spacing: Dimensions.bar.spacing
|
spacing: Dimensions.bar.spacing
|
||||||
|
|
||||||
|
SystemLogo {
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
implicitSize: 22
|
||||||
|
}
|
||||||
|
|
||||||
Workspaces {
|
Workspaces {
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
|
|
|
||||||
6
modules/bar/components/SystemLogo.qml
Normal file
6
modules/bar/components/SystemLogo.qml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
import Quickshell
|
||||||
|
import Quickshell.Widgets
|
||||||
|
|
||||||
|
IconImage {
|
||||||
|
source: Quickshell.iconPath("archlinux-logo")
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue