Giter VIP home page Giter VIP logo

nd's Introduction

nd

Theme management for night and day.

What is this?

Tired of manually switching between light and dark themes? Nd automates that process with just one yml file. By default, nd looks for a links.yml file in your home XDG config directory. More specifically, on macOS, ~/Library/Preferences/nd/links.yml, on Unix systems, ~/.config/nd/links.yml, and on Windows, %LOCALAPPDATA%\nd\links.yml.

For example, suppose you'd like to use different vimrc files depending on the time of day:

(~/.config/nd/links.yml)
vim:
  to: ~/.vimrc
  day:
    from: ~/.vimrc.day
  night:
    from: ~/.vimrc.night

Or, if you'd like to toggle between two tmux configs and reload tmux at the same time (cmd is optional here, and just allows for a live reload):

(~/.config/nd/links.yml)
vim:
...
tmux:
  to: ~/.tmux.conf
  day:
    from: ~/.tmux.day.conf
    cmd: tmux source-file ~/.tmux.conf
  night:
    from: ~/.tmux.night.conf
    cmd: tmux source-file ~/.tmux.conf

Toggling between the two aforementioned vimrc files is as simple as nd day or nd night!

Installation

go install github.com/dowlandaiello/nd

nd's People

Contributors

dowlandaiello avatar

Watchers

James Cloos avatar  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.