forked from Shinonome/dots-hyprland
Merge remote-tracking branch 'origin/main' into addon-i18n
This commit is contained in:
@@ -111,7 +111,6 @@ Item {
|
||||
acceptedButtons: Qt.LeftButton
|
||||
onClicked: {
|
||||
if (root.draggingTargetWorkspace === -1) {
|
||||
// Hyprland.dispatch(`exec qs ipc call overview close`)
|
||||
GlobalStates.overviewOpen = false
|
||||
Hyprland.dispatch(`workspace ${workspaceValue}`)
|
||||
}
|
||||
|
||||
@@ -303,7 +303,9 @@ Item { // Wrapper
|
||||
clickActionName: "",
|
||||
type: `#${entry.match(/^\s*(\S+)/)?.[1] || ""}`,
|
||||
execute: () => {
|
||||
Hyprland.dispatch(`exec echo '${StringUtils.shellSingleQuoteEscape(entry)}' | cliphist decode | wl-copy`);
|
||||
Quickshell.execDetached(
|
||||
["bash", "-c", `echo '${StringUtils.shellSingleQuoteEscape(entry)}' | cliphist decode | wl-copy`]
|
||||
);
|
||||
}
|
||||
};
|
||||
}).filter(Boolean);
|
||||
@@ -318,7 +320,7 @@ Item { // Wrapper
|
||||
clickActionName: "",
|
||||
type: "Emoji",
|
||||
execute: () => {
|
||||
Hyprland.dispatch(`exec wl-copy '${StringUtils.shellSingleQuoteEscape(entry.match(/^\s*(\S+)/)?.[1])}'`);
|
||||
Quickshell.clipboardText = entry.match(/^\s*(\S+)/)?.[1]
|
||||
}
|
||||
};
|
||||
}).filter(Boolean);
|
||||
@@ -334,7 +336,7 @@ Item { // Wrapper
|
||||
fontType: "monospace",
|
||||
materialSymbol: 'calculate',
|
||||
execute: () => {
|
||||
Hyprland.dispatch(`exec wl-copy '${StringUtils.shellSingleQuoteEscape(root.mathResult)}'`)
|
||||
Quickshell.clipboardText = root.mathResult;
|
||||
}
|
||||
}
|
||||
const commandResultObject = {
|
||||
|
||||
Reference in New Issue
Block a user