Coder Social home page Coder Social logo

linkie's Introduction

linkie

[~] $ linkie
[linkie] pushing changes... nothing to push
[linkie] relinking... done
[~] $
  • symlink everything from $LINKIE_REPO into $LINKIE_PATH.

function

  • linkie takes all top-level files and directories in a chosen repo and cleanly symlinks them into a chosen directory.
  • it's particularly useful for quickly bootstrapping a DE with lots of disparate dotfiles, like KDE or GNOME.

prerequisites

  • ${LINKIE_PATH} as a destination config folder, like ~/.config
  • ${LINKIE_REPO} exported to a repo containing the above dotfiles

prepare

  • create a git repository containing the ~/.config files you want symlinked.
[~/remote-repos/plasma] $ export LINKIE_REPO="/the/path/to/your/config/repo"
[~/remote-repos/plasma] $ ls ${LINKIE_REPO}
akregatorrc                konsolerc         plasma-org.kde.plasma.desktop-appletsrc
baloofilerc                konsolesshconfig  plasmarc
dconf                      krunnerrc         plasmashellrc
...
[~/remote-repos/plasma] $

install

  • replace $BIN with any path you'd like, as long as it's present in $PATH.
curl -sL \
  https://github.com/draumaz/linkie/archive/refs/heads/main.tar.gz | \
    tar -xpvzf - \
      --strip-components=1 \
      -C $BIN \
      linkie-main/linkie

linkie's People

Contributors

draumaz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.