Skip to content

My personal dotfiles, even though I mainly use Windows.

License

Notifications You must be signed in to change notification settings

addianto/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

My personal dotfiles, even though I mainly use Windows.

This project contains my personal dotfiles. I try to organise them according to XDG Base Directory specification.

Installation

Configure the XDG Base Directory-related environment variables in the user/home directory, such as:

  • XDG_DATA_HOME
  • XDG_CONFIG_HOME
  • XDG_STATE_HOME
  • XDG_CACHE_HOME

On Windows, configure the environment variables manually via the Control Panel. Some automation might possible in the future using xPSDesiredStateConfiguration module. On Linux, run xdg.sh script at least once.

After setting up environment variables, create the XDG directories:

mkdir -p "$XDG_DATA_HOME"
mkdir -p "$XDG_CONFIG_HOME"
mkdir -p "$XDG_STATE_HOME"
mkdir -p "$XDG_CACHE_HOME"

Next, go into the config directory. Inside, create symbolic links for each directory and put them into XDG_CONFIG_HOME. For example, the following shell command creates a symbolic link to the nvim configuration directory and put it into XDG_CONFIG_HOME:

cd config
ln -s nvim "$XDG_CONFIG_HOME/nvim"

Note: On Windows, use New-Item -Type SymbolicLink command to create symbolic link.

Windows-specific Configuration

Besides dotfiles, this project also contains WinGet Configuration files located in the windows/configurations directory.

Acknowledgements

License

This project is licensed under the MIT license.

About

My personal dotfiles, even though I mainly use Windows.

Topics

Resources

License

Stars

Watchers

Forks