diff options
author | Martin Fischer <martin@push-f.com> | 2024-12-27 08:45:34 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2024-12-27 18:44:37 +0100 |
commit | 1b65ba7a838e422c9bf16ddcaf796a996fa51b6b (patch) | |
tree | d8ec8d965f955a7f9a5c2b5c98e8a430fb0e8b6f /nixos/parts/scripts | |
parent | edda7ef46bf2ae7fde9511005b4e7d40648c7e24 (diff) |
refactor: introduce profiles
Diffstat (limited to 'nixos/parts/scripts')
-rwxr-xr-x | nixos/parts/scripts/deploy-dir | 16 | ||||
-rw-r--r-- | nixos/parts/scripts/reset-bg | 2 | ||||
-rw-r--r-- | nixos/parts/scripts/set-bg | 3 |
3 files changed, 0 insertions, 21 deletions
diff --git a/nixos/parts/scripts/deploy-dir b/nixos/parts/scripts/deploy-dir deleted file mode 100755 index bb7dfdf..0000000 --- a/nixos/parts/scripts/deploy-dir +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -if [ "$#" -ne 3 ]; then - echo "usage: $0 <local_dir> <ssh_dest> <remote_dir>" - exit 1 -fi -printf -v remote_dir %q $3 - -cd $1 -tar cf - . | ssh $2 "set -xe -TEMP_DIR=\$(mktemp -d) -cd \$TEMP_DIR -tar xvf - -rm -rf $remote_dir -mv \$TEMP_DIR $remote_dir -" diff --git a/nixos/parts/scripts/reset-bg b/nixos/parts/scripts/reset-bg deleted file mode 100644 index 5aa20f6..0000000 --- a/nixos/parts/scripts/reset-bg +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env bash -echo -en "\033]111\007" diff --git a/nixos/parts/scripts/set-bg b/nixos/parts/scripts/set-bg deleted file mode 100644 index e78afdc..0000000 --- a/nixos/parts/scripts/set-bg +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash -rgb_with_slashes=$(echo "$1" | sed -r 's,(..)(..),\1/\2/,') -echo -en "\033]11;rgb:$rgb_with_slashes\007" |