12/05/2023-Updated: I have written a script for autoconfiguration. Uploaded to dot files below.
This is a record of some fixes for some bugs that I encounter, dot files, and the packages that I am using.
Dot files could be found in https://github.com/zayn7lie/dot-files
# Install
Easy to install: $ sudo pacman -S hyprland
# Config
# Basic
# IO
- Disable Mouse Acceleration: add
force_no_accel = true
toinput{}
in~/.config/hypr/hyprland.conf
- Authorization:
polkit-gnome
, then addexec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
to~/.config/hypr/hyprland.conf
- Desktop Manager (Could this be called Desktop?):
sddm
, then$ sudo systemctl enable sddm
# System
linux-flowx13
specific kernel for ROG Flow X13SWAPFILE
creation: https://wiki.archlinux.org/title/Swap#Swap_filerog-control-center
wlogout
AUR: logout menubtop
: resource monitorntp
: time synchronizationfirefox
: browserbetterfox
# Appearance
-
Theme Control:
qt5ct qt6ct
xfce4-settings
- Set
/etc/environment
:QT_QPA_PLATFORMTHEME=qt5ct
- Set
-
Screen Lock:
swaylock-effect
, then bind hotkey usingbind = $mainMod, L, exec, swaylock # lock the screen: swaylock-effect
in~/.config/hypr/hyprland.conf
Swaylock-effect
configuration:~/.config/swaylock/config
-
background/Wallpaper:
swaybg
, then addexec-once = swaybg -m fill -i ?{~/Pictures/Wallpapers/ArchLinux.png}
to~/.config/hypr/hyprland.conf
(?{}
is the path to your background picture) -
Topbar
:waybar
, then addexec-once = waybar
to~/.config/hypr/hyprland.conf
waybar
configuration file:~/.config/waybar/config
-
Fonts:
ttf-ubuntu-font-family
,ttf-fira-code
,noto-fonts noto-fonts-cjk noto-fonts-emoji
,ttf-nerd-fonts-symbols-mono
-
Icons:
papirus-icon-theme
-
Terminal:
kitty
~/.config/kitty/kitty.conf
font_family Fira Code
scrollback_lines 8192
foreground green
background_opacity 0.7
- BUG: Not display properly while using SSH: Add
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
to~/.bashrc
# Media
# Image
- Screenshot: AUR
grimblast-git
, then bind hotkey:bind = $mainMod SHIFT, S, exec, env XDG_SCREENSHOTS_DIR=$HOME/Pictures/Screenshot grimblast copysave area
in~/.config/hypr/hyprland.conf
- Copy2Clipboard:
wl-clipboard
- Copy2Clipboard:
- Edit:
krita
(hand draw friendly)inkscape
(vectorize image friendly, especially for researcher who need.svg
image)gimp
(editor friendly) - view:
nsxiv
- Preview:
tumbler ffmpegthumbnailer
# Audio
-
Basis:
pipewire-pulse pipewire-alsa pipewire-jack pipewire alsa-utils
-
Music Player:
audacious
-
Music editing:
audacity
-
Noise suppression:
noise-suppression-for-voice
:-
~/.config/pipewire/pipewire.conf.d/99-input-denoising.conf
, then$ systemctl restart --user pipewire.service
:context.modules = [ { name = libpipewire-module-filter-chain args = { node.description = "Noise Canceling source" media.name = "Noise Canceling source" filter.graph = { nodes = [ { type = ladspa name = rnnoise plugin = /usr/lib/ladspa/librnnoise_ladspa.so label = noise_suppressor_mono control = { "VAD Threshold (%)" = 50.0 "VAD Grace Period (ms)" = 200 "Retroactive VAD Grace (ms)" = 0 } } ] } capture.props = { node.name = "capture.rnnoise_source" node.passive = true audio.rate = 48000 } playback.props = { node.name = "rnnoise_source" media.class = Audio/Source audio.rate = 48000 } } } ]
-
-
Bluetooth:
bluez bluez-utils blueman
, then addblueman-applet
to config
# Video
- Editor:
blender
# Work
# Input
- Method:
fcitx5
-
Basis:
fcitx5-im fcitx5-chinese-addons
-
GUI:
fcitx5-nord
-
/etc/environment
:GTK_IM_MODULE=fcitx QT_IM_MODULE=fcitx XMODIFIERS=@im=fcitx SDL_IM_MODULE=fcitx
-
# Writing
- Code:
code
- GitHub Login: install
gnome-keyring
,/usr/share/applications/code-oss.desktop
:Exec=/usr/bin/code-oss --unity-launch --password-store="gnome" %F
- GitHub Login: install
- Paper:
zotero
AURBetter BibTeX for Zotero
Oth- Google Style Cite Key:
Citation Key Formula
:auth.lower + year + shorttitle(1).lower
Fields to omit from export
:month, abstract, langid, file
- Google Style Cite Key:
- Blog:
hugo
- Dictionary:
goldendict-ng-git
AUR - PDF Notation:
mupdf (tesseract-data-eng)
xournalpp
# Social
- Email:
thunderbird
# evolution evolution-on
- Chat:
telegram-desktop discord
- Meeting:
zoom
AUR - Discord:
webcord
AUR
# Game
-
Steam:
steam
- enable
multilib
:/etc/pacman.conf
-[multilib]
- uncommentInclude = /etc/pacman.d/mirrorlist
, then refresh:$ sudo pacman -Syy
- enable
-
osu-lazer
AUR -
prismlauncher
AUR