fix minor issues
This commit is contained in:
parent
7160655e78
commit
dcffca728d
4 changed files with 18 additions and 19 deletions
|
|
@ -21,7 +21,7 @@ Rectangle {
|
|||
color: 'transparent'
|
||||
clip: true
|
||||
StyledText {
|
||||
property bool onWs: Hyprland.activeToplevel.workspace == Hyprland.focusedWorkspace
|
||||
property bool onWs: Hyprland.activeToplevel?.workspace == Hyprland.focusedWorkspace
|
||||
text: onWs ? Hyprland.activeToplevel?.title ?? "Desktop" : "Desktop"
|
||||
elide: Text.ElideRight
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ Rectangle {
|
|||
model: Hyprland.workspaces
|
||||
delegate: Rectangle {
|
||||
id: wsWrapper
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
implicitHeight: root.moduleHeight - 4
|
||||
implicitWidth: modelData.active ? 48 : 24
|
||||
parent: wsLayout
|
||||
|
|
|
|||
Loading…
Reference in a new issue