aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/SwitchKeyboardLayout.sh
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-01-16 10:54:47 +0900
committerGitHub <noreply@github.com>2025-01-16 10:54:47 +0900
commitc30b1c5599daa78169486d76c9d3dd2fba3803a8 (patch)
treea50caee93fc0c2f0d8c02f6d0120af71cc24f1ac /config/hypr/scripts/SwitchKeyboardLayout.sh
parenta4956da883d5fe2d66d528d2e9a890a2c6d064a8 (diff)
parent47a6c42c77244b4b18f6e074542c15bc43bc4273 (diff)
Merge pull request #526 from JaKooLit/development
Development to main
Diffstat (limited to 'config/hypr/scripts/SwitchKeyboardLayout.sh')
-rwxr-xr-xconfig/hypr/scripts/SwitchKeyboardLayout.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/scripts/SwitchKeyboardLayout.sh b/config/hypr/scripts/SwitchKeyboardLayout.sh
index 6974e386..95e6edc8 100755
--- a/config/hypr/scripts/SwitchKeyboardLayout.sh
+++ b/config/hypr/scripts/SwitchKeyboardLayout.sh
@@ -93,11 +93,11 @@ change_layout() {
# Execute layout change and notify
if ! change_layout; then
- notify-send -u low -t 2000 'kb_layout' "$(printf '\n Error: Layout change failed')"
+ notify-send -u low -t 2000 'kb_layout' " Error:" " Layout change failed"
echo "Layout change failed." >&2
exit 1
else
- notify-send -u low -i "$notif_icon" "$(printf "\n New kb_layout: $new_layout")"
+ notify-send -u low -i "$notif_icon" " New kb_layout: $new_layout"
echo "Layout change notification sent."
fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage