autoformatting
This commit is contained in:
parent
9a9f2886e0
commit
880ac93662
2 changed files with 3 additions and 4 deletions
|
|
@ -84,10 +84,9 @@ Item {
|
||||||
if (Settings.data.appLauncher.useApp2Unit && app.id) {
|
if (Settings.data.appLauncher.useApp2Unit && app.id) {
|
||||||
Logger.log("ApplicationsPlugin", `Using app2unit for: ${app.id}`)
|
Logger.log("ApplicationsPlugin", `Using app2unit for: ${app.id}`)
|
||||||
if (app.runInTerminal)
|
if (app.runInTerminal)
|
||||||
Quickshell.execDetached(["app2unit", "--", app.id + ".desktop"])
|
Quickshell.execDetached(["app2unit", "--", app.id + ".desktop"])
|
||||||
else
|
else
|
||||||
Quickshell.execDetached(["app2unit", "--"].concat(app.command))
|
Quickshell.execDetached(["app2unit", "--"].concat(app.command))
|
||||||
|
|
||||||
} else if (app.execute) {
|
} else if (app.execute) {
|
||||||
app.execute()
|
app.execute()
|
||||||
} else if (app.exec) {
|
} else if (app.exec) {
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ Variants {
|
||||||
implicitHeight: Math.round(toast.visible ? toast.height + Style.marginM * scaling : 1)
|
implicitHeight: Math.round(toast.visible ? toast.height + Style.marginM * scaling : 1)
|
||||||
|
|
||||||
// Set margins based on bar position
|
// Set margins based on bar position
|
||||||
margins.top: Settings.data.bar.position === "top" ? (Style.barHeight + Style.marginS + (Settings.data.bar.floating ? Settings.data.bar.marginVertical: 0)) * scaling : 0
|
margins.top: Settings.data.bar.position === "top" ? (Style.barHeight + Style.marginS + (Settings.data.bar.floating ? Settings.data.bar.marginVertical : 0)) * scaling : 0
|
||||||
margins.bottom: Settings.data.bar.position === "bottom" ? (Style.barHeight + Style.marginS + (Settings.data.bar.floating ? Settings.data.bar.marginVertical : 0)) * scaling : 0
|
margins.bottom: Settings.data.bar.position === "bottom" ? (Style.barHeight + Style.marginS + (Settings.data.bar.floating ? Settings.data.bar.marginVertical : 0)) * scaling : 0
|
||||||
|
|
||||||
// Transparent background
|
// Transparent background
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue