From f52ef901cb6459a5fe7446fe6e69eab82cb373eb Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Thu, 27 Feb 2025 20:42:04 +0100 Subject: docs: add one-line descriptions to workstation scripts --- nixos/profiles/workstation/scripts/set-bg | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nixos/profiles/workstation/scripts/set-bg') diff --git a/nixos/profiles/workstation/scripts/set-bg b/nixos/profiles/workstation/scripts/set-bg index e78afdc..2ed0a78 100644 --- a/nixos/profiles/workstation/scripts/set-bg +++ b/nixos/profiles/workstation/scripts/set-bg @@ -1,3 +1,5 @@ #!/usr/bin/env bash +# Sets the background color of the current foot terminal to the given hex color. + rgb_with_slashes=$(echo "$1" | sed -r 's,(..)(..),\1/\2/,') echo -en "\033]11;rgb:$rgb_with_slashes\007" -- cgit v1.2.3