fix: artix pgp signature

This commit is contained in:
Klesh Wong 2022-08-11 00:12:43 +08:00
parent f8eee37d77
commit c9d041e710
2 changed files with 11 additions and 3 deletions

View File

@ -54,7 +54,7 @@ esac
case "$UNAMEA" in case "$UNAMEA" in
*artix*) *artix*)
# enable arch repo # enable arch repo
sudo pacman -S --needed --noconfirm artix-archlinux-support sudo pacman -S --needed --noconfirm artix-archlinux-support archlinux-keyring
if ! grep -qF "mirrorlist-arch" /etc/pacman.conf; then if ! grep -qF "mirrorlist-arch" /etc/pacman.conf; then
echo "# Arch" >> sudo tee -a /etc/pacman echo "# Arch" >> sudo tee -a /etc/pacman
echo "[extra]" >> sudo tee -a /etc/pacman echo "[extra]" >> sudo tee -a /etc/pacman
@ -65,6 +65,14 @@ case "$UNAMEA" in
echo "" >> sudo tee -a /etc/pacman echo "" >> sudo tee -a /etc/pacman
echo "[multilib]" >> sudo tee -a /etc/pacman echo "[multilib]" >> sudo tee -a /etc/pacman
echo "Include = /etc/pacman.d/mirrorlist-arch" >> sudo tee -a /etc/pacman echo "Include = /etc/pacman.d/mirrorlist-arch" >> sudo tee -a /etc/pacman
echo "" >> sudo tee -a /etc/pacman
echo '[universe]' >> sudo tee -a /etc/pacman
echo 'Server = https://universe.artixlinux.org/$arch' >> sudo tee -a /etc/pacman
echo 'Server = https://mirror1.artixlinux.org/universe/$arch' >> sudo tee -a /etc/pacman
echo 'Server = https://mirror.pascalpuffke.de/artix-universe/$arch' >> sudo tee -a /etc/pacman
echo 'Server = https://artixlinux.qontinuum.space/artixlinux/universe/os/$arch' >> sudo tee -a /etc/pacman
echo 'Server = https://mirror1.cl.netactuate.com/artix/universe/$arch' >> sudo tee -a /etc/pacman
echo 'Server = https://ftp.crifo.org/artix-universe/' >> sudo tee -a /etc/pacman
fi fi
pacman_china_mirror /etc/pacman.d/mirrorlist Asia pacman_china_mirror /etc/pacman.d/mirrorlist Asia
pacman_china_mirror /etc/pacman.d/mirrorlist-arch pacman_china_mirror /etc/pacman.d/mirrorlist-arch

View File

@ -773,7 +773,7 @@ local buttonmacros = {
}, },
[11] = { [11] = {
[1] = toggle_shift, [1] = toggle_shift,
[2] = "F5", [2] = "Space",
}, },
[12] = { [12] = {
[1] = "button_2", [1] = "button_2",
@ -929,7 +929,7 @@ awful.rules.rules = {
role = { role = {
"AlarmWindow", -- Thunderbird's calendar. "AlarmWindow", -- Thunderbird's calendar.
"ConfigManager", -- Thunderbird's about:config. "ConfigManager", -- Thunderbird's about:config.
"pop-up", -- e.g. Google Chrome's (detached) Developer Tools. -- "pop-up", -- e.g. Google Chrome's (detached) Developer Tools.
"EventDialog", "EventDialog",
"Msgcompose", "Msgcompose",
} }