Files
Hyprland-Config-FWS/sddm/catppuccin-mocha-mauve/Components/RebootButton.qml
T
BlackAngelTV 27ad1efe42 feat: package the violet Hyprland theme as distributable dotfiles
Complete violet-themed desktop pack: Hyprland, Waybar, wofi, kitty,
btop, GTK, zsh/bash prompts, GRUB theme, SDDM theme and wallpaper,
with an installer script (backup + substitutions) and French docs.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-10 21:45:40 +02:00

42 lines
831 B
QML

import QtQuick 2.15
import QtQuick.Controls 2.15
Item {
implicitHeight: rebootButton.height
implicitWidth: rebootButton.width
Button {
id: rebootButton
height: inputHeight
width: inputHeight
hoverEnabled: true
icon {
source: Qt.resolvedUrl("../icons/reboot.svg")
height: height
width: width
color: "#11111B"
}
background: Rectangle {
id: rebootButtonBackground
radius: 3
color: "#F38BA8"
}
states: [
State {
name: "hovered"
when: rebootButton.hovered
PropertyChanges {
target: rebootButtonBackground
color: "#F5E0DC"
}
}
]
transitions: Transition {
PropertyAnimation {
properties: "color"
duration: 300
}
}
onClicked: sddm.reboot()
}
}