mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-15 21:39:57 -05:00
add app name to code save notif
This commit is contained in:
@@ -97,7 +97,7 @@ ColumnLayout {
|
|||||||
onClicked: {
|
onClicked: {
|
||||||
const downloadPath = FileUtils.trimFileProtocol(Directories.downloads)
|
const downloadPath = FileUtils.trimFileProtocol(Directories.downloads)
|
||||||
Hyprland.dispatch(`exec echo '${StringUtils.shellSingleQuoteEscape(segmentContent)}' > '${downloadPath}/code.${segmentLang || "txt"}'`)
|
Hyprland.dispatch(`exec echo '${StringUtils.shellSingleQuoteEscape(segmentContent)}' > '${downloadPath}/code.${segmentLang || "txt"}'`)
|
||||||
Hyprland.dispatch(`exec notify-send 'Code saved to file' '${downloadPath}/code.${segmentLang || "txt"}'`)
|
Hyprland.dispatch(`exec notify-send 'Code saved to file' '${downloadPath}/code.${segmentLang || "txt"}' -a Shell`)
|
||||||
saveCodeButton.activated = true
|
saveCodeButton.activated = true
|
||||||
saveIconTimer.restart()
|
saveIconTimer.restart()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user