.config | ||
.librewolf | ||
.pacman-hooks | ||
.scripts | ||
AppData/Local/Packages/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe/LocalState | ||
Documents | ||
.gitignore | ||
.zshenv | ||
MISC.md | ||
pacman-packages.txt | ||
README.md | ||
vscode-extensions.txt | ||
winget-packages.json |
dotfiles
WIP
Overview
Extraction of color scheme from current wallpaper: Matugen
Arch Linux
- Compositor: Hyprland
Windows 11
- Window Manager: GlazeWM
Color scheme is currently applied to:
- GlazeWM
- Pywalfox
- Vencord
- Vesktop
- Windows
- Windows Terminal
Installation
Required packages
Arch Linux
Using an AUR helper:
paru -S 7zip blueman bottom chafa cliphist eww fastfetch git grim hyprcursor hypridle hyprland hyprland-qtutils hyprlock hyprpaper jq kitty librewolf-bin networkmanager network-manager-applet nm-connection-editor noto-fonts noto-fonts-cjk noto-fonts-emoji oh-my-zsh-git otf-font-awesome pacman-contrib pavucontrol pipewire-alsa pipewire-jack pipewire-pulse polkit-gnome python-dasbus python-pywalfox-librewolf rose-pine-cursor rose-pine-hyprcursor slurp socat swaync swayosd-git ttf-jetbrains-mono-nerd udiskie wallust wl-clipboard wlogout wofi xdg-desktop-portal-hyprland zoxide zsh zsh-autosuggestions
Optional packages:
paru -S betterdiscordctl discord element-desktop openrgb rose-pine-gtk-theme-full syncthing thunderbird
Windows 11
Open a PowerShell Window as administrator: Right-click on Windows logo -> Terminal (administrator).
Install required packages through WinGet:
winget install Git.Git --override "/SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /o:SSHOption=ExternalOpenSSH"
winget install --silent glzr-io.glazewm LibreWolf.LibreWolf Microsoft.PowerShell Python.Python.3.13 Rustlang.Rust.MSVC vim.vim
Install Visual Studio 2022 C++ Build Tools and Windows 11 SDK (required for compiling Matugen):
winget install Microsoft.VisualStudio.2022.Community --override "--wait --quiet --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows11SDK.26100"
Retrieve updated Path
environment variable to get the cargo
command:
$Env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
Install Matugen through cargo:
cargo install matugen
To get the matugen
command, add %UserProfile%\.cargo\bin
to the Path
user environment variable:
Type systempropertiesadvanced
in PowerShell or Start Menu -> Environment variables -> User variables section -> Edit Path -> New.
Install DesktopManager
Windows PowerShell (not PowerShell 7) module (used to set wallpaper):
powershell.exe "Install-Module -Name DesktopManager"
Install Pywalfox:
pip install pywalfox
pywalfox install
Install the Pywalfox add-on for Firefox/LibreWolf/Thunderbird as desired.
Install Python websockets for .scripts\glazewm-autotiling.py
:
pip install websockets
To run GlazeWM on startup, either:
Create a shortcut to the shell:startup
directory:
$WshShell = New-Object -COMObject WScript.Shell
$Shortcut = $WshShell.CreateShortcut($Env:AppData + "\Microsoft\Windows\Start Menu\Programs\Startup\GlazeWM.lnk")
$Shortcut.TargetPath = $Env:ProgramFiles\glzr.io\GlazeWM\cli\glazewm.exe
$Shortcut.Arguments = "start"
$Shortcut.Save()
Or create a scheduled task which triggers at logon (starts GlazeWM faster but needs to be run as administrator):
$Action = New-ScheduledTaskAction -Execute "glazewm.exe" -Argument "start"
$Trigger = New-ScheduledTaskTrigger -AtLogon
$Task = New-ScheduledTask -Action $Action -Trigger $Trigger
Register-ScheduledTask "StartGlazeWMAtLogon" -InputObject $Task
Run setx MOZ_DISABLE_SAFE_MODE_KEY 1
or the keybinding to start LibreWolf (Win + Shift + F) will not work properly.
Optional applications with keybindings/configs:
winget install --silent Element.Element Fastfetch-cli.Fastfetch Helix.Helix Mozilla.Thunderbird ShareX.ShareX Syncthing.Syncthing Vencord.Vesktop
Repository setup
Define temporary alias (included in PowerShell 7 & Zsh configs):
# PowerShell
function Alias-Cfg { git --git-dir=$HOME\.dotfiles --work-tree=$HOME $Args }; New-Alias -Name cfg -Value Alias-Cfg
# Unix Shell
alias cfg="git --git-dir=$HOME/.dotfiles --work-tree=$HOME"
Clone the repository:
git init --bare "$HOME\.dotfiles" --initial-branch main
cfg config --local status.showUntrackedFiles no
cfg remote add --fetch origin https://git.ahur.ac/Viyurz/dotfiles.git
cfg branch --set-upstream-to=origin/main main
cfg pull
Create the file .config/rice-cs/config.toml
, based on the example in .config/rice-cs/config.toml.example
.
Note: If you are not using the default paths for XDG_CONFIG_HOME
and/or XDG_CACHE_HOME
, you need to update the output path for templates in .config/matugen/config.toml
.
Re-login to apply the new configuration.