{"id":13572537,"url":"https://github.com/spencerwooo/dotfiles-archive","last_synced_at":"2025-04-04T10:30:45.375Z","repository":{"id":38955231,"uuid":"135572230","full_name":"spencerwooo/dotfiles-archive","owner":"spencerwooo","description":"Dotfiles for all :D","archived":true,"fork":false,"pushed_at":"2020-06-27T11:37:45.000Z","size":1032,"stargazers_count":761,"open_issues_count":3,"forks_count":99,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-11-05T05:34:27.135Z","etag":null,"topics":["alias","aliases","oh-my-zsh","shell","zsh","zshrc"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spencerwooo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-31T11:01:04.000Z","updated_at":"2024-09-03T06:45:45.000Z","dependencies_parsed_at":"2022-09-12T23:50:26.136Z","dependency_job_id":null,"html_url":"https://github.com/spencerwooo/dotfiles-archive","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencerwooo%2Fdotfiles-archive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencerwooo%2Fdotfiles-archive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencerwooo%2Fdotfiles-archive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencerwooo%2Fdotfiles-archive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spencerwooo","download_url":"https://codeload.github.com/spencerwooo/dotfiles-archive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247160211,"owners_count":20893792,"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":["alias","aliases","oh-my-zsh","shell","zsh","zshrc"],"created_at":"2024-08-01T14:01:26.231Z","updated_at":"2025-04-04T10:30:44.965Z","avatar_url":"https://github.com/spencerwooo.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"\u003cdiv align=\"right\"\u003e\r\n\u003ca href=\"#macos\"\u003emacOS\u003c/a\u003e · \u003ca href=\"#windows\"\u003eWindows\u003c/a\u003e · \u003ca href=\"#linux\"\u003eLinux\u003c/a\u003e · \u003ca href=\"#scripts\"\u003eScripts\u003c/a\u003e\r\n\u003c/div\u003e\r\n\r\n# 🚯 Dotfiles\r\n\r\n![](https://flat.badgen.net/badge/platform/macOS,Windows,Linux?list=|)\r\n\r\n\u003e ri • cing /ry-sing/\r\n\u003e\r\n\u003e - Making visual improvements and customization to your desktop and/or phone that can simplify your desktop environment but (generally) are completely pointless.\r\n\r\n\u003e 好看是第一生产力。\r\n\u003e\r\n\u003e —— @SpencerWoo\r\n\r\n## macOS\r\n\r\n### iTerm2\r\n\r\n\u003ch6\u003e🔺WARNING: Please upgrade iTerm2 to the latest 3.3 version in order to achieve the customizable \"Minimal Titlebar\" and \"Status bar\".\u003c/h6\u003e\r\n\r\n![](https://i.loli.net/2019/08/16/DpztirnBE6yvqh7.png)\r\n\r\n- Color Scheme: [manta.itermcolors](./macOS/manta.itermcolors)\r\n- Set \"Tab bar height (points) for minimal theme\" to 22, under \"Preference - Advanced\".\r\n\r\n  ![](https://i.loli.net/2019/08/16/dr7Kp2SvsW6xGDt.png)\r\n\r\n- Set \"Transparency\" to near \"Opaque\", under \"Preference - Profiles - Default - Window\".\r\n\r\n### Hyper\r\n\r\n![](https://i.loli.net/2019/08/15/Nt9HMKlpJxLaE3Y.png)\r\n\r\nFully customized color scheme, see [_hyper_macos.js](./macOS/_hyper_macos.js)\r\n\r\n- Shell: [Oh-My-Zsh](https://ohmyz.sh/)\r\n- ZSH Themes: [Powerlevel10k](https://github.com/romkatv/powerlevel10k), [Pure](https://github.com/sindresorhus/pure)\r\n\r\n\u003ch6\u003e🔺 NOTICE: Powerlevel10k can generate the same prompt as Pure given the right configuration options. But P10K is able to deal with large git repositories much much faster. See: \u003ca href=\"https://gist.github.com/romkatv/7cbab80dcbc639003066bb68b9ae0bbf\"\u003eromkatv/Pure style for Powerlevel10k.md\u003c/a\u003e\u003c/h6\u003e\r\n\r\n### Window Manager - yabai\r\n\r\n![](https://i.loli.net/2019/08/15/PcK2W8JXs4xQgdw.png)\r\n\r\n[Yabai](https://github.com/koekeishiya/yabai) - a macOS Tiling WM.\r\n\r\n- [.yabairc](./macOS/_yabairc)\r\n- [.skhdrc](./macOS/_skhdrc)\r\n\r\n### Bitbar Scripts\r\n\r\n\u003ch6\u003eYour custom, open source version of iStat Menu. 阅读更多：\u003ca href=\"https://sspai.com/post/58683\"\u003e监控疫情、看天气、查汇率…… Mac 菜单栏「万能」工具箱：BitBar \u003c/a\u003e\u003c/h6\u003e\r\n\r\n**Bitbar**: put the output from any script or program in your macOS menu bar. Scripts I use are available at: [bitbar](./macOS/bitbar)\r\n\r\n|                    Colorful battery                    |                       CPU Stats                        |\r\n| :----------------------------------------------------: | :----------------------------------------------------: |\r\n| ![](https://i.loli.net/2020/02/02/iC1olKmTRWfuBzb.png) | ![](https://i.loli.net/2020/02/02/k7cIl6vroGASYh9.png) |\r\n\r\n## Windows\r\n\r\n![](https://i.loli.net/2020/02/09/NIKWH3nub1YAQJv.png)\r\n\r\n### PowerShell\r\n\r\n| Configurations                     | What I use                                                                                                  |\r\n| :--------------------------------- | :---------------------------------------------------------------------------------------------------------- |\r\n| Prompt theme engine                | [oh-my-posh](https://github.com/JanDeDobbeleer/oh-my-posh)                                                  |\r\n| Prompt theme                       | [SpencerTechy.psm1](./Windows/SpencerTechy.psm1)                                                            |\r\n| Font                               | [JetBrains Mono Nerd Font](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/JetBrainsMono) |\r\n| Color theme (for Windows Terminal) | [Snazzy](https://github.com/mbadolato/iTerm2-Color-Schemes/blob/master/windowsterminal/Snazzy.json)         |\r\n\r\nGo to [oh-my-posh](https://github.com/JanDeDobbeleer/oh-my-posh) for information on how to install. After installing, you can take a look at your oh-my-posh's profile with:\r\n\r\n```PowerShell\r\n$ThemeSettings\r\n```\r\n\r\n![](https://i.loli.net/2020/02/09/XqNatS79hdCyY1v.png)\r\n\r\nWe are looking for the directory where oh-my-posh stores all your themes. Navigate to that very directory, and put [SpencerTechy.psm1](./Windows/SpencerTechy.psm1) there. Now, you can enable this theme with:\r\n\r\n```PowerShell\r\nSet-Theme SpencerTechy\r\n```\r\n\r\nAlso, here's my PowerShell configuration profile: [ps_profile.ps1](./Windows/ps_profile.ps1) for reference. I use:\r\n\r\n- [`Get-ChildItemColor`](https://github.com/joonro/Get-ChildItemColor) for better colored `ls`\r\n- `scoop` as Window's package manager\r\n\r\nAnd I removed PowerShell's default alias of `curl` via:\r\n\r\n```powershell\r\n# Remove curl alias\r\nIf (Test-Path Alias:curl) {Remove-Item Alias:curl}\r\nIf (Test-Path Alias:curl) {Remove-Item Alias:curl}\r\n```\r\n\r\nSee [ps_profile.ps1](./Windows/ps_profile.ps1) for detailed information.\r\n\r\n### Windows Terminal\r\n\r\n\u003ch6\u003e❗ You cannot use \u003ccode\u003ecolortool\u003c/code\u003e to apply a theme to Windows Terminal. Instead, you'll need to manually add the theme (which is in \u003ccode\u003eJSON\u003c/code\u003e) to Windows Terminal's configuration.\u003c/h6\u003e\r\n\r\n- Dark variant - defined in Windows Terminal settings:\r\n\r\n  ```json\r\n  \"theme\" : \"dark\"\r\n  ```\r\n\r\n- Windows Terminal themes: [Windows Terminal Themes](https://github.com/mbadolato/iTerm2-Color-Schemes/tree/master/windowsterminal) at iTerm Color Schemes.\r\n\r\nFor more information, see [wt_profiles.json](./Windows/wt_profiles.json).\r\n\r\n## Linux\r\n\r\n\u003e ❗ I don't use Linux (or Manjaro) any more. I recommend using WSL on Windows. (Or just buy a Mac for god sake.)\r\n\r\n### Arch Linux WSL (for use on Windows)\r\n\r\nConfig files: [`_wsl_zshrc`](./Windows/_wsl_zshrc)\r\n\r\n![](https://i.loli.net/2019/08/21/ZMhu2zobPDNWiYw.png)\r\n\r\n\u003cdetails\u003e\r\n\r\n### Manjaro\r\n\r\n- ZSH config files: [`_arch_zshrc`](./Linux/_arch_zshrc)\r\n- Hyper config files: [`_hyper.js`](./Linux/_hyper.js)\r\n\r\n![](https://i.loli.net/2018/12/31/5c29a4c819cab.png)\r\n\r\n\u003c/details\u003e\r\n\r\n## Scripts\r\n\r\n\u003ch6\u003eHandy scripts for ricing screenshots.\u003c/h6\u003e\r\n\r\n### Neofetch\r\n\r\n\u003ch6\u003eFetch system information (with \u003ccode\u003e--iterm2\u003c/code\u003e option to display wallpaper.)\u003c/h6\u003e\r\n\r\n```shell\r\nneofetch --iterm2\r\n```\r\n\r\n![](https://i.loli.net/2019/08/16/bDNKLBGAok65xZ9.png)\r\n\r\nDepends on `imagemagick`, only works with Terminals who support displaying inline images.\r\n\r\n### Colortest - [pablopunk/colortest](https://github.com/pablopunk/colortest)\r\n\r\n\u003ch6\u003eQuickly show all your terminal colors\u003c/h6\u003e\r\n\r\n```shell\r\ncurl -s https://raw.githubusercontent.com/pablopunk/colortest/master/colortest | bash\r\n```\r\n\r\n![](https://i.loli.net/2019/08/16/rHUa3Qs6bDFv7LV.png)\r\n\r\n### `color.sh` - [color.sh](./scripts/color.sh)\r\n\r\n\u003ch6\u003eMinimal script to show terminal colors.\u003c/h6\u003e\r\n\r\n```shell\r\ncurl -s https://raw.githubusercontent.com/spencerwooo/dotfiles/master/scripts/color.sh | bash\r\n```\r\n\r\n![](https://i.loli.net/2019/08/16/ZOnMBPUSQcIrsk5.png)\r\n\r\n### 256 Color Test\r\n\r\n\u003ch6\u003ePrint out all 256 colors in your console. See: \u003ca href=\"https://askubuntu.com/questions/821157/print-a-256-color-test-pattern-in-the-terminal/821163#821163\"\u003ePrint a 256-color test pattern in the terminal\u003c/a\u003e\u003c/h6\u003e\r\n\r\n```shell\r\ncurl -s https://gist.githubusercontent.com/HaleTom/89ffe32783f89f403bba96bd7bcd1263/raw/ | bash\r\n```\r\n\r\n![](https://i.loli.net/2019/08/16/ZzWE4xriOKXUB6e.png)\r\n\r\n### ytop\r\n\r\n\u003ch6\u003eTerminal based task manager.\u003c/h6\u003e\r\n\r\nGitHub: [cjbassi/ytop: Another TUI based system monitor, this time in Rust!](https://github.com/cjbassi/ytop)\r\n\r\n![](https://i.loli.net/2019/08/16/7dyNAfjPQgeRsl3.png)\r\n\r\n### tty-clock\r\n\r\n\u003ch6\u003eTerminal based clock.\u003c/h6\u003e\r\n\r\nGitHub: [xorg62/tty-clock](https://github.com/xorg62/tty-clock)\r\n\r\n![](https://i.loli.net/2019/08/16/eRdUtOZcIa31Gf2.png)\r\n\r\n## Special Thanks\r\n\r\n- [elenapan/dotfiles](https://github.com/elenapan/dotfiles)\r\n- [reddit/r/unixporn](https://www.reddit.com/r/unixporn/)\r\n\r\n## License\r\n\r\nThis is published via the [MIT License](https://github.com/spencerwoo98/awesome-alias/blob/master/LICENSE).\r\n\r\n---\r\n\r\n🚯 **Dotfiles** ©Spencer Woo. Released under the MIT License.\r\n\r\nAuthored and maintained by Spencer Woo.\r\n\r\n[@Portfolio](https://spencerwoo.com/) · [@Blog](https://blog.spencerwoo.com/) · [@GitHub](https://github.com/spencerwooo)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspencerwooo%2Fdotfiles-archive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspencerwooo%2Fdotfiles-archive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspencerwooo%2Fdotfiles-archive/lists"}