From ff683cdf968b7ea41b9030e74254969f01553e9d Mon Sep 17 00:00:00 2001 From: Markus Date: Sat, 11 Dec 2021 17:02:33 +0100 Subject: [PATCH] Improve a bit --- Scripts/my-profile.ps1 | 2 +- Scripts/turn-volume-up.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/my-profile.ps1 b/Scripts/my-profile.ps1 index 33313a47..a8f3992e 100755 --- a/Scripts/my-profile.ps1 +++ b/Scripts/my-profile.ps1 @@ -5,7 +5,7 @@ # The Welcome Message # ------------------- -"Welcome to PowerShell at $(hostname) in 📂$(get-location)" +"Welcome to PowerShell at $(hostname)'s 📂$(get-location)" # The Window Title diff --git a/Scripts/turn-volume-up.ps1 b/Scripts/turn-volume-up.ps1 index 5dbd2de5..7b716f43 100755 --- a/Scripts/turn-volume-up.ps1 +++ b/Scripts/turn-volume-up.ps1 @@ -20,7 +20,7 @@ try { for ([int]$i = 0; $i -lt $percent; $i += 2) { $obj.SendKeys([char]175) # each tick is +2% } - & "$PSScriptRoot/give-reply.ps1" "$($percent)% more volume" + & "$PSScriptRoot/give-reply.ps1" "OK, $($percent)% louder." exit 0 # success } catch { "⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"