- Add GDK_BACKEND=x11 to desktop entry for Wayland compatibility - Create shell alias for command-line launches - Automatically configure during installation - Prevents X Window System crashes on Wayland sessions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| config | ||
| dotfiles | ||
| fonts | ||
| .gitignore | ||
| DRACULA_THEME.md | ||
| install-vmware-workstation.sh | ||
| install.sh | ||
| README.md | ||
CachyOS Setup Scripts
A collection of installation and setup scripts for CachyOS Linux, featuring modern CLI tools, shell environment setup with Dracula theming, and system configuration scripts.
Scripts
Shell Environment Setup
A comprehensive shell environment setup script featuring modern CLI tools, Dracula theming, and a beautiful terminal experience.
File: install.sh
Features
Modern CLI Tools
- eza - Modern replacement for
lswith git integration and icons - bat - Better
catwith syntax highlighting (Dracula theme) - fd - Faster and more user-friendly alternative to
find - ripgrep (rg) - Ultra-fast text search tool
- fzf - Command-line fuzzy finder (Dracula theme)
- zoxide - Smarter
cdcommand with frecency - dust - Intuitive
dureplacement - duf - User-friendly
dfalternative - procs - Modern
psreplacement - btop - Beautiful system monitor
- sd - Intuitive
sedalternative - delta - Syntax-highlighting git diff viewer
- atuin - Magical shell history with search and sync
- tealdeer - Fast tldr client for quick command examples
- hyperfine - Command-line benchmarking tool
- tokei - Code statistics tool
Development Tools
- neovim - Modern vim-based text editor
- NvChad - Blazing fast Neovim config
- lazygit - Simple terminal UI for git
- starship - Fast, customizable prompt (Dracula theme)
- yazi - Blazing fast terminal file manager
- zellij - Terminal workspace with layouts (Dracula theme)
- navi - Interactive cheatsheet tool
Shell Environment
- zsh - Powerful shell with Oh-My-Zsh
- oh-my-zsh - Framework for managing zsh configuration
- zsh-syntax-highlighting - Fish-like syntax highlighting
- zsh-autosuggestions - Fish-like autosuggestions
- Ghostty - Fast, native terminal emulator (Dracula theme)
VMware Workstation Installation
File: install-vmware-workstation.sh
Automated installation script for VMware Workstation on CachyOS. This script:
- Installs VMware Workstation from the official bundle
- Builds kernel modules (vmmon, vmnet) with clang/lld to match CachyOS kernel
- Loads kernel modules and starts services
- Verifies installation
Prerequisites
- CachyOS Linux
- VMware Workstation bundle file (download from VMware website)
- Root/sudo access
Usage
# Download VMware Workstation bundle from https://www.vmware.com/products/workstation-pro.html
# Make the script executable
chmod +x install-vmware-workstation.sh
# Run with sudo (auto-detects bundle in ~/Downloads)
sudo ./install-vmware-workstation.sh
# Or specify bundle path explicitly
sudo ./install-vmware-workstation.sh /path/to/VMware-Workstation-Full-*.bundle
What it does
- Checks for required packages (kernel headers, build tools, clang, lld)
- Installs missing dependencies via pacman
- Runs VMware Workstation installer
- Builds vmmon and vmnet kernel modules using clang (matching CachyOS kernel compiler)
- Installs and loads kernel modules
- Enables and starts VMware services
- Verifies everything is working
Troubleshooting
If the installation fails:
-
Check kernel headers are installed:
pacman -Q linux-cachyos-headers -
Verify build tools:
pacman -Q base-devel clang lld -
Check VMware service status:
systemctl status vmware -
Verify kernel modules:
lsmod | grep -E "vmmon|vmnet"
Shell Environment Installation
Prerequisites
- A fresh CachyOS installation (or Arch-based distro)
- Internet connection
- sudo privileges
Quick Install
- Copy this entire
cachyos-setupdirectory to your new machine - Open a terminal and navigate to the directory:
cd cachyos-setup - Run the installation script:
./install.sh - Follow the prompts and let the script do its magic!
What the Script Does
The installation script will:
- ✅ Detect your package manager (pacman or apt)
- ✅ Update system packages
- ✅ Install core system packages
- ✅ Install Rust and Cargo
- ✅ Install all Cargo-based tools
- ✅ Set up Oh-My-Zsh with plugins
- ✅ Install JetBrains Mono Nerd Font
- ✅ Set up Neovim with NvChad
- ✅ Install Ghostty terminal
- ✅ Install lazygit and btop
- ✅ Copy all dotfiles and configs (with backup)
- ✅ Configure Ghostty with Dracula theme
- ✅ Set up bat, delta, and atuin
- ✅ Change default shell to zsh
Note: The script will automatically backup your existing configurations to ~/.config_backup_<timestamp>/
Contributing
Feel free to submit issues or pull requests for improvements.
License
MIT License - Feel free to use and modify these scripts.
Enjoy your CachyOS setup! 🚀