Skip to content

aquapaka/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ™ My Ricing Dotfiles for Windows 11

Yes it's Windows

GitHub Release GitHub Actions Workflow Status GitHub License Discord

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
meimei-1
meimei-2
✨ tlinh
Sweet and mysterious
tlinh-1
tlinh-2
✨ mtram
Calming and peaceful
mtram-1
mtram-2
πŸ•ΉοΈ arcade
⚠️ WARNING! Only For Truest Gamer!! May hurt your eyes!!!
arcade-1
arcade-2
✨ khanhoa
Joyful and adventurous
khanhoa-1
khanhoa-2
✨ khlinh
Gentle and wise, truly exceptional
khlinh-1
khlinh-2
πŸ’œ shuri
Radiant love for purple, deeply cherished soul, mah lovely queen πŸ‘‘
shuri-1
shuri-2

βš™οΈ 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

  • 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, 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> to install winget

Install Fonts

Font need to be download and install manually (Windows is planning to allows installing fonts from winget. Stay tune!):

Install chezmoi and apply dotfiles

  • Install chezmoi from Winget with: winget install chezmoi
  • Initialize chezmoi and apply the dotfiles with: chezmoi init --apply aquapaka (Might need close and reopen powershell, or restart the pc for chezmoi command to be recognizable)

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 inside scripts 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 %USERPROFILE%\.local\bin to Path variable (This is needed for some utilities like btop, colorscript and winfetch to be recognize):
    • image
    • image
    • image
    • image

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

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

    komorebi-task-scheduler

  • 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 from scripts 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:
  • 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
  • Restore old context menu (Require restart):
    • Open/Run scripts/Restore-old-context-menu.reg
  • Fix terminal cursor glitching while typing:
    • Run scripts/terminal-cursor-fix.sh
    • Close then re-open terminal
  • 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

Other information