From 5fda1cdc612505ab8aa66b4e126857876272bf23 Mon Sep 17 00:00:00 2001 From: Cleboost Date: Thu, 16 Oct 2025 22:07:29 +0200 Subject: [PATCH] fix: Invoke record script via bash -c with ~ expansion --- dots/.config/quickshell/ii/modules/bar/UtilButtons.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dots/.config/quickshell/ii/modules/bar/UtilButtons.qml b/dots/.config/quickshell/ii/modules/bar/UtilButtons.qml index 6e4a917f2..65fa161e3 100644 --- a/dots/.config/quickshell/ii/modules/bar/UtilButtons.qml +++ b/dots/.config/quickshell/ii/modules/bar/UtilButtons.qml @@ -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