项目作者: seanbreckenridge

项目描述 :
cross-platform (linux (arch), macos, android (termux), windows (WSL)) dotfiles and scripts, using yadm
高级语言: Shell
项目地址: git://github.com/seanbreckenridge/dotfiles.git
创建时间: 2019-09-25T00:34:43Z
项目社区:https://github.com/seanbreckenridge/dotfiles

开源协议:

下载


dotfiles

This is my personal configuration, I don’t expect anyone else to use this, it is up here as reference.

I have a separate repository I push scripts up to with checks for dependencies to make them easier to install. That includes some cross-platform scripts which handle prompting for input/sending notifications etc. — this repository is more application configuration files and personal scripts

This was originally linux-only, but over the months and years I’ve added a compatibility layer of sorts; A global ON_OS variable which uses on_machine to figure out which machine/operating system I’m on. (linux_arch, mac, android (termux) or windows (WSL)) is set on X server/terminal launch. The bootstrap scripts in .config/yadm dispatch against that to install different packages

In general:

I use syncthing to sync my files/data across my computers.

On Arch/X11:

On Arch/sway:

On Mac:

  • Uses skhd as a hot-key daemon to run applications (e.g. cmd + opt + enter launches terminal)
  • alfred as a application launcher

On Android (using Termux):

Not a ton of application-specific setup yet, handles setting up zsh, installs all my packages using apt; see android_bootstrap

On Windows (in WSL):

Similar to Termux, does an apt-based install. Installs a bunch of languages/programs manually if since the versions on apt are ancient. Should install yadm manually.


For a summary of tools I use often, see here.

Install

  1. # on mac, run `xcode-select --install`
  2. yadm clone https://gitlab.com/purarue/dotfiles
  3. # restart the computer so that ~/.profile and zsh is setup properly
  4. # so OS detection can be done to install the correct packages
  5. yadm bootstrap

LICENSE

Unless where specified, this is all licensed under MIT:

  1. MIT License
  2. Copyright (c) 2019 purarue
  3. Permission is hereby granted, free of charge, to any person obtaining a copy
  4. of this software and associated documentation files (the "Software"), to deal
  5. in the Software without restriction, including without limitation the rights
  6. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7. copies of the Software, and to permit persons to whom the Software is
  8. furnished to do so, subject to the following conditions:
  9. The above copyright notice and this permission notice shall be included in all
  10. copies or substantial portions of the Software.
  11. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  12. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  13. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  14. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  15. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  16. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  17. SOFTWARE.