Skip to content

t-mart/dotfiles

Repository files navigation

dotfiles

These are my dotfiles.

Managed with Rotz.

Installation

  1. Prerequisites programs:

    • git
    • rotz
  2. Clone and deploy:

    rotz clone git@github.com:t-mart/dotfiles.git

    People that aren't me should use https://github.com/t-mart/dotfiles.git.

  3. For my nushell config to work, create a ~/profile.nu, which can be empty.

    touch ~/profile.nu

    See relevant section in env.nu for more details.

  4. (Optional) Set "global" environment variables:

    To set environment variables permanently for programs (including those launched from the desktop environment), global environment variables should be set according to the operating system's methods.

    This step is important because the dotfiles may be deployed to paths that correlated to these environment variables (e.g., XDG_CONFIG_HOME). See XDG Variables for the values that should be set.

    • Windows:

      pwsh ~/.dotfiles/env/windows.ps1

      (see source for details)

    • Others

      Not yet implemented. On Ubuntu, ~/.profile would be a good place to put these.

  5. Deploy (symlink):

    rotz link

Workflow

Rotz puts this repository in ~/.dotfiles. It can be managed just like any other git repository (e.g., git pull or git push).

XDG Variables

XDG variables should be set to the following values:

  • XDG_CACHE_HOME: <HOME_DIR>/.cache
  • XDG_CONFIG_HOME: <HOME_DIR>/.config
  • XDG_DATA_HOME: <HOME_DIR>/.local/share
  • XDG_STATE_HOME: <HOME_DIR>/.local/state

<HOME_DIR> should be replaced with the absolute path to the user's home directory.

Releases

No releases published

Sponsor this project

 

Packages

No packages published