forked from Shinonome/dots-hyprland
lock: add reboot button (#2086)
* lock: added reboot button * lock: reorder reboot/shutdown buttons --------- Co-authored-by: end-4 <97237370+end-4@users.noreply.github.com>
This commit is contained in:
@@ -286,5 +286,21 @@ MouseArea {
|
|||||||
color: Appearance.colors.colOnSurfaceVariant
|
color: Appearance.colors.colOnSurfaceVariant
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ToolbarButton {
|
||||||
|
id: rebootButton
|
||||||
|
implicitWidth: height
|
||||||
|
|
||||||
|
onClicked: Session.reboot()
|
||||||
|
|
||||||
|
contentItem: MaterialSymbol {
|
||||||
|
anchors.centerIn: parent
|
||||||
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
iconSize: 24
|
||||||
|
text: "restart_alt"
|
||||||
|
color: Appearance.colors.colOnSurfaceVariant
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user