Watch
1
0
Fork
You've already forked dotfiles
0
This commit is contained in:
MAnitosik 2026-08-05 16:37:08 +03:00
commit 29987d67a2
29 changed files with 30601 additions and 0 deletions

View file

@ -0,0 +1,164 @@
#!/usr/bin/env bash
# Copyright (C) 2022-2026 CachyOS team
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
set -e
declare -r MIRRORS_DEFAULT_DIR="/etc/pacman.d"
# Use https only protocol for rating
export RATE_MIRRORS_PROTOCOL=https
export RATE_MIRRORS_FETCH_MIRRORS_TIMEOUT="${RATE_MIRRORS_FETCH_MIRRORS_TIMEOUT:-30000}"
export RATE_MIRRORS_ALLOW_ROOT=true
export RATE_MIRRORS_MAX_DELAY="${RATE_MIRRORS_MAX_DELAY:-10000}"
disable_colors() {
unset ALL_OFF BOLD BLUE GREEN RED YELLOW
}
enable_colors() {
# prefer terminal safe colored and bold text when tput is supported
if tput setaf 0 &>/dev/null; then
ALL_OFF="$(tput sgr0)"
BOLD="$(tput bold)"
RED="${BOLD}$(tput setaf 1)"
GREEN="${BOLD}$(tput setaf 2)"
YELLOW="${BOLD}$(tput setaf 3)"
BLUE="${BOLD}$(tput setaf 4)"
else
ALL_OFF="\e[0m"
BOLD="\e[1m"
RED="${BOLD}\e[31m"
GREEN="${BOLD}\e[32m"
YELLOW="${BOLD}\e[33m"
BLUE="${BOLD}\e[34m"
fi
readonly ALL_OFF BOLD BLUE GREEN RED YELLOW
}
if [[ -t 2 ]]; then
enable_colors
else
disable_colors
fi
msg() {
local mesg="$1"; shift
printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2
}
info() {
local mesg="$1"; shift
printf "${YELLOW} -->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2
}
error() {
local mesg="$1"; shift
printf "${RED}==> ERROR:${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2
}
cleanup() {
exit "${1:-0}"
}
die() {
(($#)) && error "$@"
cleanup 255
}
if [ "$EUID" -ne 0 ]; then
die "Please, run script as root"
fi
declare -r TMPFILE="$(mktemp)"
trap 'rm -f -- "$TMPFILE"' EXIT
rate_repository_mirrors() {
local repo="$1"
local path="$2"
info "Ranking mirrors for ${repo} repository in ${path}..."
if rate-mirrors --save "$TMPFILE" "$repo"; then
if [ ! -f "${path}" ]; then
die "${path} doesn't exist! You must install package $(pacman -Fq "$path" 2>/dev/null || echo "that contains $path")"
fi
install -m 0644 --backup=simple --suffix="-backup" "${TMPFILE}" "${path}"
msg "Done [${repo}] ${path}"
else
die "rate-mirrors failed [errcode=$?]."
fi
}
force_ru_mirrors() {
local mirror domain index
local -a ru_mirrors=(
'https://archlinux.gay/cachy/repo/$arch/$repo'
'https://mirror.jura12.ru/repo/$arch/$repo'
'https://mirror.cachy-arch.ru/cachyos/repo/$arch/$repo'
'https://wan.metrosg.ru/cachyos/repo/$arch/$repo'
)
local -i line=1
for ((index=0; index < ${#ru_mirrors[@]}; index++)); do
mirror="${ru_mirrors[$index]}"
domain="${mirror##*://}"
domain="${domain%%/*}"
if curl -sL --connect-timeout 5 "https://${domain}" &>/dev/null; then
sed -i "$((line))iServer = ${mirror}" "${MIRRORS_DEFAULT_DIR}/cachyos-mirrorlist"
((line++))
else
error "Failed to connect with ${domain} mirror"
fi
done
}
# Prefer mirrors that are geographically close, especially in countries that
# have regional blockages
country="RU"
if [ -n "$country" ]; then
export RATE_MIRRORS_ENTRY_COUNTRY="$country"
fi
# China only tests its own mirrors, so disable neighbors
# and increase the number of tested mirrors to get more results
if [ "$country" = "CN" ]; then
export RATE_MIRRORS_COUNTRY_NEIGHBORS_PER_COUNTRY=0
export RATE_MIRRORS_COUNTRY_TEST_MIRRORS_PER_COUNTRY=50
fi
# Rate Arch Linux mirrors anyway
rate_repository_mirrors arch "${MIRRORS_DEFAULT_DIR}/mirrorlist"
# Always insert CDN77 mirror to the start, unless RU and CN region is detected
if [ "$country" != "RU" ] && [ "$country" != "CN" ]; then
sed -i '1iServer = https://archlinux.cachyos.org/repo/$repo/os/$arch' "${MIRRORS_DEFAULT_DIR}/mirrorlist"
fi
rate_repository_mirrors cachyos "${MIRRORS_DEFAULT_DIR}/cachyos-mirrorlist"
# Always insert local mirrors as first due to blockings in RU region
#if [ "$country" = "RU" ]; then
# force_ru_mirrors
#fi
install -m 0644 --backup=simple --suffix="-backup" "${MIRRORS_DEFAULT_DIR}/cachyos-mirrorlist" \
"${MIRRORS_DEFAULT_DIR}/cachyos-v3-mirrorlist"
install -m 0644 --backup=simple --suffix="-backup" "${MIRRORS_DEFAULT_DIR}/cachyos-mirrorlist" \
"${MIRRORS_DEFAULT_DIR}/cachyos-v4-mirrorlist"
sed -i 's|/$arch/|/$arch_v3/|g' "${MIRRORS_DEFAULT_DIR}/cachyos-v3-mirrorlist"
sed -i 's|/$arch/|/$arch_v4/|g' "${MIRRORS_DEFAULT_DIR}/cachyos-v4-mirrorlist"

20
scripts/dank.sh Normal file
View file

@ -0,0 +1,20 @@
# https://danklinux.com/docs/dankmaterialshell/cli-setup
# https://github.com/AvengeMedia/DankMaterialShell/blob/master/core/internal/config/embedded/niri.kdl
# https://github.com/zirconium-dev/zdots
# https://niri-wm.github.io/niri/
# https://github.com/swaywm/sway/wiki/GTK-3-settings-on-Wayland
# https://wiki.archlinux.org/title/Xsettingsd
# https://github.com/lassekongo83/adw-gtk3
# https://mangowm.github.io/docs/configuration/xdg-portals/
curl -fsSL https://install.danklinux.com | sh
dms setup
mkdir -p ~/.config/niri/
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/niri/config.kdl | tee ~/.config/niri/config.kdl > /dev/null
mkdir -p ~/.config/DankMaterialShell/
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/DankMaterialShell/settings.json | tee ~/.config/DankMaterialShell/settings.json > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/DankMaterialShell/clsettings.json | tee ~/.config/DankMaterialShell/clsettings.json > /dev/null
mkdir -p ~/.local/state/DankMaterialShell/
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/local/state/DankMaterialShell/session.json | tee ~/.local/state/DankMaterialShell/session.json > /dev/null
mkdir -p ~/.cache/DankMaterialShell/
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/cache/DankMaterialShell/cache.json | tee ~/.cache/DankMaterialShell/cache.json > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/cache/DankMaterialShell/dms-colors.json | tee ~/.cache/DankMaterialShell/dms-colors.json > /dev/null

165
scripts/main.sh Normal file
View file

@ -0,0 +1,165 @@
# https://github.com/CachyOS/CachyOS-PKGBUILDS/blob/master/cachyos-rate-mirrors/cachyos-rate-mirrors
sudo bash ./cachyos-rate-mirrors.sh
sudo pacman -Scc
sudo pacman -Syyuu --noconfirm
sudo pacman -S --noconfirm --needed yay
sudo pacman -S --noconfirm --needed flatpak
# https://wiki.archlinux.org/title/List_of_applications/Utilities#Terminal_pagers
# https://wiki.archlinux.org/title/Environment_variables#Default_programs
sudo pacman -S --noconfirm --needed moor
# https://wiki.archlinux.org/title/GTK
# https://wiki.archlinux.org/title/Qt
# https://github.com/swaywm/sway/wiki/GTK-3-settings-on-Wayland
# https://github.com/lassekongo83/adw-gtk3
# https://archlinux.org/packages/extra/x86_64/dms-shell/
# https://danklinux.com/docs/dankmaterialshell/application-themes
# https://danklinux.com/docs/dankmaterialshell/icon-theming
# https://wiki.archlinux.org/title/Xsettingsd
# https://codeberg.org/derat/xsettingsd#settings
# https://www.freedesktop.org/wiki/Specifications/XSettingsRegistry/
# https://wiki.archlinux.org/title/XDG_Desktop_Portal
# https://mangowm.github.io/docs/configuration/xdg-portals/
# https://niri-wm.github.io/niri/Xwayland
sudo pacman -S --noconfirm --needed xwayland-satellite pipewire pipewire-pulse xdg-desktop-portal-wlr wl-clipboard cliphist wl-clip-persist gnome-keyring xdg-desktop-portal
mkdir -p ~/.config/xdg-desktop-portal/
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/xdg-desktop-portal/portals.conf | tee ~/.config/xdg-desktop-portal/portals.conf > /dev/null
sudo pacman -S --noconfirm --needed xsettingsd
mkdir -p ~/.config/xsettingsd/
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/xsettingsd/xsettingsd.conf | tee ~/.config/xsettingsd/xsettingsd.conf > /dev/null
sudo pacman -S --noconfirm --needed gtk3 gtk4 qt5-base qt6-base
sudo pacman -S --noconfirm --needed xorg-xwayland xorg cava cups-pk-helper i2c-tools iwd matugen networkmanager qt6-multimedia qt6ct systemd wtype
sudo pacman -S --noconfirm --needed adw-gtk-theme papirus-icon-theme nerd-fonts
flatpak install -y org.gtk.Gtk3theme.adw-gtk3 org.gtk.Gtk3theme.adw-gtk3-dark
mkdir -p ~/.config/gtk-3.0/
mkdir -p ~/.config/gtk-4.0/
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/gtk-3.0/settings.ini | tee ~/.config/gtk-3.0/settings.ini > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/gtk-3.0/gtk.css | tee ~/.config/gtk-3.0/gtk.css > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/gtk-4.0/settings.ini | tee ~/.config/gtk-4.0/settings.ini > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/gtk-4.0/gtk.css | tee ~/.config/gtk-4.0/gtk.css > /dev/null
gsettings set org.gnome.desktop.interface gtk-theme 'adw-gtk3-dark'
gsettings set org.gnome.desktop.interface icon-theme 'Papirus-Dark'
gsettings set org.gnome.desktop.interface cursor-theme 'Papirus-Dark'
gsettings set org.gnome.desktop.interface font-name 'JetBrainsMono Nerd Font Mono 10'
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
# https://apps.gnome.org/
sudo pacman -S --noconfirm --needed decibels showtime gnome-disk-utility gnome-calculator amberol papers loupe simple-scan nautilus
sudo pacman -S --noconfirm --needed video-trimmer curtail fragments switcheroo gnome-boxes
flatpak install -y flathub io.github.wartybix.Constrict
## CachyOS
##
sudo pacman -S --noconfirm --needed appmenu-gtk-module libdbusmenu-glib
tldr --update
sudo pacman -S --noconfirm --needed fuse2
#sudo pacman -S --noconfirm --needed flatpak
flatpak install -y flathub it.mijorus.gearlever
# https://github.com/ilya-zlobintsev/LACT/wiki/Overclocking-(AMD)
sudo tee -a /etc/default/limine > /dev/null <<'EOF'
KERNEL_CMDLINE[default]+=" manitosik=1 zswap.enabled=0 nowatchdog quiet splash amd_pstate=passive rcutree.enable_rcu_lazy=1 amdgpu.ppfeaturemask=0xffffffff"
EOF
#sudo limine-mkinitcpio
# https://github.com/flightlessmango/MangoHud
# https://wiki.archlinux.org/title/MangoHud
# https://danklinux.com/docs/dankmaterialshell/managing
# https://wiki.archlinux.org/title/Wayland#Qt
# https://wiki.archlinux.org/title/Environment_variables#Default_programs
# https://danklinux.com/docs/dankmaterialshell/application-themes
sudo pacman -S --noconfirm --needed cachyos-gaming-meta
sudo pacman -S --noconfirm --needed gamescope mangohud lib32-mangohud
mkdir -p ~/.config/MangoHud/
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/MangoHud/MangoHud.conf | tee ~/.config/MangoHud/MangoHud.conf > /dev/null
sudo pacman -S --noconfirm --needed heroic-games-launcher-bin steam
yay -S --noconfirm --needed hydra-launcher-bin
flatpak install -y flathub com.usebottles.bottles
mkdir -p ~/.config/environment.d/
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/environment.d/env.conf | tee ~/.config/environment.d/env.conf > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/etc/udev/rules.d/60-ioschedulers.rules | sudo tee /etc/udev/rules.d/60-ioschedulers.rules > /dev/null
# https://github.com/sched-ext/scx-loader/tree/main/crates/scx_loader
# https://github.com/sched-ext/scx-loader/blob/main/crates/scx_loader/configuration.md
# https://github.com/sched-ext/scx-loader/blob/main/crates/scx_loader/default_config.toml
sudo pacman -S --noconfirm --needed scx-scheds scx-tools
sudo systemctl disable --now ananicy-cpp
sudo mkdir -p /etc/scx_loader/
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/etc/scx_loader/config.toml | sudo tee /etc/scx_loader/config.toml > /dev/null
sudo systemctl enable --now scx_loader.service
##
## CachyOS
# https://github.com/CachyOS/CachyOS-Welcome/blob/develop/src/tweak.rs
sudo pacman -S --noconfirm --needed profile-sync-daemon
systemctl enable --user --now psd.service
sudo systemctl disable --now systemd-oomd.service
sudo pacman -S --noconfirm --needed bpftune-git
sudo systemctl enable --now bpftune.service
sudo pacman -S --noconfirm --needed bluez
sudo systemctl enable --now bluetooth.service
systemctl disable --user --now arch-update.timer
# https://wiki.archlinux.org/title/CPU_frequency_scaling#Userspace_tools
# https://wiki.archlinux.org/title/Systemd-resolved
# https://man.archlinux.org/man/hosts.5.en
# https://github.com/ImMALWARE/dns.malw.link/blob/master/hosts
# https://github.com/Flowseal/zapret-discord-youtube/blob/main/.service/hosts
# https://wiki.archlinux.org/title/Sysctl#Improving_performance
# https://wiki.archlinux.org/title/Kernel_module#systemd
sudo systemctl disable --now power-profiles-daemon.service
sudo pacman -Rns --noconfirm power-profiles-daemon
sudo pacman -S --noconfirm --needed cpupower
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/etc/default/cpupower-service.conf | sudo tee /etc/default/cpupower-service.conf > /dev/null
sudo systemctl enable --now cpupower.service
sudo mkdir -p /etc/systemd/resolved.conf.d/
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/etc/systemd/resolved.conf.d/resolved.conf | sudo tee /etc/systemd/resolved.conf.d/resolved.conf > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/etc/hosts | sudo tee /etc/hosts > /dev/null
mkdir -p /etc/sysctl.d/
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/etc/sysctl.d/99-arch.conf | sudo tee /etc/sysctl.d/99-arch.conf > /dev/null
mkdir -p /etc/modules-load.d/
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/etc/modules-load.d/modules.conf | sudo tee /etc/modules-load.d/modules.conf > /dev/null
sudo pacman -S --noconfirm --needed bazaar chromium
sudo pacman -S --noconfirm --needed cachyos-firefox-settings
sudo pacman -S --noconfirm --needed zed github-cli pycharm-community-edition
flatpak install -y flathub org.desktop_plus.desktop-plus
# https://wiki.archlinux.org/title/Open_Broadcaster_Software#Installation
# https://wiki.archlinux.org/title/Hardware_video_acceleration#AMD/ATI
sudo pacman -S --noconfirm --needed mesa vulkan-radeon
sudo pacman -S --noconfirm --needed --asdeps obs-studio-plugin-browser
sudo pacman -S --noconfirm --needed obs-studio
flatpak install -y flathub org.onlyoffice.desktopeditors com.github.PintaProject.Pinta
# https://wiki.archlinux.org/title/Discord#Enabling_rich_presence_on_Flatpak
sudo pacman -S --noconfirm --needed telegram-desktop torbrowser-launcher lact gnome-firmware ventoy-bin
flatpak install -y flathub com.discordapp.Discord
mkdir -p ~/.config/user-tmpfiles.d/
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/user-tmpfiles.d/discord.conf | tee ~/.config/user-tmpfiles.d/discord.conf > /dev/null
yay -S --noconfirm --needed amneziavpn-bin
sudo sh -c "$(curl -Ls https://github.com/v2rayA/v2rayA-installer/raw/main/installer.sh)" @ --with-xray
sudo systemctl enable --now v2raya.service
sudo systemctl enable --now lactd.service
# https://wiki.archlinux.org/title/Godot_Engine#Installation
# https://wiki.archlinux.org/title/Blender#HIP_on_AMD_open_source_drivers
# https://wiki.archlinux.org/title/Blender#Enable_Hardware_Ray_tracing_on_supported_GPUs
yay -S --noconfirm --needed --asdeps jdk-temurin
yay -S --noconfirm --needed elyprismlauncher-bin
flatpak install -y flathub org.vinegarhq.Sober org.vinegarhq.Vinegar
sudo pacman -S --noconfirm --needed --asdeps hip-runtime-amd hiprt
sudo pacman -S --noconfirm --needed blender godot-mono
# https://wiki.archlinux.org/title/Default_applications
# https://wiki.archlinux.org/title/XDG_MIME_Applications
# https://github.com/basecamp/omarchy/blob/quattro/default/applications/mimeapps.list
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/mimeapps.list | tee ~/.config/mimeapps.list > /dev/null
sudo limine-mkinitcpio

36
scripts/reset.sh Normal file
View file

@ -0,0 +1,36 @@
systemctl --user stop dms
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/xdg-desktop-portal/portals.conf | tee ~/.config/xdg-desktop-portal/portals.conf > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/xsettingsd/xsettingsd.conf | tee ~/.config/xsettingsd/xsettingsd.conf > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/gtk-3.0/settings.ini | tee ~/.config/gtk-3.0/settings.ini > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/gtk-3.0/gtk.css | tee ~/.config/gtk-3.0/gtk.css > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/gtk-4.0/settings.ini | tee ~/.config/gtk-4.0/settings.ini > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/gtk-4.0/gtk.css | tee ~/.config/gtk-4.0/gtk.css > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/MangoHud/MangoHud.conf | tee ~/.config/MangoHud/MangoHud.conf > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/environment.d/env.conf | tee ~/.config/environment.d/env.conf > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/etc/udev/rules.d/60-ioschedulers.rules | sudo tee /etc/udev/rules.d/60-ioschedulers.rules > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/etc/scx_loader/config.toml | sudo tee /etc/scx_loader/config.toml > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/etc/default/cpupower-service.conf | sudo tee /etc/default/cpupower-service.conf > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/etc/systemd/resolved.conf.d/resolved.conf | sudo tee /etc/systemd/resolved.conf.d/resolved.conf > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/etc/hosts | sudo tee /etc/hosts > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/user-tmpfiles.d/discord.conf | tee ~/.config/user-tmpfiles.d/discord.conf > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/mimeapps.list | tee ~/.config/mimeapps.list > /dev/null
rm -r ~/.config/DankMaterialShell ~/.local/state/DankMaterialShell ~/.cache/DankMaterialShell ~/.config/niri/
mkdir -p ~/.config/DankMaterialShell/
mkdir -p ~/.local/state/DankMaterialShell/
mkdir -p ~/.cache/DankMaterialShell/
mkdir -p ~/.config/niri/
dms setup
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/niri/config.kdl | tee ~/.config/niri/config.kdl > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/DankMaterialShell/settings.json | tee ~/.config/DankMaterialShell/settings.json > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/config/DankMaterialShell/clsettings.json | tee ~/.config/DankMaterialShell/clsettings.json > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/local/state/DankMaterialShell/session.json | tee ~/.local/state/DankMaterialShell/session.json > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/cache/DankMaterialShell/cache.json | tee ~/.cache/DankMaterialShell/cache.json > /dev/null
curl -fsSL https://raw.githubusercontent.com/MAnitosik/cachy/refs/heads/main/cache/DankMaterialShell/dms-colors.json | tee ~/.cache/DankMaterialShell/dms-colors.json > /dev/null
sudo systemctl reboot

1
scripts/zapret.sh Normal file
View file

@ -0,0 +1 @@
bash <(curl -s https://raw.githubusercontent.com/kartavkun/zapret-discord-youtube/main/setup.sh)