mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
50 lines
1.2 KiB
QML
50 lines
1.2 KiB
QML
import "root:/modules/common"
|
|
import "root:/modules/common/widgets"
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
import Quickshell
|
|
import Quickshell.Io
|
|
import Quickshell.Hyprland
|
|
|
|
Rectangle {
|
|
Layout.alignment: Qt.AlignVCenter
|
|
implicitWidth: rowLayout.implicitWidth + rowLayout.spacing * 2
|
|
implicitHeight: 32
|
|
color: Appearance.colors.colLayer1
|
|
radius: Appearance.rounding.small
|
|
|
|
RowLayout {
|
|
id: rowLayout
|
|
|
|
spacing: 4
|
|
anchors.centerIn: parent
|
|
|
|
SmallCircleButton {
|
|
Layout.alignment: Qt.AlignVCenter
|
|
onClicked: Hyprland.dispatch("exec grimblast copy area")
|
|
|
|
MaterialSymbol {
|
|
anchors.centerIn: parent
|
|
text: "screenshot_region"
|
|
font.pixelSize: Appearance.font.pixelSize.normal
|
|
color: Appearance.colors.colOnLayer2
|
|
}
|
|
|
|
}
|
|
|
|
SmallCircleButton {
|
|
Layout.alignment: Qt.AlignVCenter
|
|
onClicked: Hyprland.dispatch("exec hyprpicker -a")
|
|
|
|
MaterialSymbol {
|
|
anchors.centerIn: parent
|
|
text: "colorize"
|
|
font.pixelSize: Appearance.font.pixelSize.normal
|
|
color: Appearance.colors.colOnLayer2
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|