A configurable ricing dotfile for Windows 11
npm install aquapaka-dotfilesYes it's Windows
!GitHub Release
!GitHub Actions Workflow Status
!GitHub License
!Discord
Run real shell scripts and Linux commands natively on Windows — no WSL, no virtualization, no nonsense. With this setup, you get the full power of Unix-like scripting without sacrificing compatibility.
Why write PowerShell when you can use familiar ``.sh` scripts? And if you still need PowerShell? You can run both side by side. It's like having the best of both worlds — the flexibility of Linux with the accessibility of Windows.
Are you a ricing nerd or a unixporn enthusiast who has to use Windows but still misses the customizability of Linux? Look no further! This repository is a treasure trove of my ricing dotfiles tailored specifically for Windows.
It includes a variety of custom themes, scripts, and configurations designed to bring the same level of aesthetic appeal and functionality to your Windows desktop that you love from your Linux setups.
Easily switch themes on the fly with just one press. Keep your desktop fresh and aligned with your mood or preferences instantly and effortlessly.
Dive in, tweak to your heart's content, and transform your Windows environment into a beautifully riced masterpiece!
- Terminal: Windows Terminal
- Shell: Zsh inside MSYS2
- Tiling Window Manager: GlazeWM 3.9.1
- Bar: Zebar 3.1.1
- Package manager: Winget
- Dotfiles manager: Chezmoi
ℹ️Note: This dotfiles are configured specifically for my 1440p screen, so things might appear larger on smaller screens. I suggest using my dotfiles as a base and customizing it to fit your specific needs.
| ✨ jade |
| :---: |
| A soul with raw edges, nostalgic warmth, and unspoken strength |
|!jade-1|
|!jade-2|
| ✨ wasabi |
| :---: |
| Mysterious and alluring |
|!wasabi-1|
|!wasabi-2|
| ✨ aqua |
| :---: |
| Full of curiosity and charm |
|!aqua-1|
|!aqua-2|
| ✨ shuri |
| :---: |
| A gentle presence in shades of purple |
|!shuri-1|
|!shuri-2|
You can customize each theme inside ~/.rice-manager/rices and re-apply it (see Change theme below)
- ☑️ Windows Terminal theme
- ☑️ GlazeWM border theme
- ☑️ Zebar theme
- ☑️ Desktop wallpaper based on rice
- ☑️ Vscode theme
- ~~☑️ Windows light/dark mode based on rice~~ ❌ Disabled - currently unstable and buggy
- ❓ Windows color based on rice
- 🚧 under construction
- From terminal use command: `rice ` (example: `rice aqua`)`
- Wallpaper is selected randomize from rice's wallpaper folder.
- Use rice` for helps.
- From terminal use command: `wallpaper ` (example: `wallpaper aqua`)
- This will change the wallpaper only, allow you to use wallpaper from other themes.
- Wallpaper is selected randomize from selected rice's wallpaper folder.
| Keys | Action |
|:-|:-|
|alt + enter| Open terminal|
|alt + Space| Open powertoy run |
|alt + h\|j\|k\|l| Focus window left \| bottom \| top \| right|
|alt + shift + h\|j\|k\|l| Move focusing window left \| bottom \| top \| right|
|alt + shift + q| Close focusing window|
|alt + 1\|2\|3\|4\|5\|6\|7\|8\|9\|0| Focus workspace {n}|
|alt + shift + 1\|2\|3\|4\|5\|6\|7\|8\|9\|0| Move focusing window to workspace {n}|
|alt + shift + r| Reload glazewm config |
|alt + shift + e| Exit glazewm |
ℹ️ More keybinding can be found here
- Those installation steps are not fully verified and you might stuck at any step, if you're having problem, feel free to message me on my discord.
- This dotfiles and it's previews are in 2560x1600 resolution, everything might look bigger on lower resolution.
- Those installation steps won't break your windows, in case things didn't go well, all you need to do are:
- `winget uninstall ...` all packages you have installed through `install-packages.ps1``
- Remove added task scheduler tasks
- Remove added config files in ~/.config``
- If you have just fresh install windows 11, you need to go to Microsoft Store and update your "App Installer". Otherwise winget will not working.
- For those who use another windows 11 version (like IOT Enterprise LTSC, which doesn't come with Microsoft Store):
- First download the latest version of winget:
- Then open Powershell and run: Add-AppxPackage -Path ` to install winget
Font need to be download and install manually (Windows is planning to allows installing fonts from winget. Stay tune!):
- Pixelcraft Nerd Font (please download and use Nerd Font version)
- Pixel Code
- Monofur Nerd Font
- Space Mono Nerd Font
- Install chezmoi from Winget with: `winget install chezmoi``
- Close and reopen terminal for chezmoi command to be recognized.
- Initialize chezmoi and apply the dotfiles with: chezmoi init --apply jade-tam`
- If you are using Windows Terminal, you will notice the terminal theme changed immediately.
- After chezmoi apply the dotfiles, the chezmoi source folder could be found in `%userprofile%/.local/share/chezmoi`, `install-packages.ps1` file can be found inside `scripts` folder (⚠️Note: Windows Terminal is now default open zsh shell which we haven't installed yet so it will show error if you try to open Windows Terminal, let's open Windows Powershell instead)`
- Enable allow execute powershell script in windows settings:
!image
!image
- Edit install-packages.ps1`, comment out packages/apps that are not needed (All non-required packages are commented by default)`
- ⚠️ Note: If glazewm or zebar already installed, please uninstall them first before running the install script, this will make sure the versions are correct.
- Run install-packages.ps1` script with Powershell to install nessesary packages (⚠️ Note: sometime installation could fail, re-run the script to ensure all packages has been installed)
- Add `%USERPROFILE%\.local\bin` to Path variable (This is needed for some utilities like btop, colorscript and winfetch to be recognize):
- !image
- !image
- !image
- !image
- After everything above are done, restart the PC one time to make sure all new program paths and fonts are registered.
----------------------------
🚩 Continue below after MSYS2 has been installed through install-packages.ps1 and you have restarted the pc
Edit the "db_home"'s value to "windows" of file /c/msys64/etc/nsswitch.conf (file nsswitch.conf inside C:\msys64\etc)
``
db_home: windows
This will set windows user folder as default home directory. Otherwise zsh won't see it config file from user's directory.
Open MSYS2 UCRT64 and run below command to install zsh (Tips: command can be pasted using middle mouse button)
`Update pacman
pacman -Syu
`
Open Powershell, from your user folder (Example: `C:\Users\JadeTam>`), run below command to install zsh themes and configs
`Install Theme: Powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ./.config/zsh/themes/powerlevel10k
git clone https://github.com/zdharma-continuum/fast-syntax-highlighting ./.config/zsh/plugins/fast-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ./.config/zsh/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-history-substring-search ./.config/zsh/plugins/zsh-history-substring-search
`
Troubleshoot: If git is not recognizable, try close and reopen powershell or check whether git is installed through running `install-packages.ps1` or not.
- Icons: Material Icon Theme - best icon pack in my opinion
- Themes:
- Tinted VSCode - using by other themes
- Gruvbox Theme - using by Wasabi theme
- Everforest - using by Jade theme
- ADDITIONAL:
- To change vscode UI Font, use this extension: Fonted
- To make VSCode window transparent:
- Just need to copy the GlazeWM shortcut.
- Open Start Up folder by pressing Windows + R and type in `shell:startup`
- Paste the shortcut in here and we are done, you can also run GlazeWM now.
- Zebar is open and close with GlazeWM.
- Enable automatically hide the taskbar (for more vertical space).
- Improve performance and reduce disk utilization for system with high amount of free RAM:
- Run `scripts/high-ram-tuning.ps1` with Powershell.`
- Restore old context menu (Require restart):
- Open/Run scripts/Restore-old-context-menu.reg`.`
- Show 'Max cpu freq' in power plan setting, allow changing maximum cpu freqency to attempt lower temperature and more stable machine (Very useful, highly recommend for laptop):
- Run scripts/show-cpu-frequency-power-plan-setting.ps1`` with Powershell
- Search for "Edit Power Plan" > Change Plan Settings > Change advanced power settings > Processor power management > Maximum processor frequency (Showing after running the script, change this to preferred frequency)
- Dotfiles inspired by gh0stzk dotfiles:
- Food script by Xero: