fixes/README.md
2026-09-29 17:52:08 +03:00

5.3 KiB

fixes

scripts to help set up KDE, other tweaks.

archinstall scripts should be in this repo for downloading

install yay

Set Up Zsh with Powerlevel10k

1. Install Everything

Install Zsh, Powerlevel10k, plugins, and the Meslo Nerd Font:

yay -S zsh zsh-theme-powerlevel10k zsh-autosuggestions zsh-syntax-highlighting ttf-meslo-nerd

2. Change Your Default Shell to Zsh

chsh -s /bin/zsh

Important: Log out of your account and log back in for the change to take effect.


3. Configure ~/.zshrc

Open your Zsh configuration:

nano ~/.zshrc

Paste the following:

# ─────────────────────────────────────
# Powerlevel10k
# ─────────────────────────────────────

source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme


# ─────────────────────────────────────
# Plugins
# ─────────────────────────────────────

# Autosuggestions
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh

# Syntax highlighting
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh


# ─────────────────────────────────────
# Powerlevel10k configuration
# ─────────────────────────────────────

[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh


# ─────────────────────────────────────
# Completion
# ─────────────────────────────────────

autoload -Uz compinit
compinit

setopt CORRECT
setopt AUTO_CD

zstyle ':completion:*' completer _complete _approximate
zstyle ':completion:*' menu select


# ─────────────────────────────────────
# History
# ─────────────────────────────────────

HISTFILE="$HOME/.zsh_history"
SAVEHIST=10000

setopt APPEND_HISTORY
setopt SHARE_HISTORY
setopt HIST_IGNORE_DUPS
setopt HIST_IGNORE_SPACE

4. Configure Powerlevel10k

Start Zsh:

zsh

Then run:

p10k configure

This launches the Powerlevel10k configuration wizard.

You can re-run it at any time with:

p10k configure

Your configuration will be saved to:

~/.p10k.zsh

5. Configure Konsole Font

In Konsole:

  1. Open Settings → Edit Current Profile
  2. Go to Appearance
  3. Change the terminal font
  4. Select the installed MesloLGS Nerd Font
  5. Apply the changes

The Nerd Font is required for Powerlevel10k's icons and symbols to display correctly.


6. Final Result

After logging back in, your shell should start automatically as Zsh with:

  • ⚡ Powerlevel10k prompt
  • 💡 Command autosuggestions
  • 🎨 Syntax highlighting
  • 📁 AUTO_CD
  • ✏️ Command correction
  • ⌨️ Interactive completion menu
  • 📜 10,000-command history
  • 🔄 Shared history between Zsh sessions

Useful Commands

Reconfigure Powerlevel10k:

p10k configure

Reload your Zsh configuration without restarting the shell:

source ~/.zshrc

Start Zsh manually:

zsh

glhf

install software like gaming: coolercontrol lact occt mangohud mangojuice goverlay lutris heroic launcher steam polymc openrgb openrazer polchromatic amdgputop umu-run wine utilities: ark fastfetch gparted gwenview kcalc spectacle kdesystemmonitor doplhin audio/video: mpv nicotine+ open video downloader audacity browser: brave other: qbtorrent kdeconnect kate btrfs-assistant discord(vencord) onlyoffice or libreoffice filelight

disable kwalletd ~/.config/kwalletrc [Wallet] Enabled=false

set up backups with snapper/timeshift yay -S snapper btrfs-assistant snap-pac grub-btrfs inotify-tools sudo systemctl enable --now grub-btrfsd sudo snapper -c root create-config / # generate a root conf file sudo grub-mkconfig -o /boot/grub/grub.cfg # load the options in grub menu

set up automount of isos in dolphin yay -S dolphin-plugins

set up audio dac to be using correct hz sampling DONE scipt in main pc

add in dolphin corner to see free space available configure > interface > status & location bars > full width && yay -S filelight kwriteconfig6 --file ~/.config/dolphinrc --group General --key ShowStatusBar FullWidth brave enable ublock origin

TLDR ALL GUI PACKAGE MANAGERS SUCK DICK, ONLY ONE USABLE IS PAMAC-AUR and even this shit isnt good

AFTER SETUP

change the look of grub with a theme set up ventoy usb if not already made teach wine basics, prefix, wine version, winetricks, flags stuff like flags, goverlay, fps limiter, undervolt explain swap, compression, zstd adding apps to aplication search

LOG IN TO GIT, MAKE A REPO FOR THIS SHIT