Last active
January 11, 2025 15:29
-
-
Save arvigeus/94aa126100fd612be67425bad9110148 to your computer and use it in GitHub Desktop.
Archinstall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo usermod -aG wheel arvigeus | |
echo "%wheel ALL=(ALL:ALL) ALL" | sudo tee /etc/sudoers.d/wheel | |
echo "%wheel ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/99_wheel_nopasswd | |
sudo chmod 440 /etc/sudoers.d/wheel | |
sudo chmod 440 /etc/sudoers.d/99_wheel_nopasswd | |
sudo pacman -S --needed --noconfirm ufw | |
sudo systemctl enable ufw --now | |
sudo ufw allow 1714:1764/tcp | |
sudo ufw allow 1714:1764/udp | |
sudo ufw enable | |
# Chaotic AUR | |
sudo pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com | |
sudo pacman-key --lsign-key 3056513887B78AEB | |
sudo pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' | |
sudo pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst' | |
echo -e "\n[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist\n" | sudo tee -a /etc/pacman.conf | |
sudo pacman -Sy | |
sudo pacman -S --needed --noconfirm chaotic-aur/paru | |
sudo pacman -S --needed --noconfirm pacman-contrib | |
paru -S pacman-static informant check-broken-packages-pacman-hook-git pacdiff-pacman-hook-git reflector-pacman-hook-git sync-pacman-hook-git pacman-log-orphans-hook | |
sudo pacman -S --needed --noconfirm flatpak xdg-desktop-portal | |
flatpak remote-add flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo | |
# https://wiki.archlinux.org/title/AMDGPU | |
# https://wiki.archlinux.org/title/Vulkan | |
sudo pacman -S --needed --noconfirm amd-ucode mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon amdvlk lib32-amdvlk mesa lib32-mesa vulkan-icd-loader lib32-vulkan-icd-loader vulkan-mesa-layers lib32-vulkan-mesa-layers fwupd | |
sudo pacman -S --needed --noconfirm rocm-opencl-runtime rocm-hip-runtime | |
mkdir -p ~/.config/environment.d | |
echo "AMD_VULKAN_ICD=RADV" > ~/.config/environment.d/vulkan.conf | |
echo 'AMD_VULKAN_ICD=RADV' >> ~/.bashrc | |
systemctl --user daemon-reload | |
# MESA_VK_DEVICE_SELECT=list vulkaninfo | |
# https://wiki.archlinux.org/title/Mkinitcpio#Possibly_missing_firmware_for_module_XXXX | |
## NOTE: Possibly missing firmware for module: 'qat_420xx' | |
## See more: https://aur.archlinux.org/packages/mkinitcpio-firmware | |
sudo pacman -S --needed --noconfirm linux-firmware linux-firmware-qlogic | |
paru -S --noconfirm upd72020x-fw wd719x-firmware ast-firmware aic94xx-firmware | |
# https://asus-linux.org/guides/arch-guide/ | |
sudo pacman-key --recv-keys 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35 | |
sudo pacman-key --finger 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35 | |
sudo pacman-key --lsign-key 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35 | |
sudo pacman-key --finger 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35 | |
echo -e "\n[g14]\nServer = https://arch.asus-linux.org\n" | sudo tee -a /etc/pacman.conf | |
sudo pacman -Sy | |
sudo pacman -S --needed --noconfirm asusctl power-profiles-daemon supergfxctl switcheroo-control | |
sudo systemctl enable --now power-profiles-daemon.service rog-control-center chaotic-aur/lact-libadwaita | |
paru -S --noconfirm ryzenadj | |
sudo systemctl enable --now supergfxd | |
sudo systemctl enable --now switcheroo-control | |
# mkdir -p ~/.config/autostart | |
# ln -s /usr/share/applications/rog-control-center.desktop ~/.config/autostart/rog-control-center.desktop | |
sudo pacman -S --needed --noconfirm plymouth | |
sudo pacman -S --needed --noconfirm chaotic-aur/snapper-support chaotic-aur/btrfs-assistant | |
# https://wiki.archlinux.org/title/Steam | |
# https://wiki.archlinux.org/title/Gaming | |
# https://wiki.archlinux.org/title/Improving_performance | |
# https://wiki.archlinux.org/title/Gamescope | |
paru -S --noconfirm brew-git | |
sudo pacman -S --needed --noconfirm steam steam-native-runtime gamemode gamescope mangohud lib32-mangohud goverlay seatd wine-nine ttf-liberation lib32-fontconfig wqy-zenhei vkd3d lib32-vkd3d giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse libgpg-error lib32-libgpg-error alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo sqlite lib32-sqlite libxcomposite lib32-libxcomposite libxinerama lib32-libxinerama libgcrypt lib32-libgcrypt ncurses lib32-ncurses ocl-icd lib32-ocl-icd libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader cups dosbox lib32-opencl-icd-loader opencl-icd-loader | |
echo "vm.max_map_count = 2147483642" | sudo tee /etc/sysctl.d/80-gamecompatibility.conf | |
sudo sysctl --system | |
flatpak install -y flathub net.lutris.Lutris | |
flatpak install -y flathub com.heroicgameslauncher.hgl | |
flatpak install -y flathub com.github.Matoking.protontricks | |
flatpak install -y flathub net.davidotek.pupgui2 | |
flatpak install -y flathub com.valvesoftware.Steam | |
flatpak install -y flathub org.freedesktop.Platform.VulkanLayer.gamescope | |
# https://wiki.archlinux.org/title/Mpv | |
# https://wiki.archlinux.org/title/VLC_media_player | |
sudo pacman -S --needed --noconfirm mpv mpv-shim-default-shaders vlc yt-dlp ffmpeg mkvtoolnix-cli kodi | |
mkdir -p ~/.config/mpv | |
ln -s /usr/share/mpv-shim-default-shaders/shaders/ ~/.config/mpv | |
mkdir -p ~/.config/mpv/scripts/ | |
paru -S --noconfirm mpv-uosc-git mpv-thumbfast-git | |
# Allow Christmas | |
curl -L -o ~/.config/mpv/scripts/osc.lua "https://raw.githubusercontent.com/christoph-heinrich/sosc/master/osc.lua" | |
flatpak install -y flathub io.otsaloma.gaupol | |
flatpak install -y flathub dev.aunetx.deezer | |
flatpak install -y flathub com.github.neithern.g4music | |
flatpak install -y flathub org.bunkus.mkvtoolnix-gui | |
flatpak install -y flathub io.otsaloma.gaupol | |
flatpak install -y flathub com.rafaelmardojai.Blanket | |
echo 'DIFFPROG=delta --side-by-side --line-numbers' > ~/.config/environment.d/diffprog.conf | |
echo 'export DIFFPROG=delta --side-by-side --line-numbers' >> ~/.bashrc | |
sudo pacman -S --needed --noconfirm zed meld git-delta diffutils | |
paru -S --noconfirm bruno-bin | |
sudo pacman -S --needed --noconfirm imagemagick ghostscript libheif | |
flatpak install -y flathub org.gimp.GIMP | |
flatpak install -y flathub org.gimp.GIMP.Plugin.Resynthesizer | |
flatpak install -y flathub org.gimp.GIMP.Plugin.Lensfun | |
flatpak install -y flathub org.gimp.GIMP.Plugin.Fourier | |
flatpak install -y flathub org.gimp.GIMP.Plugin.BIMP | |
flatpak install -y flathub org.gimp.GIMP.Plugin.LiquidRescale | |
flatpak install -y flathub org.gimp.GIMP.Plugin.FocusBlur | |
flatpak install -y flathub org.gimp.GIMP.Plugin.GMic | |
# https://wiki.archlinux.org/title/Distrobox | |
# https://wiki.archlinux.org/title/Podman | |
sudo pacman -S --needed --noconfirm fastfetch starship distrobox btop virt-manager podman-docker docker-compose podman-compose js chaotic-aur/looking-glass-git | |
flatpak install -y flathub io.podman_desktop.PodmanDesktop | |
flatpak install -y flathub io.github.dvlv.boxbuddyrs | |
echo 'export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock' >> ~/.bashrc | |
echo '# export PODMAN_COMPOSE_PROVIDER=podman-compose' >> ~/.bashrc | |
flatpak install -y flathub io.github.zen_browser.zen | |
flatpak install -y flathub com.discordapp.Discord | |
flatpak install -y flathub com.rtosta.zapzap | |
flatpak install -y flathub com.ktechpit.whatsie | |
flatpak install -y flathub org.telegram.desktop | |
flatpak install -y flathub org.nickvision.tubeconverter | |
flatpak install -y flathub org.mozilla.Thunderbird | |
flatpak install -y flathub org.qbittorrent.qBittorrent | |
# https://github.com/andyholmes/valent | |
flatpak install -y flathub com.github.tchx84.Flatseal | |
flatpak install -y flathub org.libreoffice.LibreOffice | |
flatpak install -y flathub io.github.alainm23.planify | |
flatpak install -y flathub org.gnome.World.Iotas | |
flatpak install flathub com.github.johnfactotum.Foliate | |
sudo pacman -S --needed --noconfirm nerd-fonts icoutils powertop unrar | |
flatpak install -y flathub io.missioncenter.MissionCenter | |
sudo pacman -S --needed --noconfirm ollama-rocm | |
# Missing for Cosmic | |
## Image Viewer | |
flatpak install -y flathub org.gnome.Loupe | |
## Keyring support | |
sudo pacman -S --needed --noconfirm gnome-keyring libsecret | |
## Missing XDG Desktop protocols | |
sudo pacman -S --needed --noconfirm xdg-desktop-portal-gtk | |
## Mounting/unmounting in Files | |
sudo pacman -S --needed --noconfirm gvfs | |
## Until File Browser is good | |
flatpak install -y flathub org.kde.dolphin | |
## Partition Manager with FAT32 (dosfstools mtools) and NTFS (ntfsprogs) support | |
sudo pacman -S --needed --noconfirm gnome-disk-utility dosfstools mtools ntfsprogs | |
# NodeJs | |
sudo pacman -S --needed --noconfirm nodejs npm | |
# Deno | |
sudo pacman -S --needed --noconfirm deno | |
# https://wiki.archlinux.org/title/Visual_Studio_Code | |
sudo pacman -S --needed --noconfirm code shellcheck shfmt | |
## Essentials | |
code --install-extension mikestead.dotenv | |
code --install-extension editorconfig.editorconfig | |
## Interface Improvements | |
code --install-extension eamodio.gitlens | |
code --install-extension usernamehw.errorlens | |
code --install-extension pflannery.vscode-versionlens | |
code --install-extension yoavbls.pretty-ts-errors | |
code --install-extension wix.vscode-import-cost | |
code --install-extension gruntfuggly.todo-tree | |
code --install-extension zhuangtongfa.material-theme | |
## Web Dev | |
code --install-extension dbaeumer.vscode-eslint | |
code --install-extension esbenp.prettier-vscode | |
code --install-extension csstools.postcss | |
code --install-extension stylelint.vscode-stylelint | |
code --install-extension bradlc.vscode-tailwindcss | |
code --install-extension davidanson.vscode-markdownlint | |
code --install-extension unifiedjs.vscode-mdx | |
# Deno | |
code --install-extension denoland.vscode-deno | |
## GraphQL | |
code --install-extension graphql.vscode-graphql-syntax | |
code --install-extension graphql.vscode-graphql | |
## Bash | |
code --install-extension mads-hartmann.bash-ide-vscode | |
code --install-extension mkhl.shfmt | |
## Testing | |
code --install-extension vitest.explorer | |
code --install-extension ms-playwright.playwright | |
code --install-extension firefox-devtools.vscode-firefox-debug | |
code --install-extension ms-vscode.test-adapter-converter | |
cat <<EOL > "$HOME/.config/Code - OSS/User/settings.json" | |
{ | |
"window.titleBarStyle": "custom", | |
"workbench.colorTheme": "One Dark Pro Flat", | |
"editor.fontFamily": "'FiraCode Nerd Font', 'FiraCode Nerd Font Mono', 'monospace', monospace", | |
"editor.inlineSuggest.enabled": true, | |
"git.autofetch": true, | |
"git.confirmSync": false, | |
"git.enableCommitSigning": true, | |
"[html]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, | |
"[css]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, | |
"[markdown]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, | |
"[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, | |
"[json]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, | |
"[jsonc]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, | |
"[scss]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, | |
"[typescript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, | |
"[typescriptreact]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, | |
"bashIde.shellcheckPath": "/usr/bin/shellcheck", | |
"shfmt.executablePath": "/usr/bin/shfmt", | |
"errorLens.gutterIconsEnabled": true, | |
"errorLens.messageMaxChars": 0, | |
"todo-tree.highlights.customHighlight": { | |
"TODO": { | |
"type": "text", | |
"foreground": "#000000", // black | |
"background": "#00FF00", // green | |
"iconColour": "#00FF00", // green | |
"icon": "shield-check", | |
"gutterIcon": true | |
}, | |
"FIXME": { | |
"type": "text", | |
"foreground": "#000000", // black | |
"background": "#FFFF00", // yellow | |
"iconColour": "#FFFF00", // yellow | |
"icon": "shield", | |
"gutterIcon": true | |
}, | |
"HACK": { | |
"type": "text", | |
"foreground": "#000000", // black | |
"background": "#FF0000", // red | |
"iconColour": "#FF0000", // red | |
"icon": "shield-x", | |
"gutterIcon": true | |
}, | |
"BUG": { | |
"type": "text", | |
"foreground": "#000000", // black | |
"background": "#FFA500", // orange | |
"iconColour": "#FFA500", // orange | |
"icon": "bug", | |
"gutterIcon": true | |
} | |
} | |
} | |
EOL | |
# Hardware | |
sudo systemctl enable --now fstrim.timer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Manually reload bashrc: source ~/.bashrc | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac | |
# don't put duplicate lines in the history. | |
HISTCONTROL=ignoredups | |
# Autocomplete: commands which have more than one possible completion cause the matches to be listed | |
set show-all-if-ambiguous on | |
alias mkdir='mkdir -p -v' | |
alias df='df -h' | |
alias du='du -c -h' | |
alias dmesg='dmesg -HL' | |
alias rm='rm -i' | |
alias cp='cp -i' | |
alias mv='mv -i' | |
alias cls='printf "\033c" && clear && echo -en "\e[3J"' | |
export PATH="$HOME/.local/bin:$PATH" | |
export $(envsubst < ~/.env) | |
# [ -f .env ] && export $(envsubst < .env) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json | |
DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock | |
ELECTRON_OZONE_PLATFORM_HINT=wayland | |
SteamDeck=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Public functions | |
update() { | |
sudo pacman -Syu | |
paru -Syu | |
sudo fwupdmgr update | |
flatpak update --noninteractive | |
} | |
cleanup() { | |
sudo pacman -Rns $(pacman -Qdtq) | |
sudo paccache -r | |
sudo journalctl --vacuum-time=2weeks | |
} | |
sync() { | |
sudo pacman-key --delete 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35 | |
sudo pacman-key --recv-keys 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35 | |
sudo pacman-key --lsign-key 8F654886F17D497FEFE3DB448B15A6B0E9A3FA35 | |
sudo pacman -Syu archlinux-keyring --noconfirm | |
} | |
# Private functions | |
_print_options() { | |
echo "Available options:" | |
declare -F | awk '{print $3}' | grep -v '^_' | nl | |
} | |
_call_function() { | |
local func="$1" | |
declare -F "$func" &>/dev/null | |
if [[ $? -eq 0 ]]; then | |
$func | |
else | |
echo "Invalid option. Exiting." | |
exit 1 | |
fi | |
} | |
# Main logic | |
if [[ $# -eq 0 ]]; then | |
_print_options | |
read -p "Enter your choice: " choice | |
if [[ "$choice" =~ ^[0-9]+$ ]]; then | |
func=$(declare -F | awk '{print $3}' | grep -v '^_' | sed -n "${choice}p") | |
if [[ -n "$func" ]]; then | |
_call_function "$func" | |
else | |
echo "Invalid choice. Exiting." | |
exit 1 | |
fi | |
else | |
echo "Invalid input. Exiting." | |
exit 1 | |
fi | |
else | |
_call_function "$(echo "$1" | tr '[:upper:]' '[:lower:]')" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Public functions | |
network() { | |
echo "Restarting Network..." | |
sudo ip link set enp8s0f4u1u4 down | |
sleep 67 | |
sudo ip link set enp8s0f4u1u4 up | |
echo "Network restarted." | |
} | |
reset_podman() { | |
podman container rm -a -f | |
podman image rm -a -f | |
podman volume rm -a -f | |
podman network rm $(podman network ls -q) | |
podman pod rm -a -f | |
podman system prune -a -f | |
} | |
bash_reload() { | |
source ~/.bashrc | |
} | |
# Private functions | |
_print_options() { | |
echo "Available options:" | |
declare -F | awk '{print $3}' | grep -v '^_' | nl | |
} | |
_call_function() { | |
local func="$1" | |
declare -F "$func" &>/dev/null | |
if [[ $? -eq 0 ]]; then | |
$func | |
else | |
echo "Invalid option. Exiting." | |
exit 1 | |
fi | |
} | |
# Main logic | |
if [[ $# -eq 0 ]]; then | |
_print_options | |
read -p "Enter your choice: " choice | |
if [[ "$choice" =~ ^[0-9]+$ ]]; then | |
func=$(declare -F | awk '{print $3}' | grep -v '^_' | sed -n "${choice}p") | |
if [[ -n "$func" ]]; then | |
_call_function "$func" | |
else | |
echo "Invalid choice. Exiting." | |
exit 1 | |
fi | |
else | |
echo "Invalid input. Exiting." | |
exit 1 | |
fi | |
else | |
_call_function "$(echo "$1" | tr '[:upper:]' '[:lower:]')" | |
fi | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -v | |
# https://github.com/ChimeraOS/gamescope-session/blob/main/usr/share/gamescope-session-plus/gamescope-session-plus | |
# https://github.com/Nobara-Project/steamdeck-edition-packages/blob/main/gamescope-session-plus/usr/share/gamescope-se> | |
ulimit -n 524288 | |
asusctl profile -P Performance | |
switcherooctl launch gamescope \ | |
-W 1920 -H 1080 -r 60 \ | |
--adaptive-sync \ | |
-e --xwayland-count 2 --default-touch-mode 4 --immediate-flips -F fsr --mangoapp \ | |
-- steam -steamos3 -steampal -steamdeck -gamepadui \ | |
# --generate-drm-mode --hdr-enabled --hdr-itm-enable | |
gamescope_pid="$!" | |
kill -9 $gamescope_pid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=Gamescope | |
Comment=Gamescope | |
Exec=/usr/bin/gamescope-session | |
Type=Application | |
DesktopNames=gamescope |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MOUSE_BTN2 script-binding uosc/menu-blurred | |
tab script-binding uosc/toggle-ui | |
Shift+ENTER script-binding uosc/download-subtitles | |
` script-binding console/enable #! Console | |
g cycle interpolation #! Video > Interpolation | |
d cycle deinterlace #! Video > Toggle Deinterlace | |
[ add speed +0.1; script-binding uosc/flash-speed #! Video > Speed > Increase Speed | |
] add speed -0.1; script-binding uosc/flash-speed #! Video > Speed > Decrease Speed | |
BS set speed 1; script-binding uosc/flash-speed #! Video > Speed > Reset Speed | |
# set video-aspect-override "-1" #! Video > Aspect Ratio > Default | |
# set video-aspect-override "16:9" #! Video > Aspect Ratio > 16:9 | |
# set video-aspect-override "4:3" #! Video > Aspect Ratio > 4:3 | |
# set video-aspect-override "2.35:1" #! Video > Aspect Ratio > 2.35:1 | |
# vf toggle vflip #! Video > Flip > Vertical | |
# vf toggle hflip #! Video > Flip > Horizontal | |
b cycle-values deband "yes" "no" #! Video > Deband > Toggle Deband | |
# cycle-values deband-threshold "35" "45" "60\ show-text "Deband: ${deband-iterations}:${deband-threshold}:${deband-range}:${deband-grain}" 1000 #! Video > Deband > Deband (Weak) | |
# cycle-values deband-range "20" "25" "30\ show-text "Deband: ${deband-iterations}:${deband-threshold}:${deband-range}:${deband-grain}" 1000 #! Video > Deband > Deband (Medium) | |
# cycle-values deband-grain "5" "15" "30\ show-text "Deband: ${deband-iterations}:${deband-threshold}:${deband-range}:${deband-grain}" 1000 #! Video > Deband > Deband (Strong) | |
# script-binding uosc/audio-device #! Audio > Devices | |
F1 af toggle "lavfi=[loudnorm=I=-14:TP=-3:LRA=4]'"; show-text "${af}" #! Audio > Dialogue | |
# af clr "" #! Audio > Clear Filters | |
# script-binding afilter/toggle-eqr #! Audio > Toggle Equalizer | |
a cycle audio-normalize-downmix #! Audio > Toggle Normalize | |
# script-binding afilter/toggle-dnm #! Audio > Toggle Normalizer | |
# script-binding afilter/toggle-drc #! Audio > Toggle Compressor | |
Ctrl++ add audio-delay +0.10 #! Audio > Delay > Increase Audio Delay | |
Ctrl+- add audio-delay -0.10 #! Audio > Delay > Decrease Audio Delay | |
# set audio-delay 0 #! Audio > Delay > Reset Audio Delay | |
Shift+g add sub-scale +0.05 #! Subtitles > Scale > Increase Subtitle Scale | |
Shift+f add sub-scale -0.05 #! Subtitles > Scale > Decrease Subtitle Scale | |
# set sub-scale 1 #! Subtitles > Scale > Reset Subtitle Scale | |
: add sub-pos -1 #! Subtitles > Position > Move Subtitle Up | |
" add sub-pos +1 #! Subtitles > Position > Move Subtitle Down | |
# set sub-pos 100 #! Subtitles > Position > Reset Subtitle Position | |
z add sub-delay -0.1 #! Subtitles > Delay > Decrease Subtitles Delay | |
Z add sub-delay 0.1 #! Subtitles > Delay > Increase Subtitles Delay | |
# set sub-delay 0 #! Subtitles > Delay > Reset Subtitles Delay | |
# script-binding sview/shader-view #! Profiles > Show Loaded Shaders | |
CTRL+0 change-list glsl-shaders clr all; show-text "Shaders cleared" #! Profiles > Clear All Shaders | |
# #! Profiles > --- | |
# apply-profile fsr; show-text "Profile: AMD FidelityFX Super Resolution" #! Profiles > AMD FidelityFX Super Resolution | |
# apply-profile cas; show-text "Profile: AMD FidelityFX Contrast Adaptive Sharpening" #! Profiles > AMD FidelityFX Contrast Adaptive Sharpening | |
CTRL+1 apply-profile fsr-cas; show-text "Profile: AMD FidelityFX Super Resolution + Contrast Adaptive Sharpening" #! Profiles > AMD FidelityFX Super Resolution + Contrast Adaptive Sharpening | |
# apply-profile generic #! Profiles > FSRCNNX | |
CTRL+2 apply-profile generic-high; show-text "Profile: FSRCNNX x16" #! Profiles > FSRCNNX x16 | |
# apply-profile nnedi-high; show-text "Profile: NNEDI3 (64 Neurons)" #! Profiles > NNEDI3 (64 Neurons) | |
CTRL+3 apply-profile nnedi-very-high; show-text "Profile: NNEDI3 High (128 Neurons)" #! Profiles > NNEDI3 High (128 Neurons) | |
CTRL+4 apply-profile anime4k-high-a; show-text "Profile: Anime4K A (HQ) - For Very Blurry/Compressed" #! Profiles > Anime4K A (HQ) - For Very Blurry/Compressed | |
CTRL+5 apply-profile anime4k-high-b; show-text "Profile: Anime4K B (HQ) - For Blurry/Ringing" #! Profiles > Anime4K B (HQ) - For Blurry/Ringing | |
CTRL+6 apply-profile anime4k-high-c; show-text "Profile: Anime4K C (HQ) - For Crisp/Sharp" #! Profiles > Anime4K C (HQ) - For Crisp/Sharp | |
CTRL+7 apply-profile anime4k-high-aa; show-text "Profile: Anime4K AA (HQ) - For Very Blurry/Compressed" #! Profiles > Anime4K AA (HQ) - For Very Blurry/Compressed | |
CTRL+8 apply-profile anime4k-high-bb; show-text "Profile: Anime4K BB (HQ) - For Blurry/Ringing" #! Profiles > Anime4K BB (HQ) - For Blurry/Ringing | |
CTRL+9 apply-profile anime4k-high-ca; show-text "Profile: Anime4K CA (HQ) - For Crisp/Sharp" #! Profiles > Anime4K CA (HQ) - For Crisp/Sharp | |
# apply-profile anime4k-fast-a; show-text "Profile: Anime4K A (Fast) - For Very Blurry/Compressed" #! Profiles > Anime4K A (Fast) - For Very Blurry/Compressed | |
# apply-profile anime4k-fast-b; show-text "Profile: Anime4K B (Fast) - For Blurry/Ringing" #! Profiles > Anime4K B (Fast) - For Blurry/Ringing | |
# apply-profile anime4k-fast-c; show-text "Profile: Anime4K C (Fast) - For Crisp/Sharp" #! Profiles > Anime4K C (Fast) - For Crisp/Sharp | |
# apply-profile anime4k-fast-aa; show-text "Profile: Anime4K AA (Fast) - For Very Blurry/Compressed" #! Profiles > Anime4K AA (Fast) - For Very Blurry/Compressed | |
# apply-profile anime4k-fast-bb; show-text "Profile: Anime4K BB (Fast) - For Blurry/Ringing" #! Profiles > Anime4K BB (Fast) - For Blurry/Ringing | |
# apply-profile anime4k-fast-cc; show-text "Profile: Anime4K CA (Fast) - For Crisp/Sharp" #! Profiles > Anime4K CA (Fast) - For Crisp/Sharp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MODULES=(btrfs amdgpu) | |
HOOKS=(systemd plymouth autodetect microcode modconf kms keyboard sd-vconsole block sd-encrypt filesystems fsck grub-btrfs-overlayfs) | |
# - /etc/default/grub: | |
# - change `cryptdevice=UUID=<uuid>:<name>` to `rd.luks.name=<uuid>=<name>` (replaced `cryptdevice=UUID` with `rd.luks.name` and `:<name>` with `=<name>`) | |
# - add `splash` | |
# - sudo mkinitcpio -P |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# UI | |
autofit=70% | |
osc=no | |
script-opts-append=uosc-disable_elements=idle_indicator | |
# Video | |
vo=gpu-next | |
#gpu-api=vulkan | |
hwdec=auto-safe | |
# Audio | |
ao=pipewire | |
alang=jpn,jp,eng,en | |
volume-max=300 | |
# Subtitles | |
slang=eng,en,bg,vi,vn | |
sub-auto=fuzzy | |
# Screenshots | |
screenshot-directory=~/Pictures | |
screenshot-template=mpv-%f-%wH.%wM.%wS.%wT-#%#00n | |
# Profiles (example paths, you should adjust these to where the shaders are on your Arch system) | |
profile=generic-high | |
[fsr] | |
glsl-shader=~~/shaders/FSR.glsl | |
[cas] | |
glsl-shader=~~/shaders/CAS-scaled.glsl | |
[fsr-cas] | |
glsl-shaders=~~/shaders/FSR.glsl | |
glsl-shaders-append=~~/shaders/CAS-scaled.glsl | |
[generic] | |
dscale=mitchell | |
cscale=mitchell | |
glsl-shaders=~~/shaders/FSRCNNX_x2_16-0-4-1.glsl | |
glsl-shaders-append=~~/shaders/SSimDownscaler.glsl | |
glsl-shaders-append=~~/shaders/KrigBilateral.glsl | |
[generic-high] | |
dscale=mitchell | |
cscale=mitchell | |
glsl-shaders=~~/shaders/FSRCNNX_x2_8-0-4-1.glsl | |
glsl-shaders-append=~~/shaders/SSimDownscaler.glsl | |
glsl-shaders-append=~~/shaders/KrigBilateral.glsl | |
[nnedi-high] | |
dscale=mitchell | |
cscale=mitchell | |
glsl-shaders=~~/shaders/nnedi3-nns64-win8x6.hook; | |
glsl-shaders-append=~~/shaders/SSimDownscaler.glsl | |
glsl-shaders-append=~~/shaders/KrigBilateral.glsl | |
[nnedi-very-high] | |
dscale=mitchell | |
cscale=mitchell | |
glsl-shaders=~~/shaders/nnedi3-nns128-win8x6.hook; | |
glsl-shaders-append=~~/shaders/SSimDownscaler.glsl | |
glsl-shaders-append=~~/shaders/KrigBilateral.glsl | |
[anime4k-high-a] | |
glsl-shaders=~~/shaders/Anime4K_Clamp_Highlights.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Restore_CNN_VL.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x2.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x4.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl | |
[anime4k-high-b] | |
glsl-shaders=~~/shaders/Anime4K_Clamp_Highlights.glsl | |
glsl-shaders-append=~~/shaders/CAS-scaled.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Restore_CNN_Soft_VL.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x2.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x4.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl | |
[anime4k-high-c] | |
glsl-shaders=~~/shaders/Anime4K_Clamp_Highlights.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_Denoise_CNN_x2_VL.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x2.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x4.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl | |
[anime4k-high-aa] | |
glsl-shaders=~~/shaders/Anime4K_Clamp_Highlights.glsl | |
glsl-shaders-append=~~/shaders/CAS-scaled.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Restore_CNN_VL.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x2.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x4.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Restore_CNN_M.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl | |
[anime4k-high-bb] | |
glsl-shaders=~~/shaders/Anime4K_Clamp_Highlights.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Restore_CNN_Soft_VL.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x2.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x4.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Restore_CNN_Soft_M.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl | |
[anime4k-high-ca] | |
glsl-shaders=~~/shaders/Anime4K_Clamp_Highlights.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_Denoise_CNN_x2_VL.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x2.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x4.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Restore_CNN_M.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl | |
[anime4k-fast-a] | |
glsl-shaders=~~/shaders/Anime4K_Clamp_Highlights.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Restore_CNN_M.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x2.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x4.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl | |
[anime4k-fast-b] | |
glsl-shaders=~~/shaders/Anime4K_Clamp_Highlights.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Restore_CNN_Soft_M.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x2.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x4.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl | |
[anime4k-fast-c] | |
glsl-shaders=~~/shaders/Anime4K_Clamp_Highlights.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_Denoise_CNN_x2_M.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x2.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x4.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl | |
[anime4k-fast-aa] | |
glsl-shaders=~~/shaders/Anime4K_Clamp_Highlights.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Restore_CNN_M.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x2.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x4.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Restore_CNN_S.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl | |
[anime4k-fast-bb] | |
glsl-shaders=~~/shaders/Anime4K_Clamp_Highlights.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Restore_CNN_Soft_M.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x2.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x4.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Restore_CNN_Soft_S.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl | |
[anime4k-fast-cc] | |
glsl-shaders=~~/shaders/Anime4K_Clamp_Highlights.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_Denoise_CNN_x2_M.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x2.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_AutoDownscalePre_x4.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Restore_CNN_S.glsl | |
glsl-shaders-append=~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
asusctl profile -P Balanced | |
steam -shutdown |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment