8000 GitHub - pu-007/dotfiles: Dotfiles of fcitx5, git, nvim, wsl, wslg, pip, conda, etc.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

pu-007/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

My dotfiles on Arch WSL & Windows.

  • TODO: simplify the link steps

  • TODO: add docs

  • TODO: all pip and uv changed mirror

  • TODO: develop a full-featured and powerful script wo manage dotfiles. Functionsl listed below:

  1. transform:

export DOTFILES_STORE="~/dotfiles"

1.1. Existing Linux Config <==> Stow Profile

  • A->B {target: ~/.config/example}

    • mkdir $DOTFILE_STORE/{app_name: example}/.config/example

    • mv ~/.config/example/* $DOTFILE_STORE/{app_name: example}/.config/example/ (rescursive and force)

  • B->A

    • Plan 1(link dir, not rerecommended): use stow --adopt -t ~ "$dir"

    • Plan 2(link files respectively):yield files, create its parents, and stow them respectively

      1.2. Existing Windows Config <==> Symlinks to Arch on Windows (or copy mode optionally)

  • A->B: Windows to WSL stotage

    • 1.1 put your files manually put your Windows config file in ~/dotfiles/c.mnt/<your_windows_path> e.g. C:\Users\zion\test.conf ==> ~/dotfiles/c.mnt/Users/zion/test.conf

    • 1.2 run this script to create a symlink in WSL (files recommended, directories may cause issues, i.e., it may include extra files) <TODO: script to auto move files from Windows to WSL storage> 2. WSL to Windows storage

  • B-> A

(speciall file: .wslconfig, komorebi.json)

  • 2.1 quick proceed all files, just run: fd . c.mnt -H -t f -x python scripts.meta/config_linker.py --no-confirm-deletion {}
  • specify files or directories manually: python scripts.meta/config_linker.py ~/dotfiles/c.mnt/Users/zion/.config <other_files_or_dirs>
  1. type

user: Linux Configs in home root: Linux Configs in root mnt: Windows mount dir meta: spcial files that stored manually

  1. a quick and user-friendly interface

  2. use simple, structured python code

  • TODO: Add others meta type to c.mnt after the script finished

About

Dotfiles of fcitx5, git, nvim, wsl, wslg, pip, conda, etc.

Topics

Resources

Stars

Watchers

Forks

0