Skip to content

cxOrz/dotfiles-hyprland

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hyprland & ArchLinux

My daily-use config, collected from the Internet and customized for myself.

Reference: https://wiki.hyprland.org/

showcase1

showcase2

Dependencies

You are supposed to have hyprland already installed. And I'm using Nvidia Card, some configurations are specific to Nvidia card!

uwsm # Universal Wayland Session Manager
kitty # Terminal
dunst # Notification
waybar-hyprland-git # Top Bar
brightnessctl # Screen brightness command line utils
pavucontrol # GUI pulseaudio controller
pipewire
pipewire-pulse # Audio
pipewire-alsa
wireplumber
hyprpaper # Wallpaper
hyprlock # lockscreen
hyprpicker # Color picker
grim # screenshot - Screenshot utility for Wayland
slurp # screenshot - select a region from Wayland compositors
wofi # application launcher
cliphist # clipboard
thunar # File explorer
gvfs # Show Trash, Computer and other devices in thunar
gtk4 # Necessary for Chrome to use Fcitx5
seahorse # Password Manager
gnome-keyring # Store secrets, passwords, keys, certificates
hyprpolkitagent # Authentication Agent
qt6-wayland # Hyprland Need
qt5-wayland # Hyprland Need
qt5ct # Hyprland Need
xdg-desktop-portal-gtk # Chrome needed, choose file & upload something
xdg-desktop-portal-hyprland-git # Screen Sharing
nvidia-vaapi-driver # Nvidia vaapi driver, for hardware acceleration

Config

Here are few config options need to be set, to make apps run flawlessly.

Fcitx5 + Rime

Chinese input method config. Show Details.

Chromium

  • Google Chrome ~/.config/chrome-flags.conf
  • VSCode ~/.config/code-flags.conf
# Only use one of the 2 sections!!!
# For wayland native with buggy hardware acceleration
--use-angle=vulkan
--ozone-platform-hint=wayland
--enable-wayland-ime
--enable-gpu-rasterization
--enable-zero-copy
--ignore-gpu-blocklist

# For xwayland with hardware acceleration
--enable-features=UseOzonePlatform,AcceleratedVideoDecodeLinuxGL,AcceleratedVideoEncoder,VaapiVideoDecoder,VaapiIgnoreDriverChecks,Vulkan,DefaultANGLEVulkan,VulkanFromANGLE
--ozone-platform-hint=x11
--enable-gpu-rasterization
--enable-zero-copy
--ignore-gpu-blocklist

SDDM

If you are using hybrid card (Intel+Nvidia), sddm might not showing on the external screen when you using HDMI, which can be solved by the following conifg:

# /usr/share/sddm/scripts/Xsetup
xrandr --setprovideroutputsource modesetting NVIDIA-0

/etc/sddm.conf

[General]
Numlock=on

Dark Theme

Install flat-remix-gtk theme or any you want.

Set as the current theme and prefer-dark preference:

gsettings set org.gnome.desktop.interface gtk-theme Flat-Remix-GTK-Blue-Darkest
gsettings set org.gnome.desktop.interface color-scheme prefer-dark