Giter Site home page Giter Site logo

win-configs's Introduction

Win Configs

This repo aims to create single simple source of all necessary system configuration file for all tools I need.

It is constantly updating and is not a place familiar with stability.

The future goal of this repo is to be reproducible on different operating systems. However for now this is not finished nor tested which is why sadly it only supports MS Windows (hence the name).

What's inside

The main guts of this repo mostly contains configs for nushell and neovim. As of today windows does not support most of the frequently used shells and I am not really a huge fun of WSL so I decided to use nushell. The downside of this approach is that nushell does not come with fresh windows system (and we assume this repo is being installed on a fresh system in the first place) so writing a cross-platform nu bootstrap script is not an option. Thus this repo only contains the ps1 bootstrap and init scripts which are simple initialization scripts for downloading and installing all the necessary packages as well as creating all the necessary symlinks to all folders in this directory.

The list of packages to be installed can be found in a scoopfile.json

All configured tools by this repo:

Installation

To bootstrap the system run the bootstrap.ps1 script followed by init.ps1 script with names of tools you wish to link.

It's apparent that's a "chicken and an egg" problem may occur in the case of fresh system because the scoop is not yet installed however we need git in order to clone repo and run the bootstrap script.

The simple solution is to first just download the script manually (or via web request) then run it and it will do all dirty typing for us (The Chicken method).

This method can be run like this

iwr -useb https://raw.githubusercontent.com/DavidTelenko/win-configs/master/bootstrap.ps1 | iex
cd ~/.configs
init.ps1 -Nvim -Winterm -Pwsh

Another solution is to manually download git, clone repo and run bootstrap with an -Egg parameter this will effectively do the same, however you will be left with two git instances on your pc - yours and scoop's (The Egg method).

The names of the parameters for the init.ps1 is the following:

  • -Pwsh or -PowerShell
  • -Nvim or -Neovim
  • -Helix
  • -Ttyper
  • -Winterm or -WindowsTerminal
  • -Alacritty
  • -Nushell

Notes

  • Power Toys - cannot be adequately configured using symlinks to its config files so we just use their own manual system of backing up stuff

  • Windows Terminal - its better not to sym or hard link config file to the file in the config directory, after all its the terminal emulator and some stuff tends to diverge in different computers, so this repo only contains most general settings of my liking

  • Vimium - it does not support any type of automated backup mechanic (as far as I know) so it's the same as with powertoys - manual import.

TODO

  • Zhs
  • Tmux
  • i3

win-configs's People

Contributors

davidtelenko 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.