From fdc48945a11f2062926c429b19cc316ab21b37ad Mon Sep 17 00:00:00 2001 From: clsty Date: Sat, 8 Feb 2025 16:44:29 +0800 Subject: [PATCH] Complete the fix for #970 --- .config/ags/services/messages.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/ags/services/messages.js b/.config/ags/services/messages.js index fb94c7bbd..cb5b5e1af 100644 --- a/.config/ags/services/messages.js +++ b/.config/ags/services/messages.js @@ -51,11 +51,11 @@ export async function firstRunWelcome() { Utils.writeFile(FIRST_RUN_FILE_CONTENT, FIRST_RUN_PATH) .then(() => { // Note that we add a little delay to make sure the cool circular progress works - Utils.execAsync(['hyprctl', 'keyword', 'bind', "Super,Slash,exec,ags -t cheatsheet"]).catch(print); + Utils.execAsync(['hyprctl', 'keyword', 'bind', 'Super,Slash,exec,for ((i=0; i<$(hyprctl monitors -j | jq length); i++)); do ags -t "cheatsheet""$i"; done']).catch(print); Utils.execAsync(['bash', '-c', `sleep 0.5; notify-send "Millis since epoch" "$(date +%s%N | cut -b1-13)"; sleep 0.5; notify-send '${FIRST_RUN_NOTIF_TITLE}' '${FIRST_RUN_NOTIF_BODY}' -a '${APP_NAME}' &` ]).catch(print) }) .catch(print); } -} \ No newline at end of file +}