Skip to content

My AwesomeWM, Hyprland configs, and a little bit of KDE.

Notifications You must be signed in to change notification settings

micros24/microLinux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A note on Hyprland...

Hyprland has implemented tearing. However, the tearing implementation makes it so that you use a software cursor. This means that when your game is lagging, the cursor on your screen will only update equal to your fps. It is not independent of your mouse movement. For example, when your game is lagging at 2 fps, the cursor on your screen will only move twice every second. Its placement is determined on how you moved your mouse physically. Another example: If your game is lagging at 0 fps (loading screen, long lag spikes), your cursor on screen will not move, even if you moved your mouse physically. This may not be a significant impact on your gaming preferences, but I like my cursor where I move my mouse and when I move my mouse.

January 31, 2024

Performance on my PC has been better since the last time I used Hyprland. However, the note above still applies and I still notice the occasional lag and therefore, cursor lag. It has come to a point that lag doesn't happen frequently, compared to before, so the cursor lag does not happen as frequently. I'm back to using Hyprland as my main Window Manager.

Installing yay (Yet Another Yogurt) AUR helper

sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Configuring yay

yay -Y --gendb
yay -Y --devel --save
yay --editmenu --nodiffmenu --save

Installing x86_64_v3 repositories

You have two repository choices: CachyOS or ALHP.

CachyOS

Install the CachyOS keyring and its required packages.

sudo pacman-key --recv-keys F3B607488DB35A47 --keyserver keyserver.ubuntu.com
sudo pacman-key --lsign-key F3B607488DB35A47
sudo pacman -U 'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-keyring-3-1-any.pkg.tar.zst' 'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-mirrorlist-18-1-any.pkg.tar.zst' 'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-v3-mirrorlist-18-1-any.pkg.tar.zst' 'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-v4-mirrorlist-6-1-any.pkg.tar.zst' 'https://mirror.cachyos.org/repo/x86_64/cachyos/pacman-6.0.2-16-x86_64.pkg.tar.zst'

Edit pacman.conf to add CachyOS repositories.

sudo nano /etc/pacman.conf
[cachyos-v3]
Include = /etc/pacman.d/cachyos-v3-mirrorlist
[cachyos-core-v3]
Include = /etc/pacman.d/cachyos-v3-mirrorlist
[cachyos-extra-v3]
Include = /etc/pacman.d/cachyos-v3-mirrorlist
[cachyos]
Include = /etc/pacman.d/cachyos-mirrorlist

Update packages to CachyOS repositories.

sudo pacman -Syyuu

ALHP

Install ALHP Keyring.

yay -S alhp-keyring alhp-mirrorlist

Edit pacman.conf to add ALHP repositories.

sudo nano /etc/pacman.conf
[core-x86-64-v3]
Include = /etc/pacman.d/alhp-mirrorlist
[extra-x86-64-v3]
Include = /etc/pacman.d/alhp-mirrorlist
[multilib-x86-64-v3]
Include = /etc/pacman.d/alhp-mirrorlist

Update packages to ALHP repositories.

sudo pacman -Syyuu

Mandatory packages

yay -S xdg-user-dirs xdg-desktop-portal-gtk polkit-gnome pcmanfm-qt-git \
    pavucontrol network-manager-applet bluez bluez-utils blueman sddm-git \
    alacritty flatpak file-roller lximage-qt-git htop xorg-xhost \
    cpupower gopreload-git mpv pacman-contrib reflector ufw mesa timeshift \
    intel-media-driver libva-mesa-driver lib32-libva-mesa-driver gvfs \
    mesa-vdpau lib32-mesa-vdpau vulkan-radeon lib32-vulkan-radeon \
    vulkan-intel lib32-vulkan-intel ananicy-cpp-git irqbalance r8168-dkms \
    pipewire lib32-pipewire pipewire-alsa pipewire-pulse pipewire-jack \
    wireplumber fastfetch cachyos-ananicy-rules-git cachy-browser \
    qt5-wayland libdbusmenu-qt5 gnome-keyring droidcam bluez-obex \
    gvfs-mtp

Installing my Hyprland configs

Waybar is my status bar. Wleave is my logout screen. Wofi is my application runner. wl-clipboard is my clipboard manager. Swaylock is my lockscreen. Grim is my screenshot tool. Mako is my notifications manager.

yay -S xdg-desktop-portal-hyprland-git hyprland-git waybar-git mako \
    grim-git hyprpaper-git wl-clip-persist cliphist nwg-look-bin \
    hyprlock-git wleave-git wofi swayidle-git swappy grimblast-git \
    pamixer wlroots-git hypridle-git hyprcursor-git hyprlang-git \
    hyprwayland-scanner-git

Installing hyprload

dependencies: cpio, ninja, jq

curl -sSL https://raw.githubusercontent.com/Duckonaut/hyprload/main/install.sh | bash

Press SUPER + SHIFT + U to update your hyprland plugin loader

My personal installs

yay -S kvantum firefox qt5ct util-linux bitwarden bleachbit zsh \
    github-cli gimp linux-xanmod-bore linux-xanmod-bore-headers calf meld \
    linux-lts lsp-plugins breeze-snow-cursor pkgstats kdenlive weston-git \
    ffmpegthumbnailer libinput dbus-broker easyeffects psensor corectrl \
    brave-bin libreoffice-still rocm-opencl-runtime intel-compute-runtime \
    perl-image-exiftool modprobed-db-git

flatpak install flathub com.spotify.Client
flatpak install flathub com.github.tchx84.Flatseal
flatpak install flathub org.kde.kwrite

Setting up gaming

Install Mudfish VPN from their website. Install packages from cachyos-gaming-meta.

yay -S --needed vkbasalt lib32-vkbasalt wmctrl protonup-qt proton-cachyos \
    gamemode lib32-gamemode

Open Broadcasting Software (OBS) Studio

yay -S obs-studio-tytan652 obs-vkcapture lib32-obs-vkcapture \
    obs-pipewire-audio-capture libmfx onevpl-intel-gpu

Themeing

Fonts

yay -S ttf-hack ttf-meslo-nerd-font-powerlevel10k ttf-font-awesome \
    ttf-ebgaramond gnu-free-fonts noto-fonts noto-fonts-emoji \
    adobe-source-han-sans-cn-fonts adobe-source-han-sans-jp-fonts \
    adobe-source-han-sans-kr-fonts freetype2 ttf-dejavu ttf-liberation \
    opendesktop-fonts ttf-bitstream-vera cantarell-fonts  ttf-opensans \
    ttf-meslo-nerd noto-fonts-cjk noto-fonts-cjk noto-color-emoji-fontconfig

Installing MiBroSoft fonts

Follow instructions from https://wiki.archlinux.org/title/Microsoft_fonts before installing the package below

ttf-ms-win11

Set the font of your terminal of choice to MesloLGS NF

Theme installation

  • Reversal icon theme
  • Layan-GTK-theme
  • Layan-KDE for Kvantum.
  • Setup your themes and icons using qt5ct, kvantum, and nwg-look.
  • yay -S cachyos-zsh-config
  • Setup your SDDM theme.
  • Setup your wallpaper using nitrogen if using AwesomeWM. Use hyprpaper if using Hyprland.
  • Setup global font to EB Garamond:size:12.

Setup flatpak themes

flatpak run com.github.tchx84.Flatseal

Filesystem:

xdg-config/Kvantum:ro

~/.themes

~/.icons

Environment:

ICON_THEME=Reversal-purple-dark

QT_STYLE_OVERRIDE=kvantum

GTK_THEME=Layan-Dark

Essential configurations

Performance Optimizations

Configuring ufw

sudo ufw default allow outgoing
sudo ufw default deny incoming
sudo ufw enable

Enabling services and timers

psd
systemctl --user enable modprobed-db
systemctl --user enable psd
sudo systemctl enable sddm.service
sudo systemctl enable NetworkManager.service
sudo systemctl enable bluetooth.service
sudo systemctl enable cpupower.service
sudo systemctl enable gopreload.service
sudo systemctl enable udisks2.service
sudo systemctl enable ufw.service
sudo systemctl enable irqbalance.service
sudo systemctl enable ananicy-cpp.service
sudo systemctl enable reflector.service
sudo systemctl enable paccache.timer
sudo systemctl enable fstrim.timer

Configuring your ICC profiles

dispwin

sudo pacman -S argyllcms
dispwin -d 1 '/home/micro/Documents/Monitor Drivers/KA242Y.icm' &

Set-up monitor EDID

sudo mkdir /usr/lib/firmware/edid/
cp edid-HDMI.bin /usr/lib/firmware/edid/

Set-up CoreCtrl

https://gitlab.com/corectrl/corectrl/-/wikis/Setup

Setup preload

gopreload-prepare org.kde.kwrite
gopreload-prepare alacritty
gopreload-prepare pcmanfm-qt
gopreload-prepare lximage-qt

Setting SDDM to Wayland

/etc/sddm.conf.d/10-wayland.conf

[General]
DisplayServer=wayland

About

My AwesomeWM, Hyprland configs, and a little bit of KDE.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published