diff options
Diffstat (limited to 'nixos/parts/scripts/set-bg')
-rw-r--r-- | nixos/parts/scripts/set-bg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/parts/scripts/set-bg b/nixos/parts/scripts/set-bg new file mode 100644 index 0000000..e78afdc --- /dev/null +++ b/nixos/parts/scripts/set-bg @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +rgb_with_slashes=$(echo "$1" | sed -r 's,(..)(..),\1/\2/,') +echo -en "\033]11;rgb:$rgb_with_slashes\007" |