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 = truetoinput{}in~/.config/hypr/hyprland.conf - Authorization:
polkit-gnome, then addexec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1to~/.config/hypr/hyprland.conf - Desktop Manager (Could this be called Desktop?):
sddm, then$ sudo systemctl enable sddm
# System
linux-flowx13specific kernel for ROG Flow X13SWAPFILEcreation: https://wiki.archlinux.org/title/Swap#Swap_filerog-control-centerwlogoutAUR: logout menubtop: resource monitorntp: time synchronizationfirefox: browserbetterfox
# Appearance
-
Theme Control:
qt5ct qt6ctxfce4-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-effectin~/.config/hypr/hyprland.confSwaylock-effectconfiguration:~/.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 = waybarto~/.config/hypr/hyprland.confwaybarconfiguration 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.conffont_family Fira Codescrollback_lines 8192foreground greenbackground_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 areain~/.config/hypr/hyprland.conf- Copy2Clipboard:
wl-clipboard
- Copy2Clipboard:
- Edit:
krita(hand draw friendly)inkscape(vectorize image friendly, especially for researcher who need.svgimage)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-appletto 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:
zoteroAURBetter BibTeX for ZoteroOth- 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-gitAUR - PDF Notation:
mupdf (tesseract-data-eng)xournalpp
# Social
- Email:
thunderbird# evolution evolution-on - Chat:
telegram-desktop discord - Meeting:
zoomAUR - Discord:
webcordAUR
# Game
-
Steam:
steam- enable
multilib:/etc/pacman.conf-[multilib]- uncommentInclude = /etc/pacman.d/mirrorlist, then refresh:$ sudo pacman -Syy
- enable
-
osu-lazerAUR -
prismlauncherAUR