port new components to greeter
This commit is contained in:
@@ -15,11 +15,11 @@ Item {
|
||||
implicitHeight: Config.launcher.sizes.itemHeight
|
||||
|
||||
StateLayer {
|
||||
function onClicked(): void {
|
||||
radius: Appearance.rounding.smallest
|
||||
|
||||
onClicked: {
|
||||
root.modelData?.onClicked(root.list);
|
||||
}
|
||||
|
||||
radius: Appearance.rounding.smallest
|
||||
}
|
||||
|
||||
Item {
|
||||
|
||||
@@ -18,12 +18,12 @@ Item {
|
||||
implicitHeight: Config.launcher.sizes.itemHeight
|
||||
|
||||
StateLayer {
|
||||
function onClicked(): void {
|
||||
radius: Appearance.rounding.smallest
|
||||
|
||||
onClicked: {
|
||||
Apps.launch(root.modelData);
|
||||
root.visibilities.launcher = false;
|
||||
}
|
||||
|
||||
radius: Appearance.rounding.smallest
|
||||
}
|
||||
|
||||
Item {
|
||||
|
||||
@@ -23,11 +23,11 @@ Item {
|
||||
implicitHeight: Config.launcher.sizes.itemHeight
|
||||
|
||||
StateLayer {
|
||||
function onClicked(): void {
|
||||
radius: Appearance.rounding.smallest
|
||||
|
||||
onClicked: {
|
||||
root.onClicked();
|
||||
}
|
||||
|
||||
radius: Appearance.rounding.smallest
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
@@ -76,12 +76,12 @@ Item {
|
||||
StateLayer {
|
||||
id: stateLayer
|
||||
|
||||
function onClicked(): void {
|
||||
color: DynamicColors.palette.m3onTertiary
|
||||
|
||||
onClicked: {
|
||||
Quickshell.execDetached(["app2unit", "--", ...Config.general.apps.terminal, "fish", "-C", `exec qalc -i '${root.math}'`]);
|
||||
root.list.visibilities.launcher = false;
|
||||
}
|
||||
|
||||
color: DynamicColors.palette.m3onTertiary
|
||||
}
|
||||
|
||||
CustomText {
|
||||
|
||||
@@ -14,11 +14,11 @@ Item {
|
||||
implicitHeight: Config.launcher.sizes.itemHeight
|
||||
|
||||
StateLayer {
|
||||
function onClicked(): void {
|
||||
radius: Appearance.rounding.smallest
|
||||
|
||||
onClicked: {
|
||||
root.modelData?.onClicked(root.list);
|
||||
}
|
||||
|
||||
radius: Appearance.rounding.smallest
|
||||
}
|
||||
|
||||
Item {
|
||||
|
||||
@@ -33,12 +33,12 @@ Item {
|
||||
}
|
||||
|
||||
StateLayer {
|
||||
function onClicked(): void {
|
||||
radius: Appearance.rounding.normal
|
||||
|
||||
onClicked: {
|
||||
Wallpapers.setWallpaper(root.modelData.path);
|
||||
root.visibilities.launcher = false;
|
||||
}
|
||||
|
||||
radius: Appearance.rounding.normal
|
||||
}
|
||||
|
||||
Elevation {
|
||||
|
||||
Reference in New Issue
Block a user