244 lines
5 KiB
Markdown
244 lines
5 KiB
Markdown
# fixes
|
|
|
|
scripts to help set up KDE, other tweaks.
|
|
|
|
archinstall scripts should be in this repo for downloading
|
|
|
|
|
|
# install yay
|
|
```
|
|
sudo pacman -S --needed git base-devel
|
|
git clone https://aur.archlinux.org/yay.git
|
|
cd yay
|
|
makepkg -si
|
|
```
|
|
|
|
|
|
# Set Up Zsh with Powerlevel10k
|
|
|
|
## 1. Install Everything
|
|
|
|
Install Zsh, Powerlevel10k, plugins, and the Meslo Nerd Font:
|
|
|
|
```bash
|
|
yay -S zsh zsh-theme-powerlevel10k zsh-autosuggestions zsh-syntax-highlighting ttf-meslo-nerd
|
|
```
|
|
|
|
---
|
|
|
|
## 2. Change Your Default Shell to Zsh
|
|
|
|
```bash
|
|
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:
|
|
|
|
```bash
|
|
nano ~/.zshrc
|
|
```
|
|
|
|
Paste the following:
|
|
|
|
```zsh
|
|
# ─────────────────────────────────────
|
|
# 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:
|
|
|
|
```bash
|
|
zsh
|
|
```
|
|
|
|
Then run:
|
|
|
|
```bash
|
|
p10k configure
|
|
```
|
|
|
|
This launches the Powerlevel10k configuration wizard.
|
|
|
|
You can re-run it at any time with:
|
|
|
|
```bash
|
|
p10k configure
|
|
```
|
|
|
|
Your configuration will be saved to:
|
|
|
|
```text
|
|
~/.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.
|
|
|
|
---
|
|
|
|
|
|
### Useful Commands
|
|
|
|
Reconfigure Powerlevel10k:
|
|
|
|
```bash
|
|
p10k configure
|
|
```
|
|
|
|
Reload your Zsh configuration without restarting the shell:
|
|
|
|
```bash
|
|
source ~/.zshrc
|
|
```
|
|
|
|
Start Zsh manually:
|
|
|
|
```bash
|
|
zsh
|
|
```
|
|
|
|
# SOFTWARE
|
|
|
|
## gaming:
|
|
```
|
|
yay -S coolercontrol lact occt mangohud mangojuice goverlay lutris heroic-games-launcher steam polymc openrgb openrazer polychromatic amdgpu_top umu-run wine
|
|
```
|
|
## utilities:
|
|
```
|
|
yay -S ark fastfetch gparted gwenview kcalc spectacle plasma-systemmonitor dolphin
|
|
```
|
|
## audio/video:
|
|
```
|
|
yay -S mpv nicotine+ open-video-downloader-bin audacity
|
|
```
|
|
## browser:
|
|
```
|
|
yay -S brave-bin
|
|
```
|
|
## other:
|
|
```
|
|
yay -S qbittorrent kdeconnect kate btrfs-assistant discord onlyoffice-bin libreoffice-fresh filelight
|
|
```
|
|
|
|
discord needs vencord
|
|
```
|
|
sh -c "$(curl -sS https://vencord.dev/install.sh)"
|
|
```
|
|
|
|
# disable kwalletd
|
|
```
|
|
echo -e "[Wallet]\nEnabled=false" > ~/.config/kwalletrc
|
|
```
|
|
|
|
|
|
# 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
|
|
```
|
|
|
|
# Setting up audio DAC
|
|
```
|
|
chmod +x audio.sh
|
|
./audio.sh
|
|
```
|
|
|
|
|
|
# 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
|
|
|
|
# POST SETUP
|
|
|
|
1. change the look of grub with a theme
|
|
2. ventoy usb
|
|
3. teach wine basics, prefix, wine version, winetricks, flags
|
|
4. stuff like flags, goverlay, fps limiter, undervolt
|
|
5. explain swap, compression, zstd
|
|
6. adding apps to aplication search
|