forked from Shinonome/alt-illogical-impulse
ac6d3adeb9
BREAKING CHANGE: Remove external dots-hyprland dependency - Imported all essential configs from dots-hyprland/installer-replication - Added complete configs/ directory with: - hypr/ - Hyprland configuration - quickshell/ - Quickshell widgets and config - applications/ - Application configurations - scripts/ - Utility scripts - matugen/ - Material You theming - Updated flake.nix to use local ./configs instead of external repo - Simplified update-flake script (removed external repo management) - Updated README to reflect self-contained architecture - All builds pass with local configurations Benefits: - No external repository dependencies - Faster builds (no network dependencies) - Version controlled configs in single repo - Easier maintenance and development - Complete installer replication in one place
31 lines
775 B
QML
31 lines
775 B
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
import qs.modules.common
|
|
import qs.modules.common.widgets
|
|
|
|
RippleButton {
|
|
id: root
|
|
Layout.alignment: Qt.AlignLeft
|
|
implicitWidth: 40
|
|
implicitHeight: 40
|
|
Layout.leftMargin: 8
|
|
onClicked: {
|
|
parent.expanded = !parent.expanded;
|
|
}
|
|
buttonRadius: Appearance.rounding.full
|
|
|
|
rotation: root.parent.expanded ? 0 : -180
|
|
Behavior on rotation {
|
|
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
|
|
}
|
|
|
|
contentItem: MaterialSymbol {
|
|
id: icon
|
|
anchors.centerIn: parent
|
|
horizontalAlignment: Text.AlignHCenter
|
|
iconSize: 24
|
|
color: Appearance.colors.colOnLayer1
|
|
text: root.parent.expanded ? "menu_open" : "menu"
|
|
}
|
|
}
|