Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spencerwooo/dotfiles-archive
Dotfiles for all :D
https://github.com/spencerwooo/dotfiles-archive
alias aliases oh-my-zsh shell zsh zshrc
Last synced: about 2 months ago
JSON representation
Dotfiles for all :D
- Host: GitHub
- URL: https://github.com/spencerwooo/dotfiles-archive
- Owner: spencerwooo
- License: mit
- Archived: true
- Created: 2018-05-31T11:01:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-27T11:37:45.000Z (over 4 years ago)
- Last Synced: 2024-08-02T14:12:42.068Z (5 months ago)
- Topics: alias, aliases, oh-my-zsh, shell, zsh, zshrc
- Language: Shell
- Homepage:
- Size: 1010 KB
- Stars: 761
- Watchers: 20
- Forks: 99
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred-test - spencerwooo/dotfiles-archive - Dotfiles for all :D (Shell)
README
# 🚯 Dotfiles
![](https://flat.badgen.net/badge/platform/macOS,Windows,Linux?list=|)
> ri • cing /ry-sing/
>
> - Making visual improvements and customization to your desktop and/or phone that can simplify your desktop environment but (generally) are completely pointless.> 好看是第一生产力。
>
> —— @SpencerWoo## macOS
### iTerm2
🔺WARNING: Please upgrade iTerm2 to the latest 3.3 version in order to achieve the customizable "Minimal Titlebar" and "Status bar".
![](https://i.loli.net/2019/08/16/DpztirnBE6yvqh7.png)
- Color Scheme: [manta.itermcolors](./macOS/manta.itermcolors)
- Set "Tab bar height (points) for minimal theme" to 22, under "Preference - Advanced".![](https://i.loli.net/2019/08/16/dr7Kp2SvsW6xGDt.png)
- Set "Transparency" to near "Opaque", under "Preference - Profiles - Default - Window".
### Hyper
![](https://i.loli.net/2019/08/15/Nt9HMKlpJxLaE3Y.png)
Fully customized color scheme, see [_hyper_macos.js](./macOS/_hyper_macos.js)
- Shell: [Oh-My-Zsh](https://ohmyz.sh/)
- ZSH Themes: [Powerlevel10k](https://github.com/romkatv/powerlevel10k), [Pure](https://github.com/sindresorhus/pure)🔺 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: romkatv/Pure style for Powerlevel10k.md
### Window Manager - yabai
![](https://i.loli.net/2019/08/15/PcK2W8JXs4xQgdw.png)
[Yabai](https://github.com/koekeishiya/yabai) - a macOS Tiling WM.
- [.yabairc](./macOS/_yabairc)
- [.skhdrc](./macOS/_skhdrc)### Bitbar Scripts
Your custom, open source version of iStat Menu. 阅读更多:监控疫情、看天气、查汇率…… Mac 菜单栏「万能」工具箱:BitBar
**Bitbar**: put the output from any script or program in your macOS menu bar. Scripts I use are available at: [bitbar](./macOS/bitbar)
| Colorful battery | CPU Stats |
| :----------------------------------------------------: | :----------------------------------------------------: |
| ![](https://i.loli.net/2020/02/02/iC1olKmTRWfuBzb.png) | ![](https://i.loli.net/2020/02/02/k7cIl6vroGASYh9.png) |## Windows
![](https://i.loli.net/2020/02/09/NIKWH3nub1YAQJv.png)
### PowerShell
| Configurations | What I use |
| :--------------------------------- | :---------------------------------------------------------------------------------------------------------- |
| Prompt theme engine | [oh-my-posh](https://github.com/JanDeDobbeleer/oh-my-posh) |
| Prompt theme | [SpencerTechy.psm1](./Windows/SpencerTechy.psm1) |
| Font | [JetBrains Mono Nerd Font](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/JetBrainsMono) |
| Color theme (for Windows Terminal) | [Snazzy](https://github.com/mbadolato/iTerm2-Color-Schemes/blob/master/windowsterminal/Snazzy.json) |Go 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:
```PowerShell
$ThemeSettings
```![](https://i.loli.net/2020/02/09/XqNatS79hdCyY1v.png)
We 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:
```PowerShell
Set-Theme SpencerTechy
```Also, here's my PowerShell configuration profile: [ps_profile.ps1](./Windows/ps_profile.ps1) for reference. I use:
- [`Get-ChildItemColor`](https://github.com/joonro/Get-ChildItemColor) for better colored `ls`
- `scoop` as Window's package managerAnd I removed PowerShell's default alias of `curl` via:
```powershell
# Remove curl alias
If (Test-Path Alias:curl) {Remove-Item Alias:curl}
If (Test-Path Alias:curl) {Remove-Item Alias:curl}
```See [ps_profile.ps1](./Windows/ps_profile.ps1) for detailed information.
### Windows Terminal
❗ You cannot use
colortool
to apply a theme to Windows Terminal. Instead, you'll need to manually add the theme (which is inJSON
) to Windows Terminal's configuration.- Dark variant - defined in Windows Terminal settings:
```json
"theme" : "dark"
```- Windows Terminal themes: [Windows Terminal Themes](https://github.com/mbadolato/iTerm2-Color-Schemes/tree/master/windowsterminal) at iTerm Color Schemes.
For more information, see [wt_profiles.json](./Windows/wt_profiles.json).
## Linux
> ❗ I don't use Linux (or Manjaro) any more. I recommend using WSL on Windows. (Or just buy a Mac for god sake.)
### Arch Linux WSL (for use on Windows)
Config files: [`_wsl_zshrc`](./Windows/_wsl_zshrc)
![](https://i.loli.net/2019/08/21/ZMhu2zobPDNWiYw.png)
### Manjaro
- ZSH config files: [`_arch_zshrc`](./Linux/_arch_zshrc)
- Hyper config files: [`_hyper.js`](./Linux/_hyper.js)![](https://i.loli.net/2018/12/31/5c29a4c819cab.png)
## Scripts
Handy scripts for ricing screenshots.
### Neofetch
Fetch system information (with
--iterm2
option to display wallpaper.)```shell
neofetch --iterm2
```![](https://i.loli.net/2019/08/16/bDNKLBGAok65xZ9.png)
Depends on `imagemagick`, only works with Terminals who support displaying inline images.
### Colortest - [pablopunk/colortest](https://github.com/pablopunk/colortest)
Quickly show all your terminal colors
```shell
curl -s https://raw.githubusercontent.com/pablopunk/colortest/master/colortest | bash
```![](https://i.loli.net/2019/08/16/rHUa3Qs6bDFv7LV.png)
### `color.sh` - [color.sh](./scripts/color.sh)
Minimal script to show terminal colors.
```shell
curl -s https://raw.githubusercontent.com/spencerwooo/dotfiles/master/scripts/color.sh | bash
```![](https://i.loli.net/2019/08/16/ZOnMBPUSQcIrsk5.png)
### 256 Color Test
Print out all 256 colors in your console. See: Print a 256-color test pattern in the terminal
```shell
curl -s https://gist.githubusercontent.com/HaleTom/89ffe32783f89f403bba96bd7bcd1263/raw/ | bash
```![](https://i.loli.net/2019/08/16/ZzWE4xriOKXUB6e.png)
### ytop
Terminal based task manager.
GitHub: [cjbassi/ytop: Another TUI based system monitor, this time in Rust!](https://github.com/cjbassi/ytop)
![](https://i.loli.net/2019/08/16/7dyNAfjPQgeRsl3.png)
### tty-clock
Terminal based clock.
GitHub: [xorg62/tty-clock](https://github.com/xorg62/tty-clock)
![](https://i.loli.net/2019/08/16/eRdUtOZcIa31Gf2.png)
## Special Thanks
- [elenapan/dotfiles](https://github.com/elenapan/dotfiles)
- [reddit/r/unixporn](https://www.reddit.com/r/unixporn/)## License
This is published via the [MIT License](https://github.com/spencerwoo98/awesome-alias/blob/master/LICENSE).
---
🚯 **Dotfiles** ©Spencer Woo. Released under the MIT License.
Authored and maintained by Spencer Woo.
[@Portfolio](https://spencerwoo.com/) · [@Blog](https://blog.spencerwoo.com/) · [@GitHub](https://github.com/spencerwooo)