{"id":20579907,"url":"https://github.com/erikw/dotfiles","last_synced_at":"2025-04-14T19:22:33.205Z","repository":{"id":3728180,"uuid":"4801548","full_name":"erikw/dotfiles","owner":"erikw","description":"🏠 My personal dotfiles, following the XDG Base Directory Standard.","archived":false,"fork":false,"pushed_at":"2025-04-13T17:22:12.000Z","size":27156,"stargazers_count":60,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-13T18:34:12.797Z","etag":null,"topics":["config","configuration","dotbot","dotfiles","environment","installation","shell","tools","xdg","xdg-compliance"],"latest_commit_sha":null,"homepage":"http://0.0.0.0","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erikw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2012-06-26T22:48:57.000Z","updated_at":"2025-04-13T17:22:18.000Z","dependencies_parsed_at":"2025-04-13T18:34:30.546Z","dependency_job_id":null,"html_url":"https://github.com/erikw/dotfiles","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikw%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikw%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikw%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikw%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erikw","download_url":"https://codeload.github.com/erikw/dotfiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248943415,"owners_count":21186958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["config","configuration","dotbot","dotfiles","environment","installation","shell","tools","xdg","xdg-compliance"],"created_at":"2024-11-16T06:19:04.320Z","updated_at":"2025-04-14T19:22:33.194Z","avatar_url":"https://github.com/erikw.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg alt=\"log\" width=\"80%\" src=\"img/logo.png\" /\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003ci\u003ethe files that makes me feel at \u003ctt\u003e~/\u003c/tt\u003e\u003c/i\u003e\u003c/p\u003e\n\n# 🏠 Dotfiles\n[![GitHub Stars](https://img.shields.io/github/stars/erikw/dotfiles?style=social)](#)\n[![GitHub Forks](https://img.shields.io/github/forks/erikw/dotfiles?style=social)](#)\n\u003cbr\u003e\n[![SLOC](https://sloc.xyz/github/erikw/dotfiles?lower=true\u0026badge-bg-color=32CD32)](#)\n[![Number of programming languages used](https://img.shields.io/github/languages/count/erikw/dotfiles)](#)\n[![Top programming languages used](https://img.shields.io/github/languages/top/erikw/dotfiles)](#)\n[![Number of files in repo](https://img.shields.io/github/directory-file-count/erikw/dotfiles)](#)\n[![Repo file size](https://img.shields.io/github/repo-size/erikw/dotfiles)](#)\n[![XDG Compliancy](https://img.shields.io/badge/%E2%9C%94%20Compliancy-XDG%20Base%20Directory%20Standard-limegreen)](#)\n\n\nMy personal dotfiles, installed and managed with [dotbot](https://github.com/anishathalye/dotbot).\n\n\u003e [!NOTE]\n\u003e This is as [XDG](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) Base Directory Standard compliant as possible!\n\n## Highlights\n* [`.config/`](.config/) - I've spent quite some effort to make my dotfiles adhere to the [XDG](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) Base Directory Standard as much as possible, using and contributing to the [Arch wiki page](https://wiki.archlinux.org/title/XDG_Base_Directory). As far from all programs that I use support this natively, quite some custom configuration needed to be done. Grep for `XDG` in [shell/commons](.config/shell/commons).\n   * [`dotbot/install.conf.yaml`](.config/dotbot/install.conf.yaml) - how these dotfiles are installed.\n   * [`nvim/`](.config/nvim) - check out my Neovim configurations; they are pretty cool!\n* [`bin/`](bin/) - many handy and time saving scripts.\n  * [`brew_upgrade.sh`](bin/brew_upgrade.sh) - interactively upgrade a Homebrew system.\n  * [`macos_touchid_sudo_enable.sh`](bin/macos_touchid_sudo_enable.sh) - enable sudo with TouchID.\n  * [`pdf_compress.sh`](bin/pdf_compress.sh) - compress file size of PDFs!\n  * [`permute_aliases.sh`](bin/permute_aliases.sh) - generate shell aliases on all permutations of a command; for fast typers!\n  * [`ssh-keygen.sh`](bin/ssh-keygen.sh) - interactively create SSH keys using a nicely structured [`.ssh/config`](bin/ssh-config-create.sh) file.\n\n## Installation\n### Bootstrap\nBootstrap using [`bin/dotfiles_bootstrap.sh`](bin/dotfiles_bootstrap.sh):\n```bash\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/erikw/dotfiles/main/bin/dotfiles_bootstrap.sh)\"\n```\nThis will interactively set up a GitHub SSH key, clone this repo and run [`./install`](https://github.com/erikw/dotfiles/blob/main/install).\n\n\n### Local branch\nSwitch to a local branch for secret changes:\n```bash\ncd ~/src/github.com/erikw/dotfiles\ngit checkout -b local\n```\n\nand after making some changes to the branch, squash to one commit:\n```bash\ngit commit -m \"SQUASHED passwords\"\n```\n\n### Host-specific configuration\n* Passwords and other secretes are censored. To find these and substitute them for the real thing, do:\n\t```bash\n\tgrep -nr GIT-CENSORED . | grep -v README.md | grep -v \"/.git/\"\n\t```\n* Set `DESKTYPE` in `$XDG_CONFIG_HOME/shell/commons`, unless system is macos.\n* Default desktop is assumed to be macOS. Go through host-specific manual settings by searching for the corresponding tag.\n\t```bash\n\tgrep -nr MACOS-CONFIG . 2\u003e/dev/null | grep -v README.md\n\tgrep -nr LINUX-CONFIG . 2\u003e/dev/null | grep -v README.md\n\tgrep -nr FREEBSD-CONFIG . 2\u003e/dev/null | grep -v README.md\n\t```\n\n## GitHub SSH Config File\nTo ensure success, use a manual entry like this (modify output from [bin/ssh-keygen.sh]:\n\u003cdetails\u003e\n\u003csummary\u003e~/.ssh/config\u003c/summary\u003e\n\n```sshconfig\nHost github.com\n\tUser git\n\tPort 22\n\tPreferredAuthentications publickey\n\tIdentityFile ~/.ssh/identityfiles/REDACT\n```\n\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferikw%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferikw%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferikw%2Fdotfiles/lists"}