DotFiles
Windows
PowerShell
Configurations | What I use |
---|---|
Prompt theme engine | oh-my-posh |
Prompt theme | SpencerTechy.psm1 |
Font | JetBrains Mono Nerd Font、Sarasa Gothic |
Color theme (for Windows Terminal) | Snazzy |
Go to oh-my-posh for information on how to install. After installing, you can take a look at your oh-my-posh’s profile with:
1 | $ThemeSettings |
We are looking for the directory where oh-my-posh stores all your themes. Navigate to that very directory, and put SpencerTechy.psm1 there. Now, you can enable this theme with:
1 | Set-Theme SpencerTechy |
Also, here’s my PowerShell configuration profile: ps_profile.ps1 for reference. I use:
Get-ChildItemColor
for better coloredls
scoop
as Window’s package manager
And I removed PowerShell’s default alias of curl
via:
1 | # Remove curl alias |
See 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 in JSON
) to Windows Terminal's configuration.
Dark variant - defined in Windows Terminal settings:
1
"requestedTheme" : "dark"
Windows Terminal themes: Windows Terminal Themes at iTerm Color Schemes.
For more information, see wt_profiles.json.
Linux
Termux (Andriod Terminal)
Config files: zshrc
1 | bash -c "$(curl -fsSL https://raw.githubusercontent.com/ivitan/DotFiles/master/Scripts/Termux.sh)" |
Arch Linux WSL (for use on Windows)
Config files: wsl_zshrc
ArchLinux/Manjaro
- ZSH config files:
arch_zshrc
- Hyper config files:
hyper.js
macOS
iTerm2
🔺WARNING: Please upgrade iTerm2 to the latest 3.3 version in order to achieve the customizable "Minimal Titlebar" and "Status bar".
Color Scheme: manta.itermcolors
Set “Tab bar height (points) for minimal theme” to 22, under “Preference - Advanced”.
Set “Transparency” to near “Opaque”, under “Preference - Profiles - Default - Window”.
Hyper
Fully customized color scheme, see hyper_macos.js
- Shell: Oh-My-Zsh
- ZSH Themes: Powerlevel10k, 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
Yabai - a macOS Tiling WM.
Bitbar Scripts
Bitbar: put the output from any script or program in your macOS menu bar. Scripts I use are available at: bitbar
Colorful battery | CPU Stats |
---|---|
Scripts
Handy scripts for ricing screenshots.
Neofetch
Fetch system information (with --iterm2
option to display wallpaper.)
1 | neofetch --iterm2 |
Depends on imagemagick
, only works with Terminals who support displaying inline images.
Colortest - pablopunk/colortest
Quickly show all your terminal colors
1 | curl -s https://raw.githubusercontent.com/pablopunk/colortest/master/colortest | bash |
color.sh
- color.sh
Minimal script to show terminal colors.
1 | curl -s https://raw.githubusercontent.com/ivitan/UnixConfig/master/scripts/color.sh | bash |
256 Color Test
Print out all 256 colors in your console. See: Print a 256-color test pattern in the terminal
1 | curl -s https://gist.githubusercontent.com/HaleTom/89ffe32783f89f403bba96bd7bcd1263/raw/ | bash |
ytop
Terminal based task manager.
GitHub: cjbassi/ytop: Another TUI based system monitor, this time in Rust!
tty-clock
Terminal based clock.
GitHub: xorg62/tty-clock
Special Thanks
This project base on spencerwoo98/dotfiles
License
This is published via the MIT License.