From ea0c73a9bad27262518d08139f312fc750c7167a Mon Sep 17 00:00:00 2001 From: pryazha Date: Sun, 12 Oct 2025 15:22:37 +0500 Subject: using xterm with Xresources now, also trying to immplement mklinks --- scripts/mklinks | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'scripts/mklinks') diff --git a/scripts/mklinks b/scripts/mklinks index 983614a..d5be25b 100755 --- a/scripts/mklinks +++ b/scripts/mklinks @@ -1,9 +1,17 @@ #!/bin/sh -configdir='~/clone/dotfiles/.config' -targets="alacritty .config" - "from to" +echorun() { + echo "$0" + $0 +} -for target in $targets ; do - echo "ln -s $configdir/$target ~/.config" +scripts=`realpath $0` +scripts=`dirname $scripts` + +config="$scripts/../.config" +links="$scripts/../links" +echo 'cat $links | awk + +for link in $links ; do + echo "ln -s $config/$link ~/.config" done -- cgit v1.2.3-70-g09d2