fix: Invoke record script via bash -c with ~ expansion

This commit is contained in:
Cleboost
2025-10-16 22:07:29 +02:00
parent 91955ef66c
commit 5fda1cdc61
@@ -41,7 +41,7 @@ Item {
visible: Config.options.bar.utilButtons.showScreenRecord
sourceComponent: CircleUtilButton {
Layout.alignment: Qt.AlignVCenter
onClicked: Quickshell.execDetached(["/bin/bash", "/home/cleboost/.config/hypr/hyprland/scripts/record.sh", "--fullscreen-sound"])
onClicked: Quickshell.execDetached(["bash", "-c", "~/.config/hypr/hyprland/scripts/record.sh --fullscreen-sound"])
MaterialSymbol {
horizontalAlignment: Qt.AlignHCenter
fill: 1