aboutsummaryrefslogtreecommitdiffstats
path: root/copy.sh
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2025-12-31 21:33:32 -0500
committerDon Williams <don.e.williams@gmail.com>2025-12-31 21:33:32 -0500
commit12f71793ae8d7e3ab32cf412b7c9fe5cc577308b (patch)
treeb278d725d4eaa40a8be6db37ff42ae415e3607f0 /copy.sh
parent991f30d07ffbdeef8498ca45cf85284b2e85280e (diff)
Fixed copy.sh to properly print msgs having `\n` newlines
On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: copy.sh
Diffstat (limited to 'copy.sh')
-rwxr-xr-xcopy.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/copy.sh b/copy.sh
index e925a698..d73514b4 100755
--- a/copy.sh
+++ b/copy.sh
@@ -32,7 +32,8 @@ fi
# Function to print colorful text
print_color() {
- printf "%b%s%b\n" "$1" "$2" "$RESET"
+ # Use %b for the message to interpret backslash escapes like \n, \t, etc.
+ printf "%b%b%b\n" "$1" "$2" "$RESET"
}
# Check /etc/os-release for Ubuntu or Debian and warn about Hyprland version requirement
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage