From a8cadd898cc2086aeafde804e420ce45d593993f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 15 Oct 2023 12:55:51 +0200 Subject: [PATCH 1/4] Add a screenshot utility for Wayland --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dc30127..ae7178e 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ pacman -S cargo-audit cargo-outdated cargo-release rustup # CLI software pacman -S dog exiv2 gnupg imagemagick mkcert ncdu nmap pass playerctl python-shodan qrencode rsync shellcheck sqlmap yt-dlp # Hyprland -pacman -S hyprland hyprpaper dunst xdg-desktop-portal-hyprland wofi wl-clipboard qt5-wayland qt6-wayland udiskie waybar otf-font-awesome brightnessctl +pacman -S hyprland hyprpaper dunst xdg-desktop-portal-hyprland wofi wl-clipboard qt5-wayland qt6-wayland udiskie waybar otf-font-awesome brightnessctl grim pacman -S pipewire wireplumber pipewire-audio pipewire-alsa pipewire-pulse pipewire-jack pipewire-x11-bell # Graphical software pacman -S atril firefox gedit gimp handbrake kitty mpv openshot pcmanfm rhythmbox ristretto sweethome3d tumbler thunderbird vlc zathura zathura-pdf-mupdf From 4bc35ac815cd401520d8f29ee860d8422180384e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 15 Oct 2023 13:11:04 +0200 Subject: [PATCH 2/4] Use reflector instead of a custom script --- README.md | 1 + bin/update_mirrorlist | 32 -------------------------------- 2 files changed, 1 insertion(+), 32 deletions(-) delete mode 100755 bin/update_mirrorlist diff --git a/README.md b/README.md index ae7178e..c34d70c 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ This is just a bunch of dotfiles. # 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 shared-mime-info xdg-user-dirs +pacman -S reflector pacman -S skim # Rust pacman -S cargo-audit cargo-outdated cargo-release rustup diff --git a/bin/update_mirrorlist b/bin/update_mirrorlist deleted file mode 100755 index 94325f0..0000000 --- a/bin/update_mirrorlist +++ /dev/null @@ -1,32 +0,0 @@ -#!/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 From 60614762208977a4b99e3b2de7beea279435b271 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 15 Oct 2023 17:57:41 +0200 Subject: [PATCH 3/4] Add the screenshot key --- .config/hypr/hyprland.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 1b8736d..5754a2a 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -173,3 +173,4 @@ bindl=, XF86AudioPrev, exec, playerctl --player rhythmbox previous bindl=, XF86AudioNext, exec, playerctl --player rhythmbox next bindl=, XF86MonBrightnessUp, exec, brightnessctl set +5% bindl=, XF86MonBrightnessDown, exec, brightnessctl set 5%- +bindl=, Print, exec, grim From f7f73d7fb687846b1ca090dfb735e6777f133b1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 15 Oct 2023 17:58:13 +0200 Subject: [PATCH 4/4] Reorder the Hyprland related packages --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c34d70c..5e1f70f 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,10 @@ pacman -S cargo-audit cargo-outdated cargo-release rustup # CLI software pacman -S dog exiv2 gnupg imagemagick mkcert ncdu nmap pass playerctl python-shodan qrencode rsync shellcheck sqlmap yt-dlp # Hyprland -pacman -S hyprland hyprpaper dunst xdg-desktop-portal-hyprland wofi wl-clipboard qt5-wayland qt6-wayland udiskie waybar otf-font-awesome brightnessctl grim +pacman -S hyprland xdg-desktop-portal-hyprland wofi qt5-wayland qt6-wayland 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 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