aquapaka-dotfiles
v2.2.0
Published
A configurable ricing dotfile for Windows 11
Downloads
22,847
Readme
🍙 My Ricing Dotfiles for Windows 11
Yes it's Windows
Introduction
❤️ For the Ricing and Unixporn Enthusiasts
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.
⚙️ Custom Themes and Configurations
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.
⚡ Instant Theme Switching
Easily switch themes on the fly with just one press. Keep your desktop fresh and aligned with your mood or preferences instantly and effortlessly.
😍 Transform Your Windows Experience
Dive in, tweak to your heart's content, and transform your Windows environment into a beautifully riced masterpiece!
Core
- Terminal: Alacritty
- Shell: Zsh inside MSYS2
- Tiling Window Manager: Komorebi
- Bar: Zebar
- Package manager: Winget
- Dotfiles manager: Chezmoi
🎨 Themes
| ✨ meimei | | :---: | | Warming and caring | || ||
| ✨ tlinh | | :---: | | Sweet and mysterious | || ||
| ✨ mtram | | :---: | | Calming and peaceful | || ||
| 🕹️ arcade | | :---: | | ⚠️ WARNING! Only For Truest Gamer!! May hurt your eyes!!! | || ||
| ✨ khanhoa | | :---: | | Joyful and adventurous | || ||
| ✨ khlinh | | :---: | | Gentle and wise, truly exceptional | || ||
| 💜 shuri | | :---: | | Radiant love for purple, deeply cherished soul, mah lovely queen 👑 | || ||
⚙️ Current Configurable Settings
You can customize each theme inside ~/.rice-manager/rices and re-apply it (see Change theme below)
- ☑️ Alacirtty theme
- ☑️ Komorebi theme
- ☑️ Zebar theme
- ☑️ Desktop wallpaper based on rice
- ☑️ Vscode theme
- ☑️ Windows light/dark mode based on rice
- ❓ Windows color based on rice
- ❓ Discord theme
- 🚧 Btop theme
- 🚧 under construction
📑 Basic usage
Change theme
- From alacritty terminal use command:
rice <theme-name>
(example:rice meimei
) - Background is selected randomize from rice's wallpaper folder
Useful keybindings
| 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 + 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 + f| Toggle float| |alt + m| Toggle monocide| |alt + x| Flip layout horizontal | |alt + y| Flip layout vertical | |alt + shift + t| Retile | |alt + shift + r| Reload whkd | |ctrl + alt + shift + r| Reload komorebi and zebar |
ℹ️ More keybinding can be found inside ~/.config/whkdrc
📦 Step by Step Installation
Pre-install notices
- 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, which doesn't come with Microsoft Store):
- First download the latest version of winget: https://aka.ms/getwinget
- Then open Powershell and run:
Add-AppxPackage -Path <path to downloaded .msixbundle>
Install Fonts
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)
- CaskaydiaMono Nerd Font Mono
- Monaspace
- Scientifica
- DM Mono
Install chezmoi and apply dotfiles
- Install chezmoi from Winget with:
winget install chezmoi
- Initialize chezmoi and apply the dotfiles with:
chezmoi init --apply aquapaka
Install packages
- After chezmoi apply the dotfiles, the chezmoi source folder could be found in
%userprofile%/.local/share/chezmoi
,install-packages.ps1
file can be found insidescripts
folder - Edit
install-packages.ps1
, comment out packages/apps that are not needed - Run
install-packages.ps1
script with Powershell to install nessesary packages (⚠️ Note: sometime installation could fail, keep re-run the script until all packages has been installed)
Add New Environment Variables
Add those to Path variables
%USERPROFILE%\.local\bin
Restart
- After everything above are done, restart the PC one time to make sure all new program paths are registered.
🚩 Continue below after MSYS2 has been installed through install-packages.ps1 and you have restarted the pc
Change MSYS2 home directory
Edit /c/msys64/etc/nsswitch.conf
db_home: windows
This will set windows user folder as default home directory
Install Zsh
Open MSYS2 UCRT64 and run below command to install zsh
# Update pacman
pacman -Syu
# Open MSYS2 Ucrt64 and install ZSH
pacman -S zsh
Open **MSYS2 UCRT64** and run below command to install zsh
Open Powershell, from your user folder (Example: C:\Users\wasabi>
), 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
# Install Fast Syntax Highlighting Plugin
git clone git clone https://github.com/zdharma-continuum/fast-syntax-highlighting ./.config/zsh/plugins/fast-syntax-highlighting
# Install Autosuggestions Plugin
git clone https://github.com/zsh-users/zsh-autosuggestions ./.config/zsh/plugins/zsh-autosuggestions
# Install History Substring Search Plugin
git clone https://github.com/zsh-users/zsh-history-substring-search ./.config/zsh/plugins/zsh-history-substring-searchpacman -S zsh
Troubleshoot: If git is not recognizable, try close and reopen powershell or check whether git is installed through running ``````install-packages.ps1``` or not.
Install VS Code Theme
Icons:
Themes:
ADDITIONAL: To change vscode UI Font, use this extension: Fonted
Auto start Komorebi at windows start
Open Task scheduler
Choose Create Basic Task...
Enter any name for Komorebi task (example: "Komorebi") then press Next
Trigger: choose When I log on then press Next
Action: Start a program then press Next
- Program/script: paste in
C:\Program Files\komorebi\bin\komorebic.exe
- Add arguments:
start --whkd
- Press Next
- Program/script: paste in
Tick Open the Properties dialog for this task when I click Finish then click Finish
Inside Properties window, set the following settings for each tab:
- General: enable Run with highest privileges (required for Komorebi could manages all windows)
- Conditions: disable/untick everything (including greyed out settings)
- Settings: disable/untick Stop the task if it runs longer than
- Click OK to save and we're good to go
Auto start Zebar at windows start
- Copy
start-zebar.bat
fromscripts
folder - Press Window + R to open Run prompt and type in
shell:startup
and press OK, a startup folder will be opened - Paste
start-zebar.bat
in this startup folder
Optional Tweaks
- Disable windows 11 rounded corners:
- Install windows 11 rounded corners setup: win11-toggle-rounded-corners
- Enable automatically hide the taskbar
- Improve performance and reduce disk utilization for system with high amount of free RAM:
- Run
scripts/high-ram-tuning.ps1
with Powershell
- Run
- Restore old context menu (Require restart):
- Open/Run
scripts/Restore-old-context-menu.reg
- Open/Run
- Fix terminal cursor glitching while typing:
- Run
scripts/terminal-cursor-fix.sh
- Close then re-open terminal
- Run
- Show 'Max cpu freq' in power plan setting, allow changing maximum cpu freqency to attempt lower temperature:
- Run
scripts/show-cpu-frequency-power-plan-setting.ps1
with Powershell
- Run
Other information
- Dotfiles inspired by gh0stzk dotfiles: https://github.com/gh0stzk/dotfiles
- Food script by Xero: https://github.com/xero/dotfiles