fix screenshot button

This commit is contained in:
end-4
2025-10-21 16:06:16 +02:00
parent 1830aeba18
commit c50a505cdb
2 changed files with 3 additions and 2 deletions
@@ -4,6 +4,7 @@ import qs.modules.common.widgets
import qs.services
import QtQuick
import Quickshell
import Quickshell.Hyprland
AndroidQuickToggleButton {
id: root
@@ -22,7 +23,7 @@ AndroidQuickToggleButton {
interval: 300
repeat: false
onTriggered: {
Quickshell.execDetached(["qs", "-p", Quickshell.shellPath("screenshot.qml")])
Hyprland.dispatch("global quickshell:regionScreenshot")
}
}