custom-hypr - chore: update way to do after udpate kernel on arch

This commit is contained in:
huyjaky
2024-09-29 12:50:37 +07:00
parent bc0e99d522
commit 1c69ffd077
8 changed files with 567 additions and 942 deletions

View File

@@ -4,29 +4,29 @@ install conda nvm nvim
use for reconfig grub for fix stuck at initial ramdisks:
how does i get out stuck at initial ramdisk:
first, access local os:
```bash
mount /dev/sda2 /mnt
mount /dev/sda1 /mnt/boot
arch-chroot /mnt/
```
-idk how its work but do same thing below
-> change file name from grub.cfg to grub.cfg.off
second, remove all initframs and vmlinuz, amd-ucode on `\boot`
third, copy each vmlinuz from `usr\lib\modules` to boot
example:
```bash
mv grub.cfg grub.cfg.off
```
-> reboot and reboot command grub command line:
```bash
grub>reboot
cp \usr\lib\modules\6.10.10-lts..\vmlinuz \boot\vmlinuz-linux-lts
```
-> rename grub.cfg.off to grub.cfg
```bash
mv grub.cfg.off grub.cfg
```
remember install linux-zen-headers and linux-headers idk but but just do it
forth, check on `etc\modprob.d` have any file `.conf` if it exist remove it
fifth, reinstall amd-ucode `pacman -S amd-ucode`
six, run `mkinitcpio -P`
done!
-> recopy newest vmlinuz from /usr/lib/modules/<latest kerner>/vmlinuz /boot/vmlinuz-linux -> do for all linux kernel vmware
-> reinstall amd-ucode pacman -S amd-ucode

View File

@@ -1,3 +1,486 @@
sudo pacman -S tmux
sudo yay -S oh-my-posh
yay -S oh-my-posh
yay -S fzf neofetch
yay -S pokemon-colorscripts
yay -S tpm
yay -Q tpnm
yay -Q tpm
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
tmux
tmat
tmat huy
tmux ls
tmat duckq
tmux kill-session -t duckq
yay -S brave
yay -S tmux
tmux source ~/.tmux.conf
vim .tmux.conf
yay -R tmux
yay -R tpm
cd kitty
yay -S eza
sudo mkdir -p /usr/share/fonts/truetype/custom
cd Downloads/JetBrainsMono
cd VictorMono
sudo cp ./*.ttf /usr/share/fonts/truetype/custom/\
sudo fc-cache -fv
sudo pacman -S python-pip
mkdir -p ~/miniconda3\
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh\
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3\
rm ~/miniconda3/miniconda.sh
conda init zsh
tmdt
yay -R neofetch
conda -v
conda env -list
conda create -n pytorch
vim .zshrc
kitty list-fonts
fc-list
vim kitty.conf
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
nvm list
pip install neovim
pip install neovim --break-system-packages
npm install neovim
yay -S wl-copy
yay -S wl-clipboard
cargo install tree-sitter-cli
yay -S ripgrep lazygit bottom
btm
yay -S gdu
git clone --depth 1 https://github.com/AstroNvim/template ~/.config/nvim\
rm -rf ~/.config/nvim/.git\
nvim
yay -S neovim
git clone https://github.com/huyjaky/AstroVim_Config.git
cd AstroVim_Config
git checkout astro-nvim-v3
sudo modprobe msr cpuid
yay -S zenstates-git
sudo zenstates -p 0 -f a2 -d 8 -v 23
sudo zenstates -p 1 -f a2 -d A -v 23
sudo zenstates -p 2 -f a2 -d C -v 23
sudoedit /etc/modules-load.d/cpu.conf
sudo vim /etc/modules-load.d/cpu.conf
touch zenstates.py
sudo cp ./zenstates.py /usr/local/bin/
sudo chmod +x /usr/local/bin/zenstates.py
sudo chmod +x /usr/loca/bin/enable-pstates
sudo vim /usr/local/bin/enable-pstates
sudo chmod +x /usr/local/bin/enable-pstates
sudo vim /etc/systemd/system/ryzen-overclock.service
sudo systemctl daemon-reload
sudo systemctl enable ryzen-overclock
sudo systemctl start ryzen-overclock
yay -S brave
cd .config/hyprland
yay -S cloudflare-warp-bin && sudo systemctl enable warp-svc --now
warp-cli registration new
cd /etc
cd modprobe.d
touch amdgpu.conf
sudo touch amdgpu.conf
vim amdgpu.conf
sudo touch radeon.conf
sudo reboot
sudo pacman -S qt5-base
sudo pacman -S qt6-base
pip install pandas
pip install pandas --break-system-packages
mkdir Projects
mkdir AIO_practices
cd nvim
sudo pacman -S jupyterlab
jupyter lab
sudo pacman -R jupyterlab
sudo pacman -R jupyter-server
pokemon-colorscripts -n charizard -s
pokemon-colorscripts -n charizard \
pokemon-colorscripts
yay -R pokemon-colorscripts-git
yay -S pokeshell
pokeshell -h
pokeshell -b charizard-mega-x
yay -R pokeshell
pokemon-colorscripts -h
pokemon-colorscripts -n charizard -f mega-x
cks
rm -rf huy_nho_lam.drawio huy_nho_lam\ \(1\).drawio
wla
sudo pacman -S mesa-git
sudo pacman -S mesa
nv amdgpu.conf
sudo pacman -S amd-ucode
cd grub
nv grub.cfg
htop
reboot
uname -sr
cd /etc/pacman.d
sudo pacman -Q kite
xfconf-query -c xfce4-session -p /general/SaveOnExit -s false
cd /etc/xdg/Xwayland-session.d
sudo vim /etc/pacman.conf
cd /boot
sudo pacman -Q linux
sudo pacman -Syu
sudo pacman -S cmake meson cpio
hyprpm update
hyprpm add https://github.com/hyprwm/hyprland-plugins
sudo pacman patitionmanager
sudo pacman -S partitionmanager
pip list
yay
yay -v
yay --version
sudo pacman -Syu
sudo pacman -S --needed git base-devel\
git clone https://aur.archlinux.org/yay.git\
cd yay\
makepkg -si
yay --version
yay -S clang17
yay -v
yay -S guiscrcpy
yay -S pokemon-colorscripts-git
sudo pacman -S gnome-boxes
cd images
rm -rf boxes-unknown-2
gdu
nvv
clsss
cd /boot/grub
sudo vim grub.cfg
yay -Syu
electron -v
sudo pacman -S electron
cd /etc/modprobe.d
sudo vim radeon.conf
sudo vim amdgpu.conf
sudo pacman -S corectrl
yay -S hyprland-git
hyprpm list
nv AIO_practices
yay -S genymotion
genymotion
yay -R genymotion
cd .local/share/gnome-boxes/images
conda create -n opengl python=3.9
conda install -c conda-force gcc=12.1.0
conda install -c conda-force gcc=12.1
conda install -c conda-forge gcc=12.1.0
pip install p5 --break-system-packages
pip install PyOpenGL==3.1.1a1 --break-system-packages
rs
mkdir compute_graphic
cd compute_graphic
touch cohen_sutherland.py
git clone https://github.com/huggingface/transformers/tree/174890280b340b89c5bfa092f6b4fb0e2dc2d7fc/src/transformers/models/blip_2
mkdir blip_2
curl https://downgit.evecalm.com/#/home?url=https://github.com/huggingface/transformers/tree/174890280b340b89c5bfa092f6b4fb0e2dc2d7fc/src/transformers/models/blip_2
log
ssh -T git@github.huy
ssh -T git@github.long
git remote set-url origin git@github.com:huyjaky/AstroVim_Config.git
git remote set-url origin git@github.huy:huyjaky/AstroVim_Config.git
cd ags
cd pro
git clone https://github.com/end-4/dots-hyprland.git
cd dots-hyprland
echo huy
git clone https://github.com/MisterZtr/recovery_device_realme_RMX3700.git
cd recovery_device_realme_RMX3700
git clone https://github.com/realme-sm7125/platform_device_realme_sm7125-common.git
cd platform_device_realme_sm7125-common
rm platform_device_realme_sm7125-common
rm -rf platform_device_realme_sm7125-common
git clone https://github.com/LineageOS/android_device_realme_sm6375-common.git
mkdir source_for_gtneo5se
git clone https://github.com/realme-kernel-opensource/realme_GTneo5SE_5G-AndroidU-vendor-source.git
git clone https://github.com/realme-kernel-opensource/realme_GTneo5SE_5G-AndroidU-kernel-source.git
cd realme_GTneo5SE_5G-AndroidU-kernel-source
sudo pacman -Q java
which java
sudo pacman -sS java | grep jre
conda create -n java-android
conda install -c conda-forge openjdk=11
java --version
conda activate pytorch
mkdir realme_GTneo5SE_5G-sm7475-common
git add remote origin git@github.huy:huyjaky/device_tree_neo5se.git
git remote add origin git@github.huy:huyjaky/device_tree_neo5se.git
conda activate java-android
cd /run/media/duckq1u/Android
sudo pacman -S repo
repo
mkdir Android
cd Android
git config user.email huyphanuyg@gmail.com
git config user.name huyjaky
git config --global user.email huyphanuyg@gmail.com
git config --global user.name huyjaky
repo init -u https://github.com/LineageOS/android.git -b lineage-21.0 --git-lfs
repo sync
cd /run/media/duckq1u/Downloads
cd source_for_gtneo5se
cd realme_GTneo5SE_5G-sm7475-common
git commit -m 'master - create vendorsetup.sh'
cd android_device_realme_sm6375-common
rm -rf android_device_realme_sm6375-common recovery_device_realme_RMX3700
cd blip_2
yay -S obsidian
mkdir obsidian
rm -rf init_vault
export OBSIDIAN_USE_WAYLAND=1
obsidian
OBSIDIAN_USE_WAYLAND=1 obsidian
rm -rf com.microsoft.msedge_117.2045.65_und3fined com.microsoft.msedge_117.2045.65_und3fined.ipa v3.1713931372640.119.RMX3701.cls\(RMX3701\)
cd blip_2/blip_2
warp-cli connect
curl https://www.cloudflare.com/cdn-cgi/trace/
gdu
cd /run/media/duckq1u/GOW
htop
sudo pacman -S tranmission-qt
sudo pacman -S transmission-qt
git clone git@github.huy:huyjaky/TeamVault.git
git add.
lz
git branch -m Papers
git commit -m 'Papers - init paper'
git branch -m Notebooks
git commit -m 'Notebooks - init noteboooks'
git branch -m ListRecommendModel
git commit -m 'ListRecommendModel - init docs'
git push origin ListRecommendModel
mkdir MobileNet
cd MobileNet
git clone https://github.com/junaidaliop/MobileNetV4.git
cd MobileNetV4
git clone https://github.com/kuan-wang/pytorch-mobilenet-v3.git
cd pytorch-mobilenet-v3
git branch -m TempBranch
git commit -m 'Temp - ignore conflict'
git push origin TempBranch
git merge Notebooks
git merge TempBranch
git commit -m 'Notebooks - add xml roberta & mobilenet'
cd Blip-2
cd blip_2_lavis_original_source
cd blip_2_huggingface
mkdir blip_2_source_code_lavis
cd blip_2_
cd blip_2_source_code_lavis
git commit -m 'Notebooks - add blip 2 code'
touch meeting.txt
cd tem
git commit -m 'Notebooks - add clip source code from gpt'
git push origin Notebooks
cd Papers
mv 2103.00020v1.pdf clip.pdf
git add .
git commit -m 'Papers - add clip'
git push origin Papers
git clone https://github.com/tugrulhkarabulut/K-Means-Clustering.git
cd k
cd K-Means-Clustering
cd ex1w03
cls n
cd aio
cls nv
cd Downloads
nautilus .
pip install --upgrade numpy PyOpenGL PyOpenGL_accelerate\
pip install numpy==1.21.0\
pip install numpy
pip install numpy=2.0.0
pip install numpy==2.0.0
pip install numpy==1.26.4
nnv
cd AIO_
sudo zenstates -l
journalctl -p err\
ls
a
nvm
sudo pacman -Q sql
sudo pacman -Q node
sudo pacman -Q vs
yay -S vscodium
git add ,.
git remote add origin git@github.huy:huyjaky/obsidian_aio.git
git commit -m 'master - init '
git commit -m 'master - change welcome'
cd .ssh
ssh-add ~/.ssh/huy_private_key
git reset .
git commit -m 'master - change welcome 2'
zsh
nvv
zsh
git commit -m 'master - change welcome 3'
cd. .ssh
cd .ssh
rm -rf .git
cd obsidian
cd AIO
git commit -m 'master - backup'
git config --global http.postBuffer 157286400
git push origin master
pip install matplotlib
pip install matplotlib seaborn
conda env list
cdd ..
cd AIO_practices/
cd .config/nvim
git commit -m 'astro-nvim-v3 - change color schemes'
git push origin astro-nvim-v3
eval "$(ssh-agent -s)"
python3 ./ToMau/ScanlineFill.py
mv ThaiLyHan_22AD014_Lab2,3 temp
cd temp
conda activate opengl
export DISPLAY=:0.1
export DISPLAY=:0.0
sudo pacman -S libreoffice-fresh
rm -rf ThaiLyHan_22AD014_Lab2,3
cd ThaiLyHan_22AD014_Lab2,3
sudo pacman -S freeglut\
cd obsidian/AIO/PDF/Papers
git clone git@github.huy:huyjaky/TeamVault.git --depth=-1
git clone git@github.huy:huyjaky/TeamVault.git
git checkout Papers
cd ..
cd hh
setxkbmap vn -variant vni
cd /etc/default/
touch keyboard
sudo touch keyboard
sudo vim keyboard
sudo dpkg-reconfigure keyboard-configuration
sudo rm -rf keyboard
cd /etc/X11
sudo vim xorg.conf.d/00-keyboard.conf
touch temp.py
nv temp.py
cd /etc/default
sudo dpkg-reconfigure keyboard-configuration\
hyprctl switchxkblayout
cd /usr/share/X11/xkb/rules/
nv base.lst
sudo pacman -S ibus
ibus-daemon -rxRd
sudo pacman -S python-gobject ibus\
ibus-setup
hh
brave
sudo pacman -Q ibus
sudo pacman -R ibus-bamboo
sudo pacman -R ibus
sudo pacman -S fcitx5
cd /etc/
sudo vim environment
sudo pacman -S fcitx5-qt fcitx5-gtk
sudo yay -S fcitx5-qt
sudo pacman -S fcitx5-configtool
pacman -Sy gnome-browser-connector
sudo pacman -Sy gnome-browser-connector
sudo pacman -R fcitx5-configtool fcitx5-gtk fcitx5-qt fcitx5-unikey fcitx5
sudo pacman -S ibus
yay -S ibus-bamboo
sudo vim /etc/environment
vim .gtkrc-2.0
rm .gtkrc-2.0
touch .gtkrc-2.0
nv .gtkrc-2.0
cd .config
cd gtk-3.0
ls
cd..
cd gtk-4.0
touch settings.ini
nv settings.ini
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/IMModule':<'fcitx'>}"
sudo pacman -S fcitx5-im
yay -S fcitx5-unikey
sudo pacman -S gnome-shell-extensions
im-config
obsidian --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime
sudo pacman -S xorg xorg-server
brave --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime
brave --enable-features=UseOzonePlatform --ozone-platform=wayland --gtk-version=4
l
cd .config/kitty
cd AIO_practices
cd AIO_ex
cd obsidian/AIO
git remote -v
yay -S appflowy
appflowy
yay -R appflowy
sudo pacman -Q appflowy
sudo pacman -R appflowy-beta-bin
cd /home/duckq1u/.var/app/io.appflowy.AppFlowy/data/AppFlowy/data_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk/376169664654348288
yay -S affine
sudo pacman -R affine
yay -Q affine
yay -R affine-bin
docs
cd Projects
la
rm -rf Papers
cd CLIP
cd ..
rm -rf TeamVault
mkdir TeamVault
cd TeamVault
git init
git remote add origin git@github.huy:huyjaky/TeamVault.git
git clone https://github.com/openai/CLIP.git
la
git branch -m CLIP/huy
git commit -m 'clipV1.0'
git push origin CLIP/huy
git branch -m CLIP/han
git add .
git pull
git push origin CLIP/han
git branch -m CLIP/phuc
git status
git push origin CLIP/phuc
lz
cls
shutdown
nv
obsidian --no-sandbox --ozone-platform=wayland --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations %U
yay -Y vesktop
sudo pacman -Q vesktop
yay -S vekstop
sudo yay -R vesktop
yay -Q vesktop
yay -S vekstop
yay -S vesktop
yay -Syu
obsidian
vesktop
vesktop
cd .config/hypr
cls
nv
hh
nv .zshrc
brew
yay -S oh-my-posh
touch .tmux.conf
@@ -343,6 +826,32 @@ hh
cd .config/hypr
nv
exit
: 1727588130:0;cd custom
: 1727588131:0;la
: 1727588137:0;cd ..
: 1727588138:0;la
: 1727588140:0;nv
: 1727588151:0;docs
: 1727588153:0;cd Projects
: 1727588154:0;la
: 1727588160:0;cd te
: 1727588163:0;cd temo
: 1727588165:0;cd temp
: 1727588166:0;la
: 1727588169:0;cd ..
: 1727588171:0;rm -rf temp
: 1727588247:0;cls
: 1727588284:0;git clone git@github.com:huyjaky/AstroVim_Config.git
: 1727588304:0;git clone git@github.huy:huyjaky/AstroVim_Config.git
: 1727588312:0;cd AstroVim_Config
: 1727588314:0;nv
: 1727588325:0;lz
: 1727588334:0;nv
: 1727588692:0;hh
: 1727588693:0;cd .config/hypr
: 1727588725:0;cp custom/* ~/Documents/Projects/AstroVim_Config
: 1727588769:0;hh
: 1727588772:0;nv .histfile
: 1723180965:0;tmdt
: 1723180966:0;cls
: 1723180984:0;tmat duckq
@@ -488,3 +997,4 @@ exit
: 1723203676:0;nv .zsh_history
: 1723203693:0;nv .zshrc
: 1723203729:0;cp .histfile config_backup/nvim/backupconfig
: 1727588882:0;cp .histfile ~/Documents/Projects/AstroVim_Config/backupconfig

View File

@@ -2,6 +2,10 @@
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# zmodload zsh/zprof
# export TERM=screen-256color
export PYOPENGL_PLATFORM=osmesa
# export GTK_IM_MODULE=fcitx
# export QT_IM_MODULE=fcitx
# export XMODIFIERS=@im=fcitx
SESSION_NAME="duckq"
@@ -76,16 +80,8 @@ zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath'
zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'ls --color $realpath'
# HACK: Alias config area
alias rs='zsh'
alias nv='nvim'
alias lz='lazygit'
# alias cls='clear'
cls(){
clear
neofetch
}
# alias la='eza --color=always --long --git --no-filesize --icons=always --no-time --no-permissions -a'
alias la='eza -a --icons=always --color=always --git'
alias hh='cd ~'
@@ -93,6 +89,20 @@ alias tmat='tmux at -t'
alias tmdt='tmux detach'
alias showport='sudo lsof -i -P -n | grep LISTEN'
alias shutdown='sudo shutdown -h +60'
alias docs='cd ~/Documents/'
appearance(){
pokemon-colorscripts -n charizard -f mega-x
cat ~/.conda/environments.txt
}
cls(){
clear
appearance
}
rs(){
zsh
appearance
}
reloadbar(){
exec
killall ags ydotool
@@ -105,12 +115,10 @@ alias listpkg='pacman -Qm'
# HACK: Init command
#
neofetch
# Display Pokemon-colorscripts
# Project page: https://gitlab.com/phoneybadger/pokemon-colorscripts#on-other-distros-and-macos
pokemon-colorscripts --no-title -s -r
pokemon-colorscripts -n charizard -f mega-x
cat ~/.conda/environments.txt
echo ~/usr/base
# HACK: Keybindings
bindkey '^g' autosuggest-accept
@@ -120,7 +128,6 @@ bindkey '^[w' kill-region
# zprof
# conda env list
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# >>> conda initialize >>>
@@ -129,10 +136,10 @@ __conda_setup="$('/home/duckq1/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/duckq1/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/duckq1/miniconda3/etc/profile.d/conda.sh"
if [ -f "/home/duckq1u/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/duckq1u/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/duckq1/miniconda3/bin:$PATH"
export PATH="/home/duckq1u/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup

View File

@@ -1,904 +0,0 @@
# Source: https://github.com/Chick2D/neofetch-themes/
# Made by https://github.com/Dan1jel
# Customization Wiki https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
# info title
# info underline
prin "\n"
# prin "\n \n " "$(curl wttr.in/?0?q?T | awk '/°(C|F)/ {printf $(NF-1) $(NF) " ("a")"} /,/ {a=$0}')"
prin "${cl9}┌──────────────────────────────────────┐"
# info underline
info "\n \n " distro
# info "\n \n " model
info "\n \n " kernel
info "\n \n " uptime
# info "\n \n 󰏗" packages
info "\n \n " shell
# info "\n \n " resolution
# info "\n \n " de
# info "\n \n " wm
# info "\n \n 󰔎"wm_theme
info "\n \n 󰔎"theme
# info "\n \n " icons
info "\n \n " term
info "\n \n " term_font
info "\n \n " cpu
# info "\n \n 󰊚" gpu
info "\n \n " memory
# info "GPU Driver" gpu_driver # Linux/macOS only
# info "CPU Usage" cpu_usage
info "\n \n " disk
# info "\n \n 󰂄" battery
# info "\n \n " font
# info "\n \n " song
# [[ "$player" ]] && prin "\n \n " "$player"
info "\n \n 󰈀" local_ip
# info "Public IP" public_ip
#
# pokemon-colorscripts --no-title -s -r
prin "${cl9}└───────────────────── ${cl0} ${cl1} ${cl2} ${cl3} ${cl4} ${cl5} ${cl6} $(color 15) ${cl9}┘"
# info "Users" users
# info "Locale" locale # This only works on glibc systems.
# info cols
prin "\n"
# prin "\n \n ${cl0}──${cl1}────${cl2}────${cl3}────${cl4}────${cl5}────${cl6}────${cl7}──"
#
# prin "\n \n \n \n \n \n ${cl0}⬤ \n \n ${cl1}⬤ \n \n ${cl2}⬤ \n \n ${cl3}⬤ \n \n ${cl4}⬤ \n \n ${cl5}⬤ \n \n ${cl6}⬤ \n \n ${cl7}⬤"
prin "\n${huy_text}\n"
prin ~/usr/base
}
huy_text=$(cat /home/duckq1/.conda/environments.txt)
reset="\033[0m"
gray="\033[1;90m"
red="\033[1;31m"
green="\033[1;32m"
yellow="\033[1;33m"
blue="\033[1;34m"
magenta="\033[1;35m"
cyan="\033[1;36m"
white="\033[1;37m"
cl0="${gray}"
cl1="${red}"
cl2="${green}"
cl3="${yellow}"
cl4="${blue}"
cl5="${magenta}"
cl6="${cyan}"
cl7="${white}"
cl9="${reset}"
# Title
# Hide/Show Fully qualified domain name.
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --title_fqdn
title_fqdn="off"
# Kernel
# Shorten the output of the kernel function.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --kernel_shorthand
# Supports: Everything except *BSDs (except PacBSD and PC-BSD)
#
# Example:
# on: '4.8.9-1-ARCH'
# off: 'Linux 4.8.9-1-ARCH'
kernel_shorthand="on"
# Distro
# Shorten the output of the distro function
#
# Default: 'off'
# Values: 'on', 'tiny', 'off'
# Flag: --distro_shorthand
# Supports: Everything except Windows and Haiku
distro_shorthand="off"
# Show/Hide OS Architecture.
# Show 'x86_64', 'x86' and etc in 'Distro:' output.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --os_arch
#
# Example:
# on: 'Arch Linux x86_64'
# off: 'Arch Linux'
os_arch="off"
# Uptime
# Shorten the output of the uptime function
#
# Default: 'on'
# Values: 'on', 'tiny', 'off'
# Flag: --uptime_shorthand
#
# Example:
# on: '2 days, 10 hours, 3 mins'
# tiny: '2d 10h 3m'
# off: '2 days, 10 hours, 3 minutes'
uptime_shorthand="tiny"
# Memory
# Show memory pecentage in output.
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --memory_percent
#
# Example:
# on: '1801MiB / 7881MiB (22%)'
# off: '1801MiB / 7881MiB'
memory_percent="on"
# Change memory output unit.
#
# Default: 'mib'
# Values: 'kib', 'mib', 'gib'
# Flag: --memory_unit
#
# Example:
# kib '1020928KiB / 7117824KiB'
# mib '1042MiB / 6951MiB'
# gib: ' 0.98GiB / 6.79GiB'
memory_unit="mib"
# Packages
# Show/Hide Package Manager names.
#
# Default: 'tiny'
# Values: 'on', 'tiny' 'off'
# Flag: --package_managers
#
# Example:
# on: '998 (pacman), 8 (flatpak), 4 (snap)'
# tiny: '908 (pacman, flatpak, snap)'
# off: '908'
package_managers="on"
# Shell
# Show the path to $SHELL
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --shell_path
#
# Example:
# on: '/bin/bash'
# off: 'bash'
shell_path="off"
# Show $SHELL version
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --shell_version
#
# Example:
# on: 'bash 4.4.5'
# off: 'bash'
shell_version="on"
# CPU
# CPU speed type
#
# Default: 'bios_limit'
# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'.
# Flag: --speed_type
# Supports: Linux with 'cpufreq'
# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value.
speed_type="bios_limit"
# CPU speed shorthand
#
# Default: 'off'
# Values: 'on', 'off'.
# Flag: --speed_shorthand
# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz
#
# Example:
# on: 'i7-6500U (4) @ 3.1GHz'
# off: 'i7-6500U (4) @ 3.100GHz'
speed_shorthand="off"
# Enable/Disable CPU brand in output.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --cpu_brand
#
# Example:
# on: 'Intel i7-6500U'
# off: 'i7-6500U (4)'
cpu_brand="on"
# CPU Speed
# Hide/Show CPU speed.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --cpu_speed
#
# Example:
# on: 'Intel i7-6500U (4) @ 3.1GHz'
# off: 'Intel i7-6500U (4)'
cpu_speed="on"
# CPU Cores
# Display CPU cores in output
#
# Default: 'logical'
# Values: 'logical', 'physical', 'off'
# Flag: --cpu_cores
# Support: 'physical' doesn't work on BSD.
#
# Example:
# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores)
# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores)
# off: 'Intel i7-6500U @ 3.1GHz'
cpu_cores="logical"
# CPU Temperature
# Hide/Show CPU temperature.
# Note the temperature is added to the regular CPU function.
#
# Default: 'off'
# Values: 'C', 'F', 'off'
# Flag: --cpu_temp
# Supports: Linux, BSD
# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable
# coretemp kernel module. This only supports newer Intel processors.
#
# Example:
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
# off: 'Intel i7-6500U (4) @ 3.1GHz'
cpu_temp="off"
# GPU
# Enable/Disable GPU Brand
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --gpu_brand
#
# Example:
# on: 'AMD HD 7950'
# off: 'HD 7950'
gpu_brand="on"
# Which GPU to display
#
# Default: 'all'
# Values: 'all', 'dedicated', 'integrated'
# Flag: --gpu_type
# Supports: Linux
#
# Example:
# all:
# GPU1: AMD HD 7950
# GPU2: Intel Integrated Graphics
#
# dedicated:
# GPU1: AMD HD 7950
#
# integrated:
# GPU1: Intel Integrated Graphics
gpu_type="all"
# Resolution
# Display refresh rate next to each monitor
# Default: 'off'
# Values: 'on', 'off'
# Flag: --refresh_rate
# Supports: Doesn't work on Windows.
#
# Example:
# on: '1920x1080 @ 60Hz'
# off: '1920x1080'
refresh_rate="off"
# Gtk Theme / Icons / Font
# Shorten output of GTK Theme / Icons / Font
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --gtk_shorthand
#
# Example:
# on: 'Numix, Adwaita'
# off: 'Numix [GTK2], Adwaita [GTK3]'
gtk_shorthand="on"
# Enable/Disable gtk2 Theme / Icons / Font
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --gtk2
#
# Example:
# on: 'Numix [GTK2], Adwaita [GTK3]'
# off: 'Adwaita [GTK3]'
gtk2="on"
# Enable/Disable gtk3 Theme / Icons / Font
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --gtk3
#
# Example:
# on: 'Numix [GTK2], Adwaita [GTK3]'
# off: 'Numix [GTK2]'
gtk3="on"
# IP Address
# Website to ping for the public IP
#
# Default: 'http://ident.me'
# Values: 'url'
# Flag: --ip_host
public_ip_host="http://ident.me"
# Public IP timeout.
#
# Default: '2'
# Values: 'int'
# Flag: --ip_timeout
public_ip_timeout=2
# Desktop Environment
# Show Desktop Environment version
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --de_version
de_version="on"
# Disk
# Which disks to display.
# The values can be any /dev/sdXX, mount point or directory.
# NOTE: By default we only show the disk info for '/'.
#
# Default: '/'
# Values: '/', '/dev/sdXX', '/path/to/drive'.
# Flag: --disk_show
#
# Example:
# disk_show=('/' '/dev/sdb1'):
# 'Disk (/): 74G / 118G (66%)'
# 'Disk (/mnt/Videos): 823G / 893G (93%)'
#
# disk_show=('/'):
# 'Disk (/): 74G / 118G (66%)'
#
disk_show=('/storage/emulated' '/' '/server')
# Disk subtitle.
# What to append to the Disk subtitle.
#
# Default: 'mount'
# Values: 'mount', 'name', 'dir', 'none'
# Flag: --disk_subtitle
#
# Example:
# name: 'Disk (/dev/sda1): 74G / 118G (66%)'
# 'Disk (/dev/sdb2): 74G / 118G (66%)'
#
# mount: 'Disk (/): 74G / 118G (66%)'
# 'Disk (/mnt/Local Disk): 74G / 118G (66%)'
# 'Disk (/mnt/Videos): 74G / 118G (66%)'
#
# dir: 'Disk (/): 74G / 118G (66%)'
# 'Disk (Local Disk): 74G / 118G (66%)'
# 'Disk (Videos): 74G / 118G (66%)'
#
# none: 'Disk: 74G / 118G (66%)'
# 'Disk: 74G / 118G (66%)'
# 'Disk: 74G / 118G (66%)'
disk_subtitle="none"
# Disk percent.
# Show/Hide disk percent.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --disk_percent
#
# Example:
# on: 'Disk (/): 74G / 118G (66%)'
# off: 'Disk (/): 74G / 118G'
disk_percent="on"
# Song
# Manually specify a music player.
#
# Default: 'auto'
# Values: 'auto', 'player-name'
# Flag: --music_player
#
# Available values for 'player-name':
#
# amarok
# audacious
# banshee
# bluemindo
# clementine
# cmus
# deadbeef
# deepin-music
# dragon
# elisa
# exaile
# gnome-music
# gmusicbrowser
# gogglesmm
# guayadeque
# io.elementary.music
# iTunes
# juk
# lollypop
# mocp
# mopidy
# mpd
# muine
# netease-cloud-music
# olivia
# playerctl
# pogo
# pragha
# qmmp
# quodlibet
# rhythmbox
# sayonara
# smplayer
# spotify
# strawberry
# tauonmb
# tomahawk
# vlc
# xmms2d
# xnoise
# yarock
music_player="auto"
# Format to display song information.
#
# Default: '%artist% - %album% - %title%'
# Values: '%artist%', '%album%', '%title%'
# Flag: --song_format
#
# Example:
# default: 'Song: Jet - Get Born - Sgt Major'
song_format="%artist% - %album% - %title%"
# Print the Artist, Album and Title on separate lines
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --song_shorthand
#
# Example:
# on: 'Artist: The Fratellis'
# 'Album: Costello Music'
# 'Song: Chelsea Dagger'
#
# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger'
song_shorthand="off"
# 'mpc' arguments (specify a host, password etc).
#
# Default: ''
# Example: mpc_args=(-h HOST -P PASSWORD)
mpc_args=()
# Text Colors
# Text Colors
#
# Default: 'distro'
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
# Flag: --colors
#
# Each number represents a different part of the text in
# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info'
#
# Example:
# colors=(distro) - Text is colored based on Distro colors.
# colors=(4 6 1 8 8 6) - Text is colored in the order above.
# colors=(7 7 7 7 8 250)
colors=(7 7 7 7 7 7)
# Text Options
# Toggle bold text
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --bold
bold="on"
# Enable/Disable Underline
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --underline
underline_enabled="on"
# Underline character
#
# Default: '-'
# Values: 'string'
# Flag: --underline_char
underline_char="-"
# Info Separator
# Replace the default separator with the specified string.
#
# Default: ':'
# Flag: --separator
#
# Example:
# separator="->": 'Shell-> bash'
# separator=" =": 'WM = dwm'
#separator=" "
separator=" "
# Color Blocks
# Color block range
# The range of colors to print.
#
# Default: '0', '15'
# Values: 'num'
# Flag: --block_range
#
# Example:
#
# Display colors 0-7 in the blocks. (8 colors)
# neofetch --block_range 0 7
#
# Display colors 0-15 in the blocks. (16 colors)
# neofetch --block_range 0 15
block_range=(0 15)
# Toggle color blocks
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --color_blocks
color_blocks="on"
# Color block width in spaces
#
# Default: '3'
# Values: 'num'
# Flag: --block_width
block_width=3
# Color block height in lines
#
# Default: '1'
# Values: 'num'
# Flag: --block_height
block_height=1
# Color Alignment
#
# Default: 'auto'
# Values: 'auto', 'num'
# Flag: --col_offset
#
# Number specifies how far from the left side of the terminal (in spaces) to
# begin printing the columns, in case you want to e.g. center them under your
# text.
# Example:
# col_offset="auto" - Default behavior of neofetch
# col_offset=7 - Leave 7 spaces then print the colors
col_offset="auto"
# Progress Bars
# Bar characters
#
# Default: '-', '='
# Values: 'string', 'string'
# Flag: --bar_char
#
# Example:
# neofetch --bar_char 'elapsed' 'total'
# neofetch --bar_char '-' '='
bar_char_elapsed="-"
bar_char_total="="
# Toggle Bar border
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --bar_border
bar_border="on"
# Progress bar length in spaces
# Number of chars long to make the progress bars.
#
# Default: '15'
# Values: 'num'
# Flag: --bar_length
bar_length=15
# Progress bar colors
# When set to distro, uses your distro's logo colors.
#
# Default: 'distro', 'distro'
# Values: 'distro', 'num'
# Flag: --bar_colors
#
# Example:
# neofetch --bar_colors 3 4
# neofetch --bar_colors distro 5
bar_color_elapsed="distro"
bar_color_total="distro"
# Info display
# Display a bar with the info.
#
# Default: 'off'
# Values: 'bar', 'infobar', 'barinfo', 'off'
# Flags: --cpu_display
# --memory_display
# --battery_display
# --disk_display
#
# Example:
# bar: '[---=======]'
# infobar: 'info [---=======]'
# barinfo: '[---=======] info'
# off: 'info'
cpu_display="off"
memory_display="off"
battery_display="off"
disk_display="off"
# Backend Settings
# Image backend.
#
# Default: 'ascii'
# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off',
# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty'
# Flag: --backend
image_backend="ascii"
# Image Source
#
# Which image or ascii file to display.
#
# Default: 'auto'
# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")'
# Flag: --source
#
# NOTE: 'auto' will pick the best image source for whatever image backend is used.
# In ascii mode, distro ascii art will be used and in an image mode, your
# wallpaper will be used.
image_source="/home/duckq1/.config/neofetch/logo"
# Ascii Options
# Ascii distro
# Which distro's ascii art to display.
#
# Default: 'auto'
# Values: 'auto', 'distro_name'
# Flag: --ascii_distro
# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS",
# "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs,
# ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock,
# Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD,
# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS,
# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover,
# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin,
# DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary,
# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD,
# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo,
# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra,
# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion,
# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite,
# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva,
# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib,
# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner,
# NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba,
# OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD,
# Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint,
# popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix,
# Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan,
# Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific,
# Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz,
# SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS,
# openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails,
# Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio,
# Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin,
# and IRIX have ascii logos
# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants.
# Use '{distro name}_old' to use the old logos.
# NOTE: Ubuntu has flavor variants.
# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME,
# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors.
# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu,
# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android,
# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola,
# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS,
# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian,
# postmarketOS, and Void have a smaller logo variant.
# Use '{distro name}_small' to use the small variants.
ascii_distro="auto"
# Ascii Colors
#
# Default: 'distro'
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
# Flag: --ascii_colors
#
# Example:
# ascii_colors=(distro) - Ascii is colored based on Distro colors.
# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors.
ascii_colors=(distro)
# Bold ascii logo
# Whether or not to bold the ascii logo.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --ascii_bold
ascii_bold="on"
# Image Options
# Image loop
# Setting this to on will make neofetch redraw the image constantly until
# Ctrl+C is pressed. This fixes display issues in some terminal emulators.
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --loop
image_loop="off"
# Thumbnail directory
#
# Default: '~/.cache/thumbnails/neofetch'
# Values: 'dir'
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
# Crop mode
#
# Default: 'normal'
# Values: 'normal', 'fit', 'fill'
# Flag: --crop_mode
#
# See this wiki page to learn about the fit and fill options.
# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F
crop_mode="normal"
# Crop offset
# Note: Only affects 'normal' crop mode.
#
# Default: 'center'
# Values: 'northwest', 'north', 'northeast', 'west', 'center'
# 'east', 'southwest', 'south', 'southeast'
# Flag: --crop_offset
crop_offset="center"
# Image size
# The image is half the terminal width by default.
#
# Default: 'auto'
# Values: 'auto', '00px', '00%', 'none'
# Flags: --image_size
# --size
image_size="auto"
# Gap between image and text
#
# Default: '3'
# Values: 'num', '-num'
# Flag: --gap
gap=2
# Image offsets
# Only works with the w3m backend.
#
# Default: '0'
# Values: 'px'
# Flags: --xoffset
# --yoffset
yoffset=0
xoffset=0
# Image background color
# Only works with the w3m backend.
#
# Default: ''
# Values: 'color', 'blue'
# Flag: --bg_color
background_color=
# Misc Options
# Stdout mode
# Turn off all colors and disables image backend (ASCII/Image).
# Useful for piping into another command.
# Default: 'off'
# Values: 'on', 'off'
stdout="off"

View File

@@ -1,6 +1,6 @@
# install from nerdfont
font_family JetBrainsMono NFM Bold
font_family JetBrainsMonoNL NF SemiBold
# bold_font JetBrainsMonoNF
italic_font VictorMono NF SemiBold Italic
@@ -17,6 +17,8 @@ repaint_delay 0
sync_to_monitor yes
wayland_enable_ime no
enable_audio_bell no
# Disable tab bar
tab_bar_edge none
@@ -29,6 +31,11 @@ map ctrl+shift+up none
map ctrl+shift+down none
map ctrl+shift+n none
map cmd+c copy_to_clipboard
map cmd+v paste_from_clipboard
map ctrl+shift+s paste_from_selection
background #000000
foreground #ffffff
cursor #bbbbbb

View File

@@ -1,4 +1,4 @@
# You can make apps auto-start here
# Relevant Hyprland wiki section: https://wiki.hyprland.org/Configuring/Keywords/#executing
#
# exec-once = fcitx5 -d
exec-once = corectrl

View File

@@ -12,10 +12,10 @@ decoration {
}
input {
# kb_layout = us,vn
# kb_variant = ','
kb_layout = us
kb_variant = ,qwerty
# kb_options = grp:alt_shift_toggle
kb_options = grp:win_space_toggle
repeat_delay = 155
repeat_rate = 55
}

View File

@@ -43,7 +43,6 @@ bind = Ctrl+Alt, K, movewindow, u # [hidden]
bind = Ctrl+Alt, J, movewindow, d # [hidden]
bind = Ctrl+Alt, M, exec, pavucontrol # Launch pavucontrol (volume mixer)
bind = Alt, O, killactive,
bind = Alt, Q, killactive,
bind = Alt, F, fullscreen, 1
@@ -54,8 +53,14 @@ bind = Alt, N, exec, ags -t 'sideright' # Toggle right sidebar
bind = Alt, T, exec, kitty
bind = Alt, B, exec, brave
bind = Alt, O, exec, obsidian --no-sandbox --ozone-platform=wayland --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations %U
bind = Alt, V, exec, vesktop --no-sandbox --ozone-platform=wayland --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations %U
bindl= Super, J, exec, playerctl previous # Previous track
bindl= Super, P, exec, playerctl play-pause # Play/pause media
# bind = Ctrl+Super+Shift, Right, movetoworkspace, +1 # [hidden]
bind = Shift+Alt, L, focusmonitor, 1
bind = Shift+Alt, H, focusmonitor, 0
bindl= Super, H, exec, playerctl previous # Previous track
bindl= Super, L, exec, playerctl play-pause # Play/pause media
bindl= Super, K, exec, playerctl next || playerctl position `bc <<< "100 * $(playerctl metadata mpris:length) / 1000000 / 100"` # Next track