From 1868bffbef147842b43b66dbdb54f013db7a4a03 Mon Sep 17 00:00:00 2001 From: "Celestial.y" Date: Thu, 9 Oct 2025 19:24:24 +0800 Subject: [PATCH 01/35] Update scriptdata/uv/README.md --- scriptdata/uv/README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/scriptdata/uv/README.md b/scriptdata/uv/README.md index 72861d7a8..0ab9e8ad4 100644 --- a/scriptdata/uv/README.md +++ b/scriptdata/uv/README.md @@ -10,16 +10,19 @@ This is important because there has been so many complaints about the failure in **Notes:** - See also [uv doc](https://docs.astral.sh/uv/pip/dependencies/#using-requirementsin). -- `requirements.txt` is included in Git. It's for locking package versions to enhance stability and reproducibility. - - In fact, including package version lock file in Git is also the most common way for similar situations, for example the `package-lock.json` of Node.js projects (see also [this stackoverflow question](https://stackoverflow.com/questions/48524417/should-the-package-lock-json-file-be-added-to-gitignore)). Although there are some situations when it's not suitable to include the lock file, for example [the poetry document](https://python-poetry.org/docs/basic-usage/#committing-your-poetrylock-file-to-version-control) recommend application developers to include package version lock file in Git, but library developers should consider more, such as not inluding the lock file or including it but refreshing regularly. +- `requirements.txt` is included in Git. It's for locking package versions to enhance stability and reproducibility.[^1] + +[^1]: In fact, including package version lock file in Git is also the most common way for similar situations, for example the `package-lock.json` of Node.js projects (see also [this stackoverflow question](https://stackoverflow.com/questions/48524417/should-the-package-lock-json-file-be-added-to-gitignore)). Although there are some situations when it's not suitable to include the lock file, for example [the poetry document](https://python-poetry.org/docs/basic-usage/#committing-your-poetrylock-file-to-version-control) recommend application developers to include package version lock file in Git, but library developers should consider more, such as not inluding the lock file or including it but refreshing regularly. ## How will the python packages get installed? +For summary: - They will be installed to the virtual environment `$ILLOGICAL_IMPULSE_VIRTUAL_ENV`. - The default value of `$ILLOGICAL_IMPULSE_VIRTUAL_ENV` is `$XDG_STATE_HOME/quickshell/.venv`. - The default value of `$XDG_STATE_HOME` is `$HOME/.local/state`. - - Currently we use `env = ILLOGICAL_IMPULSE_VIRTUAL_ENV, ~/.local/state/quickshell/.venv` in `~/.config/hypr/hyprland/env.conf` to set this environment variable.[^2] -- See the function `install-python-packages()` defined in `/scriptdata/lib/package-installers.sh` for details. +- Currently we use `env = ILLOGICAL_IMPULSE_VIRTUAL_ENV, ~/.local/state/quickshell/.venv` in `~/.config/hypr/hyprland/env.conf` to set this environment variable.[^2] + +For details: see the function `install-python-packages()` defined in `/scriptdata/lib/package-installers.sh`. [^2]: Hyprland seems to have weird problem dealing with recursive variable, so we can not use `$XDG_STATE_HOME/quickshell/.venv` even if we had set `$XDG_STATE_HOME` to `~/.local/state` explicitly, else `$XDG_STATE_HOME` will possibly not get expanded but get recognised as literally `$XDG_STATE_HOME`. This problem never happens for some users, but according to some issues when we were using recursive variable setting in the past, it's possible to happen for other users. Reason unknown. @@ -65,17 +68,20 @@ Add the shebang below to the beginning of python script: ``` And that's it! +(Warning: The shebang will be ignored if the script is passed as a parameter to python, e.g. `python3 foo.py`.) + **Note:** This is the simplest solution as it only modifies the shebang of python script. However: - It's only for python script, not the command provided by python package. - - P.S. Run the script directly, eg. `./foo.py`, not `python3 foo.py`, or the shebang will be ignored. -- It can not deal with complex argument (e.g. filaname containing spaces) passed to the python script. +- It can not deal with complex argument (e.g. filename containing spaces) passed to the python script. - The example above is actually unstable, considering that `--image '${StringUtils.shellSingleQuoteEscape(panelWindow.screenshotPath)}'` could be a rather complex argument. #### Solution B: bash script as wrapper First make sure the python script is using the shebang `#!/usr/bin/env python3`, instead of `#!/usr/bin/python3` or something else. +(Warning: The shebang will be ignored if the script is passed as a parameter to python, e.g. `python3 foo.py`.) + Then write a wrapper script in bash. Let's continue the `screenshot.qml` example, in the same directory as `find_regions.py`, write a `find-regions-venv.sh`: ```bash From f5bbb1747c57fcaa1b1b119470cedbf27473f06e Mon Sep 17 00:00:00 2001 From: "Celestial.y" Date: Thu, 9 Oct 2025 19:29:17 +0800 Subject: [PATCH 02/35] Update scriptdata/uv/README.md --- scriptdata/uv/README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scriptdata/uv/README.md b/scriptdata/uv/README.md index 0ab9e8ad4..ad1299662 100644 --- a/scriptdata/uv/README.md +++ b/scriptdata/uv/README.md @@ -68,20 +68,17 @@ Add the shebang below to the beginning of python script: ``` And that's it! -(Warning: The shebang will be ignored if the script is passed as a parameter to python, e.g. `python3 foo.py`.) - **Note:** This is the simplest solution as it only modifies the shebang of python script. However: - It's only for python script, not the command provided by python package. - It can not deal with complex argument (e.g. filename containing spaces) passed to the python script. - The example above is actually unstable, considering that `--image '${StringUtils.shellSingleQuoteEscape(panelWindow.screenshotPath)}'` could be a rather complex argument. +- This solution rely on shebang to activate the correct python venv, but the shebang will be ignored if the script is passed as a parameter to python, e.g. `python3 foo.py`. #### Solution B: bash script as wrapper First make sure the python script is using the shebang `#!/usr/bin/env python3`, instead of `#!/usr/bin/python3` or something else. -(Warning: The shebang will be ignored if the script is passed as a parameter to python, e.g. `python3 foo.py`.) - Then write a wrapper script in bash. Let's continue the `screenshot.qml` example, in the same directory as `find_regions.py`, write a `find-regions-venv.sh`: ```bash From fcf46469281771288e06b411cf1efa2dbc1b7808 Mon Sep 17 00:00:00 2001 From: "Celestial.y" Date: Thu, 9 Oct 2025 19:43:31 +0800 Subject: [PATCH 03/35] Update scriptdata/uv/README.md I hope this is the last commit for this file recently. --- scriptdata/uv/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scriptdata/uv/README.md b/scriptdata/uv/README.md index ad1299662..5bbe99fe9 100644 --- a/scriptdata/uv/README.md +++ b/scriptdata/uv/README.md @@ -6,10 +6,11 @@ This is important because there has been so many complaints about the failure in ## How to add/remove python package? 1. Edit `requirements.in`. You may refer to [PyPI](https://pypi.org/) for possible package names. + - If PyPI does not have the needed package, we probably need to build it manually inside the venv. In such case we need to edit the install scripts. 2. Run `uv pip compile requirements.in -o requirements.txt` in this folder. **Notes:** -- See also [uv doc](https://docs.astral.sh/uv/pip/dependencies/#using-requirementsin). +- For reference see [uv doc](https://docs.astral.sh/uv/pip/dependencies/#using-requirementsin). - `requirements.txt` is included in Git. It's for locking package versions to enhance stability and reproducibility.[^1] [^1]: In fact, including package version lock file in Git is also the most common way for similar situations, for example the `package-lock.json` of Node.js projects (see also [this stackoverflow question](https://stackoverflow.com/questions/48524417/should-the-package-lock-json-file-be-added-to-gitignore)). Although there are some situations when it's not suitable to include the lock file, for example [the poetry document](https://python-poetry.org/docs/basic-usage/#committing-your-poetrylock-file-to-version-control) recommend application developers to include package version lock file in Git, but library developers should consider more, such as not inluding the lock file or including it but refreshing regularly. @@ -72,7 +73,7 @@ And that's it! However: - It's only for python script, not the command provided by python package. - It can not deal with complex argument (e.g. filename containing spaces) passed to the python script. - - The example above is actually unstable, considering that `--image '${StringUtils.shellSingleQuoteEscape(panelWindow.screenshotPath)}'` could be a rather complex argument. + - If we apply this solution to the example above, it may cause problem, considering that `--image '${StringUtils.shellSingleQuoteEscape(panelWindow.screenshotPath)}'` could be a rather complex argument passed to `find_regions.py`. - This solution rely on shebang to activate the correct python venv, but the shebang will be ignored if the script is passed as a parameter to python, e.g. `python3 foo.py`. #### Solution B: bash script as wrapper From 8469a07f4f8cb53e37346900e88d4a60720275b5 Mon Sep 17 00:00:00 2001 From: "Celestial.y" Date: Thu, 9 Oct 2025 19:48:33 +0800 Subject: [PATCH 04/35] Update dist-gentoo rm opencv --- .../illogical-impulse-python/illogical-impulse-python-1.1.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/dist-gentoo/illogical-impulse-python/illogical-impulse-python-1.1.ebuild b/dist-gentoo/illogical-impulse-python/illogical-impulse-python-1.1.ebuild index 872b6da89..4b01ad269 100644 --- a/dist-gentoo/illogical-impulse-python/illogical-impulse-python-1.1.ebuild +++ b/dist-gentoo/illogical-impulse-python/illogical-impulse-python-1.1.ebuild @@ -21,5 +21,4 @@ RDEPEND=" net-libs/libsoup dev-libs/libportal dev-libs/gobject-introspection - media-libs/opencv " From 765e370bd5d505d8da6700cebe8ec134a8c8b83d Mon Sep 17 00:00:00 2001 From: "Celestial.y" Date: Thu, 9 Oct 2025 19:49:53 +0800 Subject: [PATCH 05/35] Update dist-gentoo rm opencv --- dist-gentoo/useflags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist-gentoo/useflags b/dist-gentoo/useflags index 3117c84fe..326f3d9c1 100644 --- a/dist-gentoo/useflags +++ b/dist-gentoo/useflags @@ -74,7 +74,7 @@ gui-libs/libadwaita introspection net-libs/libsoup brotli introspection ssl #dev-libs/gobject-introspection (nothing needed) # dart-sassc handled in the ebuild -media-libs/opencv eigen ffmpeg jpeg opencl opengl python wayland gtk3 webp +eigen ffmpeg jpeg opencl opengl python wayland gtk3 webp ################### SCREENCAPTURE ################### From a0825e7774f2335d0abf93b4a1b13b226bd294fc Mon Sep 17 00:00:00 2001 From: clsty Date: Thu, 9 Oct 2025 21:17:42 +0800 Subject: [PATCH 06/35] Add workflow notify dist-arch update --- .../workflows/dist-update-notification.yml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/dist-update-notification.yml diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml new file mode 100644 index 000000000..bc6482373 --- /dev/null +++ b/.github/workflows/dist-update-notification.yml @@ -0,0 +1,38 @@ +name: Notify Discussion on dist-arch Change + +on: + push: + paths: + - 'dist-arch/**' + +jobs: + notify-discussion: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Add comment to discussion as notification + id: notify + env: + DISCUSSION_NUMBER: 2140 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + MESSAGE="🔔 Directory \`dist-arch/\` has changed.\n" + MESSAGE+="🔗 Commit message: ${{ github.event.head_commit.message }}\n" + MESSAGE+="🔗 Commit hash: ${{ github.sha }}" + + RESPONSE=$(curl -s -X POST \ + -H "Authorization: Bearer $GITHUB_TOKEN" \ + -H "Accept: application/vnd.github+json" \ + https://api.github.com/repos/${{ github.repository }}/discussions/${DISCUSSION_NUMBER}/comments \ + -d "{\"body\": \"$MESSAGE\"}") + + if echo "$RESPONSE" | grep -q '"id":'; then + echo "Succeed in creating comment under discussion ${DISCUSSION_NUMBER}." + echo "response=$RESPONSE" >> $GITHUB_OUTPUT + else + echo "Failed in creating comment under discussion ${DISCUSSION_NUMBER}." + echo "$RESPONSE" >&2 + exit 1 + fi From eff8d56ef5ab3c7b153ca9ec0b0f9989b9f2e92e Mon Sep 17 00:00:00 2001 From: clsty Date: Thu, 9 Oct 2025 21:18:11 +0800 Subject: [PATCH 07/35] Test commit on dist-arch --- dist-arch/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/dist-arch/README.md b/dist-arch/README.md index 8fd96687f..f08db5870 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,4 +1,5 @@ # Install scripts for Arch Linux + ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). From b19cc90fd3d4f602d3b0c6c87d58d95d72ae06df Mon Sep 17 00:00:00 2001 From: "Celestial.y" Date: Thu, 9 Oct 2025 21:26:03 +0800 Subject: [PATCH 08/35] Refactor GitHub Actions workflow for discussion comments --- .../workflows/dist-update-notification.yml | 35 +++++-------------- 1 file changed, 8 insertions(+), 27 deletions(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index bc6482373..ea3da4d2c 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -1,4 +1,4 @@ -name: Notify Discussion on dist-arch Change +name: Comment on Discussion When dist-arch/ Changes on: push: @@ -6,33 +6,14 @@ on: - 'dist-arch/**' jobs: - notify-discussion: + comment_on_discussion: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Add comment to discussion as notification - id: notify + - name: Create comment on discussion #2140 env: - DISCUSSION_NUMBER: 2140 - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - MESSAGE="🔔 Directory \`dist-arch/\` has changed.\n" - MESSAGE+="🔗 Commit message: ${{ github.event.head_commit.message }}\n" - MESSAGE+="🔗 Commit hash: ${{ github.sha }}" - - RESPONSE=$(curl -s -X POST \ - -H "Authorization: Bearer $GITHUB_TOKEN" \ - -H "Accept: application/vnd.github+json" \ - https://api.github.com/repos/${{ github.repository }}/discussions/${DISCUSSION_NUMBER}/comments \ - -d "{\"body\": \"$MESSAGE\"}") - - if echo "$RESPONSE" | grep -q '"id":'; then - echo "Succeed in creating comment under discussion ${DISCUSSION_NUMBER}." - echo "response=$RESPONSE" >> $GITHUB_OUTPUT - else - echo "Failed in creating comment under discussion ${DISCUSSION_NUMBER}." - echo "$RESPONSE" >&2 - exit 1 - fi + gh api \ + --method POST \ + /repos/end-4/dots-hyprland/discussions/2140/comments \ + -F body="dist-arch/ directory has changed in commit ${{ github.sha }} by ${{ github.actor }}." From 3e344a3de0ee0568dbe23ed89c2d0f6003c292b9 Mon Sep 17 00:00:00 2001 From: "Celestial.y" Date: Thu, 9 Oct 2025 21:26:46 +0800 Subject: [PATCH 09/35] Test commit on dist-arch --- dist-arch/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/dist-arch/README.md b/dist-arch/README.md index f08db5870..8fd96687f 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,5 +1,4 @@ # Install scripts for Arch Linux - ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). From b74e36ca60acda48afd015d0a32d463e89bf783e Mon Sep 17 00:00:00 2001 From: "Celestial.y" Date: Thu, 9 Oct 2025 21:30:43 +0800 Subject: [PATCH 10/35] Try to fix workflow --- .github/workflows/dist-update-notification.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index ea3da4d2c..9a00bb404 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -13,7 +13,4 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh api \ - --method POST \ - /repos/end-4/dots-hyprland/discussions/2140/comments \ - -F body="dist-arch/ directory has changed in commit ${{ github.sha }} by ${{ github.actor }}." + gh discussion comment 2140 --body "dist-arch/ directory has changed in commit ${{ github.sha }} by ${{ github.actor }}." From 064bb51d7ab19f8efb319ffb45d8cec56302e256 Mon Sep 17 00:00:00 2001 From: "Celestial.y" Date: Thu, 9 Oct 2025 21:31:19 +0800 Subject: [PATCH 11/35] Test commit on dist-arch --- dist-arch/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/dist-arch/README.md b/dist-arch/README.md index 8fd96687f..f08db5870 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,4 +1,5 @@ # Install scripts for Arch Linux + ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). From d8c49a3d042c8c9cc4a555f99dcbc7e57f27957e Mon Sep 17 00:00:00 2001 From: "Celestial.y" Date: Thu, 9 Oct 2025 21:45:07 +0800 Subject: [PATCH 12/35] Test commit on dist-arch --- dist-arch/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/dist-arch/README.md b/dist-arch/README.md index f08db5870..8fd96687f 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,5 +1,4 @@ # Install scripts for Arch Linux - ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). From 7abc7c07afc22059d57f8cd06c6a7e12b7d1b95b Mon Sep 17 00:00:00 2001 From: "Celestial.y" Date: Thu, 9 Oct 2025 21:47:13 +0800 Subject: [PATCH 13/35] Update GitHub Actions to use GraphQL for comments --- .github/workflows/dist-update-notification.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index 9a00bb404..660cca578 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -12,5 +12,20 @@ jobs: - name: Create comment on discussion #2140 env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # https://docs.github.com/en/graphql/reference/mutations#adddiscussioncomment run: | - gh discussion comment 2140 --body "dist-arch/ directory has changed in commit ${{ github.sha }} by ${{ github.actor }}." + gh api graphql -f query=' + mutation { + addDiscussionComment( + input: { + discussionId: "DISCUSSION_ID", + body: "dist-arch/ directory has changed in commit ${{ github.sha }} by ${{ github.actor }}." + } + ) { + comment { + id + body + } + } + } + ' From ce307391a801e2d738abc71790e6ed0e7107144a Mon Sep 17 00:00:00 2001 From: "Celestial.y" Date: Thu, 9 Oct 2025 21:48:27 +0800 Subject: [PATCH 14/35] Test commit on dist-arch --- dist-arch/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/dist-arch/README.md b/dist-arch/README.md index 8fd96687f..f08db5870 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,4 +1,5 @@ # Install scripts for Arch Linux + ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). From 24a548cd97682105d43b7dc4ec8bb3c943694b69 Mon Sep 17 00:00:00 2001 From: "Celestial.y" Date: Thu, 9 Oct 2025 21:51:46 +0800 Subject: [PATCH 15/35] Update discussion ID in dist-update-notification.yml --- .github/workflows/dist-update-notification.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index 660cca578..a8e7b8020 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -18,7 +18,7 @@ jobs: mutation { addDiscussionComment( input: { - discussionId: "DISCUSSION_ID", + discussionId: "2140", body: "dist-arch/ directory has changed in commit ${{ github.sha }} by ${{ github.actor }}." } ) { From 2bf933a3e1a36e04fc4eed8f48274ea8bed94403 Mon Sep 17 00:00:00 2001 From: clsty Date: Thu, 9 Oct 2025 21:53:22 +0800 Subject: [PATCH 16/35] Test commit on dist-arch --- dist-arch/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/dist-arch/README.md b/dist-arch/README.md index f08db5870..8fd96687f 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,5 +1,4 @@ # Install scripts for Arch Linux - ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). From d718f023cd5bcfe04daaec3a5b3a8edb08048864 Mon Sep 17 00:00:00 2001 From: clsty Date: Thu, 9 Oct 2025 22:18:11 +0800 Subject: [PATCH 17/35] Get notification node id first --- .../workflows/dist-update-notification.yml | 34 +++++++++++-------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index a8e7b8020..f89de3bbf 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -4,6 +4,7 @@ on: push: paths: - 'dist-arch/**' + workflow_dispatch: jobs: comment_on_discussion: @@ -14,18 +15,21 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://docs.github.com/en/graphql/reference/mutations#adddiscussioncomment run: | - gh api graphql -f query=' - mutation { - addDiscussionComment( - input: { - discussionId: "2140", - body: "dist-arch/ directory has changed in commit ${{ github.sha }} by ${{ github.actor }}." - } - ) { - comment { - id - body - } - } - } - ' + curl -X POST \ + -H "Authorization: Bearer $GH_TOKEN" \ + -H "Content-Type: application/json" \ + -d '{"query": "query { repository(owner: "end-4", name: "dots-hyprland") { discussion(number: 2140) { id } } }"}' + # gh api graphql -f query=' + # mutation { + # addDiscussionComment(input:{ + # discussionId: "2140", + # body: "dist-arch/ directory has changed in commit ${{ github.sha }} by ${{ github.actor }}.", + # }) { + # clientMutationId + # comment { + # id + # body + # } + # } + # } + # ' From 1e90434c18952e420201622c72c9e0a284686be9 Mon Sep 17 00:00:00 2001 From: clsty Date: Thu, 9 Oct 2025 22:21:17 +0800 Subject: [PATCH 18/35] Fix curl no url --- .github/workflows/dist-update-notification.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index f89de3bbf..892919629 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -18,7 +18,8 @@ jobs: curl -X POST \ -H "Authorization: Bearer $GH_TOKEN" \ -H "Content-Type: application/json" \ - -d '{"query": "query { repository(owner: "end-4", name: "dots-hyprland") { discussion(number: 2140) { id } } }"}' + -d '{"query": "query { repository(owner: "end-4", name: "dots-hyprland") { discussion(number: 2140) { id } } }"}' \ + https://api.github.com/graphql # gh api graphql -f query=' # mutation { # addDiscussionComment(input:{ From a7aadd7439647027c2383a9da6ffc0efe4a3dc64 Mon Sep 17 00:00:00 2001 From: clsty Date: Thu, 9 Oct 2025 22:22:59 +0800 Subject: [PATCH 19/35] Fix JSON parsing problem --- .github/workflows/dist-update-notification.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index 892919629..e3b60429c 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -18,7 +18,7 @@ jobs: curl -X POST \ -H "Authorization: Bearer $GH_TOKEN" \ -H "Content-Type: application/json" \ - -d '{"query": "query { repository(owner: "end-4", name: "dots-hyprland") { discussion(number: 2140) { id } } }"}' \ + -d '{"query": "query { repository(owner: \"end-4\", name: \"dots-hyprland\") { discussion(number: 2140) { id } } }"}' \ https://api.github.com/graphql # gh api graphql -f query=' # mutation { From 75a84f6ed1eb2da7a1ee1956b18672afaba085b3 Mon Sep 17 00:00:00 2001 From: clsty Date: Thu, 9 Oct 2025 22:28:41 +0800 Subject: [PATCH 20/35] Use DISCUSSION_NODE_ID --- .../workflows/dist-update-notification.yml | 33 ++++++++++--------- dist-arch/README.md | 1 + 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index e3b60429c..73063a00a 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -15,22 +15,23 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://docs.github.com/en/graphql/reference/mutations#adddiscussioncomment run: | - curl -X POST \ + DISCUSSION_NODE_ID=$(curl -X POST \ -H "Authorization: Bearer $GH_TOKEN" \ -H "Content-Type: application/json" \ -d '{"query": "query { repository(owner: \"end-4\", name: \"dots-hyprland\") { discussion(number: 2140) { id } } }"}' \ - https://api.github.com/graphql - # gh api graphql -f query=' - # mutation { - # addDiscussionComment(input:{ - # discussionId: "2140", - # body: "dist-arch/ directory has changed in commit ${{ github.sha }} by ${{ github.actor }}.", - # }) { - # clientMutationId - # comment { - # id - # body - # } - # } - # } - # ' + https://api.github.com/graphql | \ + jq -r '.data.repository.discussion.id') + gh api graphql -f query=' + mutation { + addDiscussionComment(input:{ + discussionId: "$DISCUSSION_NODE_ID", + body: "dist-arch/ directory has changed in commit ${{ github.sha }} by ${{ github.actor }}.", + }) { + clientMutationId + comment { + id + body + } + } + } + ' diff --git a/dist-arch/README.md b/dist-arch/README.md index 8fd96687f..f08db5870 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,4 +1,5 @@ # Install scripts for Arch Linux + ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). From 3bb510e91045d4f18455af79bc9a33776ec0b31f Mon Sep 17 00:00:00 2001 From: clsty Date: Thu, 9 Oct 2025 22:39:40 +0800 Subject: [PATCH 21/35] Fix workflow --- .../workflows/dist-update-notification.yml | 40 ++++++++++--------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index 73063a00a..a773b4e12 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -4,6 +4,7 @@ on: push: paths: - 'dist-arch/**' + - '.github/workflows/**' workflow_dispatch: jobs: @@ -15,23 +16,24 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://docs.github.com/en/graphql/reference/mutations#adddiscussioncomment run: | - DISCUSSION_NODE_ID=$(curl -X POST \ - -H "Authorization: Bearer $GH_TOKEN" \ - -H "Content-Type: application/json" \ - -d '{"query": "query { repository(owner: \"end-4\", name: \"dots-hyprland\") { discussion(number: 2140) { id } } }"}' \ - https://api.github.com/graphql | \ + DISCUSSION_NODE_ID=$(gh api graphql -f query=' + query { + repository( owner: "end-4", name: "dots-hyprland" ) + { discussion(number: 2140) { id } } + }' | \ jq -r '.data.repository.discussion.id') - gh api graphql -f query=' - mutation { - addDiscussionComment(input:{ - discussionId: "$DISCUSSION_NODE_ID", - body: "dist-arch/ directory has changed in commit ${{ github.sha }} by ${{ github.actor }}.", - }) { - clientMutationId - comment { - id - body - } - } - } - ' + echo "The value of DISCUSSION_NODE_ID is ${DISCUSSION_NODE_ID}." + gh api graphql -f query=' + mutation { + addDiscussionComment(input:{ + discussionId: "$DISCUSSION_NODE_ID", + body: "dist-arch/ directory has changed in commit ${{ github.sha }} by ${{ github.actor }}.", + }) { + clientMutationId + comment { + id + body + } + } + } + ' From 0a7c549125c1affa8e35a4a83c68af441a8c7aeb Mon Sep 17 00:00:00 2001 From: clsty Date: Thu, 9 Oct 2025 22:42:33 +0800 Subject: [PATCH 22/35] Test commit on dist-arch --- dist-arch/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/dist-arch/README.md b/dist-arch/README.md index f08db5870..8fd96687f 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,5 +1,4 @@ # Install scripts for Arch Linux - ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). From 582fffda1bd4effd1ab60a418cbaf2d27304e509 Mon Sep 17 00:00:00 2001 From: clsty Date: Thu, 9 Oct 2025 23:12:49 +0800 Subject: [PATCH 23/35] Fix workflow --- .../workflows/dist-update-notification.yml | 20 +++++++++++-------- dist-arch/README.md | 1 + 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index a773b4e12..5d5442542 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -4,8 +4,7 @@ on: push: paths: - 'dist-arch/**' - - '.github/workflows/**' - workflow_dispatch: +# workflow_dispatch: jobs: comment_on_discussion: @@ -14,20 +13,25 @@ jobs: - name: Create comment on discussion #2140 env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # https://docs.github.com/en/graphql/reference/mutations#adddiscussioncomment + DISCUSSION_NUMBER: 2140 + # https://docs.github.com/en/graphql/reference/mutations#adddiscussioncomment run: | + MESSAGE="**Auto notification:**\n" + MESSAGE="Directory \`dist-arch\` has been updated.\n" + MESSAGE+="Commit HASH: ${{ github.sha }}\n" + MESSAGE+="Commit message: ${{ github.event.head_commit.message }}\n" + DISCUSSION_NODE_ID=$(gh api graphql -f query=' query { - repository( owner: "end-4", name: "dots-hyprland" ) - { discussion(number: 2140) { id } } + repository( owner: "${{ github.repository.owner }}", name: "${{ github.repository.name }}" ) + { discussion(number: '${DISCUSSION_NUMBER}') { id } } }' | \ jq -r '.data.repository.discussion.id') - echo "The value of DISCUSSION_NODE_ID is ${DISCUSSION_NODE_ID}." gh api graphql -f query=' mutation { addDiscussionComment(input:{ - discussionId: "$DISCUSSION_NODE_ID", - body: "dist-arch/ directory has changed in commit ${{ github.sha }} by ${{ github.actor }}.", + discussionId: "'$DISCUSSION_NODE_ID'", + body: "'$MESSAGE'", }) { clientMutationId comment { diff --git a/dist-arch/README.md b/dist-arch/README.md index 8fd96687f..f08db5870 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,4 +1,5 @@ # Install scripts for Arch Linux + ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). From fa7da189fc6b9c982bec8a7576ec525c94c61c98 Mon Sep 17 00:00:00 2001 From: clsty Date: Thu, 9 Oct 2025 23:32:03 +0800 Subject: [PATCH 24/35] Test commit on dist-arch --- dist-arch/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/dist-arch/README.md b/dist-arch/README.md index f08db5870..8fd96687f 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,5 +1,4 @@ # Install scripts for Arch Linux - ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). From ce1a397a7c3d1a74c1abe26526929aec65ba45f4 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Thu, 9 Oct 2025 18:10:02 +0200 Subject: [PATCH 25/35] wifi menu: fix double clicking always showing password prompt --- .../ii/modules/sidebarRight/wifiNetworks/WifiNetworkItem.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/quickshell/ii/modules/sidebarRight/wifiNetworks/WifiNetworkItem.qml b/.config/quickshell/ii/modules/sidebarRight/wifiNetworks/WifiNetworkItem.qml index 42d9e9dd5..9f75224dd 100644 --- a/.config/quickshell/ii/modules/sidebarRight/wifiNetworks/WifiNetworkItem.qml +++ b/.config/quickshell/ii/modules/sidebarRight/wifiNetworks/WifiNetworkItem.qml @@ -9,6 +9,7 @@ import QtQuick.Layouts DialogListItem { id: root required property WifiAccessPoint wifiNetwork + enabled: !(Network.wifiConnectTarget === root.wifiNetwork && !wifiNetwork?.active) active: (wifiNetwork?.askingPassword || wifiNetwork?.active) ?? false onClicked: { From 3d7fbba0149f6d1c387406c28f680748a4c3c8a5 Mon Sep 17 00:00:00 2001 From: clsty Date: Fri, 10 Oct 2025 00:17:10 +0800 Subject: [PATCH 26/35] Fix workflow --- .github/workflows/dist-update-notification.yml | 2 +- dist-arch/README.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index 5d5442542..a4f2f79a8 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -23,7 +23,7 @@ jobs: DISCUSSION_NODE_ID=$(gh api graphql -f query=' query { - repository( owner: "${{ github.repository.owner }}", name: "${{ github.repository.name }}" ) + repository( owner: "'${{ github.repository.owner }}'", name: "'${{ github.repository.name }}'" ) { discussion(number: '${DISCUSSION_NUMBER}') { id } } }' | \ jq -r '.data.repository.discussion.id') diff --git a/dist-arch/README.md b/dist-arch/README.md index 8fd96687f..f08db5870 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,4 +1,5 @@ # Install scripts for Arch Linux + ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). From 44cdb3a52e892bb133f17db39a3320cf7ca5be91 Mon Sep 17 00:00:00 2001 From: clsty Date: Fri, 10 Oct 2025 00:23:07 +0800 Subject: [PATCH 27/35] Fix workflow --- .github/workflows/dist-update-notification.yml | 4 +++- dist-arch/README.md | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index a4f2f79a8..5e2cdf5b3 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -20,10 +20,12 @@ jobs: MESSAGE="Directory \`dist-arch\` has been updated.\n" MESSAGE+="Commit HASH: ${{ github.sha }}\n" MESSAGE+="Commit message: ${{ github.event.head_commit.message }}\n" + REPO_OWNER="${{ github.repository.owner }}" + REPO_NAME="${{ github.repository.name }}" DISCUSSION_NODE_ID=$(gh api graphql -f query=' query { - repository( owner: "'${{ github.repository.owner }}'", name: "'${{ github.repository.name }}'" ) + repository( owner: '${REPO_OWNER}', name: '${REPO_NAME}' ) { discussion(number: '${DISCUSSION_NUMBER}') { id } } }' | \ jq -r '.data.repository.discussion.id') diff --git a/dist-arch/README.md b/dist-arch/README.md index f08db5870..8fd96687f 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,5 +1,4 @@ # Install scripts for Arch Linux - ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). From 9ff93169df2cd341ed624eef4c4bce8adfdbee69 Mon Sep 17 00:00:00 2001 From: clsty Date: Fri, 10 Oct 2025 00:28:23 +0800 Subject: [PATCH 28/35] Add dump github context workflow --- .github/workflows/dump-github-context.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/dump-github-context.yml diff --git a/.github/workflows/dump-github-context.yml b/.github/workflows/dump-github-context.yml new file mode 100644 index 000000000..fa91edf76 --- /dev/null +++ b/.github/workflows/dump-github-context.yml @@ -0,0 +1,14 @@ +name: Dump github context + +on: + workflow_dispatch: + +jobs: + dump_github_context: + runs-on: ubuntu-latest + steps: + - name: Dump github context + run: echo "$GITHUB_CONTEXT" + shell: bash + env: + GITHUB_CONTEXT: ${{ toJson(github) }} From b58c86cdd67ae477dc4d40384977c49f2d068f72 Mon Sep 17 00:00:00 2001 From: clsty Date: Fri, 10 Oct 2025 00:35:22 +0800 Subject: [PATCH 29/35] Fix workflow --- .github/workflows/dist-update-notification.yml | 5 +++-- dist-arch/README.md | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index 5e2cdf5b3..7d94a0877 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -20,8 +20,9 @@ jobs: MESSAGE="Directory \`dist-arch\` has been updated.\n" MESSAGE+="Commit HASH: ${{ github.sha }}\n" MESSAGE+="Commit message: ${{ github.event.head_commit.message }}\n" - REPO_OWNER="${{ github.repository.owner }}" - REPO_NAME="${{ github.repository.name }}" + REPO="${{ github.repository }}" + REPO_OWNER="${{ github.repository_owner }}" + REPO_NAME="${REPO#$REPO_OWNER/}" DISCUSSION_NODE_ID=$(gh api graphql -f query=' query { diff --git a/dist-arch/README.md b/dist-arch/README.md index 8fd96687f..f08db5870 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,4 +1,5 @@ # Install scripts for Arch Linux + ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). From e4ace3c416c1b919a623982bbfae61acd3d9df65 Mon Sep 17 00:00:00 2001 From: clsty Date: Fri, 10 Oct 2025 00:40:54 +0800 Subject: [PATCH 30/35] Fix workflow --- .github/workflows/dist-update-notification.yml | 3 +-- dist-arch/README.md | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index 7d94a0877..b07c08802 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -20,9 +20,8 @@ jobs: MESSAGE="Directory \`dist-arch\` has been updated.\n" MESSAGE+="Commit HASH: ${{ github.sha }}\n" MESSAGE+="Commit message: ${{ github.event.head_commit.message }}\n" - REPO="${{ github.repository }}" REPO_OWNER="${{ github.repository_owner }}" - REPO_NAME="${REPO#$REPO_OWNER/}" + REPO_NAME="${{ github.event.repository.name }}" DISCUSSION_NODE_ID=$(gh api graphql -f query=' query { diff --git a/dist-arch/README.md b/dist-arch/README.md index f08db5870..8fd96687f 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,5 +1,4 @@ # Install scripts for Arch Linux - ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). From 73e6d627bc87ca09d64cc25ad360770b7bb3de4d Mon Sep 17 00:00:00 2001 From: clsty Date: Fri, 10 Oct 2025 00:43:21 +0800 Subject: [PATCH 31/35] Fix workflow --- .github/workflows/dist-update-notification.yml | 2 +- dist-arch/README.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index b07c08802..2eb36e35b 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -25,7 +25,7 @@ jobs: DISCUSSION_NODE_ID=$(gh api graphql -f query=' query { - repository( owner: '${REPO_OWNER}', name: '${REPO_NAME}' ) + repository( owner: "'${REPO_OWNER}'", name: "'${REPO_NAME}'" ) { discussion(number: '${DISCUSSION_NUMBER}') { id } } }' | \ jq -r '.data.repository.discussion.id') diff --git a/dist-arch/README.md b/dist-arch/README.md index 8fd96687f..f08db5870 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,4 +1,5 @@ # Install scripts for Arch Linux + ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). From b67b0baa1b1ff634494106583f888f8934192a49 Mon Sep 17 00:00:00 2001 From: clsty Date: Fri, 10 Oct 2025 00:55:18 +0800 Subject: [PATCH 32/35] Fix workflow --- .github/workflows/dist-update-notification.yml | 4 ++-- dist-arch/README.md | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index 2eb36e35b..4dcdb5b53 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -19,7 +19,7 @@ jobs: MESSAGE="**Auto notification:**\n" MESSAGE="Directory \`dist-arch\` has been updated.\n" MESSAGE+="Commit HASH: ${{ github.sha }}\n" - MESSAGE+="Commit message: ${{ github.event.head_commit.message }}\n" + MESSAGE+="Commit message: ${{ github.event.head_commit.message }}" REPO_OWNER="${{ github.repository_owner }}" REPO_NAME="${{ github.event.repository.name }}" @@ -33,7 +33,7 @@ jobs: mutation { addDiscussionComment(input:{ discussionId: "'$DISCUSSION_NODE_ID'", - body: "'$MESSAGE'", + body: "'"$MESSAGE"'", }) { clientMutationId comment { diff --git a/dist-arch/README.md b/dist-arch/README.md index f08db5870..8fd96687f 100644 --- a/dist-arch/README.md +++ b/dist-arch/README.md @@ -1,5 +1,4 @@ # Install scripts for Arch Linux - ## Old Dependency Installation Method The old deps install method mainly involved `./scriptdata/dependencies.conf` (which has been removed now). From b6566ec67b060190b3f2083adcd3c7854ce7da1a Mon Sep 17 00:00:00 2001 From: clsty Date: Fri, 10 Oct 2025 00:58:08 +0800 Subject: [PATCH 33/35] Update gentoo ebuild version --- dist-gentoo/README.md | 1 + ...-python-1.1.ebuild => illogical-impulse-python-1.1-r1.ebuild} | 0 2 files changed, 1 insertion(+) rename dist-gentoo/illogical-impulse-python/{illogical-impulse-python-1.1.ebuild => illogical-impulse-python-1.1-r1.ebuild} (100%) diff --git a/dist-gentoo/README.md b/dist-gentoo/README.md index 40c2a3755..f57ad6aaf 100644 --- a/dist-gentoo/README.md +++ b/dist-gentoo/README.md @@ -1,4 +1,5 @@ # Install scripts for Gentoo + Note: - The scripts here are **not** meant to be executed directly. - This folder should reflect the equivalents of `/dist-arch/` but under Gentoo. diff --git a/dist-gentoo/illogical-impulse-python/illogical-impulse-python-1.1.ebuild b/dist-gentoo/illogical-impulse-python/illogical-impulse-python-1.1-r1.ebuild similarity index 100% rename from dist-gentoo/illogical-impulse-python/illogical-impulse-python-1.1.ebuild rename to dist-gentoo/illogical-impulse-python/illogical-impulse-python-1.1-r1.ebuild From 433fe1449a1cdce0b9ea166092ea2d7ba01432fe Mon Sep 17 00:00:00 2001 From: clsty Date: Fri, 10 Oct 2025 01:12:05 +0800 Subject: [PATCH 34/35] Update message --- .github/workflows/dist-update-notification.yml | 2 +- scriptdata/step/1.install-deps-selector.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dist-update-notification.yml b/.github/workflows/dist-update-notification.yml index 4dcdb5b53..cb16d9ff4 100644 --- a/.github/workflows/dist-update-notification.yml +++ b/.github/workflows/dist-update-notification.yml @@ -17,7 +17,7 @@ jobs: # https://docs.github.com/en/graphql/reference/mutations#adddiscussioncomment run: | MESSAGE="**Auto notification:**\n" - MESSAGE="Directory \`dist-arch\` has been updated.\n" + MESSAGE+="Directory \`dist-arch\` has been updated.\n" MESSAGE+="Commit HASH: ${{ github.sha }}\n" MESSAGE+="Commit message: ${{ github.event.head_commit.message }}" REPO_OWNER="${{ github.repository_owner }}" diff --git a/scriptdata/step/1.install-deps-selector.sh b/scriptdata/step/1.install-deps-selector.sh index 34dbe1d1a..716bdd0f4 100644 --- a/scriptdata/step/1.install-deps-selector.sh +++ b/scriptdata/step/1.install-deps-selector.sh @@ -107,9 +107,9 @@ elif [[ -f "./dist-${OS_DISTRO_ID}/install-deps.sh" ]]; then printf "${STY_BOLD}===URGENT===${STY_RED}\n" printf "The community provided ./dist-${TARGET_ID}/ is not updated (update status: ${tmp_update_status}),\n" printf "which means it does not fully reflect the latest changes of ./dist-arch/ .\n" - printf "You are highly recommended to abort this script, until someone (maybe you?) has updated the ./dist-${TARGET_ID}/ to fully reflect the latest changes in ./dist-arch/ . PR is welcomed.\n" - printf "For commit history on ./dist-arch/, see\n" - printf "${STY_UNDERLINE}https://github.com/end-4/dots-hyprland/commits/main/dist-arch${STY_RESET}\n" + printf "You are highly recommended to abort this script, until someone (maybe you?) has updated the ./dist-${TARGET_ID}/ to fully reflect the latest changes in ./dist-arch/ .\n" + printf "PR is welcomed. Please see discussion#2140 for details.\n" + printf "${STY_UNDERLINE}https://github.com/end-4/dots-hyprland/discussions/2140${STY_RESET}\n" printf "${STY_RED}${STY_INVERT}If you are proceeding anyway, illogical-impulse will very likely not work as expected.${STY_RESET}\n" printf "${STY_RED}Still proceed?${STY_RESET}\n" read -p "[y/N]: " p From 6f9bc17d57babee2adcc37ee123635f05a1d4da5 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Thu, 9 Oct 2025 22:12:09 +0200 Subject: [PATCH 35/35] deps: add imagemagick --- dist-arch/illogical-impulse-widgets/PKGBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/dist-arch/illogical-impulse-widgets/PKGBUILD b/dist-arch/illogical-impulse-widgets/PKGBUILD index 9aa690dc2..86daf5313 100644 --- a/dist-arch/illogical-impulse-widgets/PKGBUILD +++ b/dist-arch/illogical-impulse-widgets/PKGBUILD @@ -7,6 +7,7 @@ license=(None) depends=( fuzzel glib2 # for `gsettings` it seems? + imagemagick hypridle hyprutils hyprlock