Compare commits
No commits in common. "f7f73d7fb687846b1ca090dfb735e6777f133b1b" and "7c6a4e7042cc13cf95cc22d0d61bc715c9dabd5e" have entirely different histories.
f7f73d7fb6
...
7c6a4e7042
3 changed files with 33 additions and 5 deletions
|
@ -173,4 +173,3 @@ bindl=, XF86AudioPrev, exec, playerctl --player rhythmbox previous
|
||||||
bindl=, XF86AudioNext, exec, playerctl --player rhythmbox next
|
bindl=, XF86AudioNext, exec, playerctl --player rhythmbox next
|
||||||
bindl=, XF86MonBrightnessUp, exec, brightnessctl set +5%
|
bindl=, XF86MonBrightnessUp, exec, brightnessctl set +5%
|
||||||
bindl=, XF86MonBrightnessDown, exec, brightnessctl set 5%-
|
bindl=, XF86MonBrightnessDown, exec, brightnessctl set 5%-
|
||||||
bindl=, Print, exec, grim
|
|
||||||
|
|
|
@ -9,17 +9,14 @@ This is just a bunch of dotfiles.
|
||||||
# Base utils
|
# Base utils
|
||||||
pacman -S bat duf eza htop inetutils kitty-terminfo neovim openssh ripgrep tmux transmission-cli tree wget whois zsh zsh-syntax-highlighting
|
pacman -S bat duf eza htop inetutils kitty-terminfo neovim openssh ripgrep tmux transmission-cli tree wget whois zsh zsh-syntax-highlighting
|
||||||
pacman -S shared-mime-info xdg-user-dirs
|
pacman -S shared-mime-info xdg-user-dirs
|
||||||
pacman -S reflector
|
|
||||||
pacman -S skim
|
pacman -S skim
|
||||||
# Rust
|
# Rust
|
||||||
pacman -S cargo-audit cargo-outdated cargo-release rustup
|
pacman -S cargo-audit cargo-outdated cargo-release rustup
|
||||||
# CLI software
|
# CLI software
|
||||||
pacman -S dog exiv2 gnupg imagemagick mkcert ncdu nmap pass playerctl python-shodan qrencode rsync shellcheck sqlmap yt-dlp
|
pacman -S dog exiv2 gnupg imagemagick mkcert ncdu nmap pass playerctl python-shodan qrencode rsync shellcheck sqlmap yt-dlp
|
||||||
# Hyprland
|
# Hyprland
|
||||||
pacman -S hyprland xdg-desktop-portal-hyprland wofi qt5-wayland qt6-wayland
|
pacman -S hyprland hyprpaper dunst xdg-desktop-portal-hyprland wofi wl-clipboard qt5-wayland qt6-wayland udiskie waybar otf-font-awesome brightnessctl
|
||||||
pacman -S pipewire wireplumber pipewire-audio pipewire-alsa pipewire-pulse pipewire-jack pipewire-x11-bell
|
pacman -S pipewire wireplumber pipewire-audio pipewire-alsa pipewire-pulse pipewire-jack pipewire-x11-bell
|
||||||
pacman -S brightnessctl dunst hyprpaper otf-font-awesome udiskie waybar wl-clipboard
|
|
||||||
pacman -S grim slurp
|
|
||||||
# Graphical software
|
# Graphical software
|
||||||
pacman -S atril firefox gedit gimp handbrake kitty mpv openshot pcmanfm rhythmbox ristretto sweethome3d tumbler thunderbird vlc zathura zathura-pdf-mupdf
|
pacman -S atril firefox gedit gimp handbrake kitty mpv openshot pcmanfm rhythmbox ristretto sweethome3d tumbler thunderbird vlc zathura zathura-pdf-mupdf
|
||||||
pacman -S gvfs xarchiver
|
pacman -S gvfs xarchiver
|
||||||
|
|
32
bin/update_mirrorlist
Executable file
32
bin/update_mirrorlist
Executable file
|
@ -0,0 +1,32 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
IFS=$'\n\t'
|
||||||
|
|
||||||
|
pacman_dir="/etc/pacman.d"
|
||||||
|
mirror_file="${pacman_dir}/mirrorlist"
|
||||||
|
mirror_pacnew="${mirror_file}.pacnew"
|
||||||
|
mirror_orig="${mirror_file}.orig"
|
||||||
|
mirror_tmp="/tmp/mirrorlist.tmp"
|
||||||
|
rank_util="rankmirrors"
|
||||||
|
|
||||||
|
if ! hash "$rank_util" 2>/dev/null; then
|
||||||
|
echo "$rank_util: command not found" >&2
|
||||||
|
echo "You may need to install the 'pacman-contrib' package." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "$mirror_pacnew" ]; then
|
||||||
|
echo "Using $mirror_pacnew"
|
||||||
|
mv "$mirror_pacnew" "$mirror_orig"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "$mirror_orig" ]; then
|
||||||
|
echo "$mirror_orig: file not found" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
awk '/^## France$/{f=1}f==0{next}/^$/{exit}{print substr($0, 2)}' "$mirror_orig" >"$mirror_tmp"
|
||||||
|
"$rank_util" -n 6 "$mirror_tmp" >"$mirror_file"
|
||||||
|
rm -f "$mirror_tmp"
|
||||||
|
pacman -Syy
|
Loading…
Reference in a new issue