From 1a0373850bf48ecaf17c2d19d95c7ea1f9d72d65 Mon Sep 17 00:00:00 2001 From: isabel Date: Fri, 4 Jul 2025 13:16:04 +0100 Subject: [PATCH 1/2] refactor: remove convoluted `dirname $0` --- disable-rounded.sh | 1 - enable-rounded.sh | 1 - 2 files changed, 2 deletions(-) diff --git a/disable-rounded.sh b/disable-rounded.sh index a0424b2..27470d5 100755 --- a/disable-rounded.sh +++ b/disable-rounded.sh @@ -7,7 +7,6 @@ enable_highlight="# Image=highlight.svg" target_panel="Image=panel.svg" enable_panel="# Image=panel.svg" -cd "$(dirname "$0")" cd src/ for dir in */; do cd "$dir" diff --git a/enable-rounded.sh b/enable-rounded.sh index e869dfc..8a2e374 100755 --- a/enable-rounded.sh +++ b/enable-rounded.sh @@ -7,7 +7,6 @@ enable_highlight="Image=highlight.svg" target_panel="# Image=panel.svg" enable_panel="Image=panel.svg" -cd "$(dirname "$0")" cd src/ for dir in */; do cd "$dir" From c4e1acb86892dc6435b859d27d72a5ac27890a86 Mon Sep 17 00:00:00 2001 From: isabel Date: Fri, 4 Jul 2025 13:16:34 +0100 Subject: [PATCH 2/2] docs: update to represent change to script --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eb2c3d6..88aa14c 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,9 @@ To enable rounded borders: ```sh git clone https://github.com/catppuccin/fcitx5.git mkdir -p ~/.local/share/fcitx5/themes/ -./fcitx5/enable-rounded.sh -cp -r ./fcitx5/src/* ~/.local/share/fcitx5/themes +cd fcitx5 +./enable-rounded.sh +cp -r ./src/* ~/.local/share/fcitx5/themes ``` To disable rounded borders use `disable-rounded.sh`.