aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:54:17 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:54:17 +0100
commit87033a4fb88c29e8184ed70817f1a03bad1f246e (patch)
tree0d9483b4160f7fed1c92bcaae70172db255d5404
parente6f0fc732459a2ec38edb0368eba1c1e3cde39da (diff)
downloaddotfiles-87033a4fb88c29e8184ed70817f1a03bad1f246e.tar.gz
dotfiles-87033a4fb88c29e8184ed70817f1a03bad1f246e.tar.bz2
dotfiles-87033a4fb88c29e8184ed70817f1a03bad1f246e.zip
chore: trim comments from etc configs
- orphans.hook: remove commented-out alternative Exec line - reflector.conf: strip comment bloat, keep only active settings
-rw-r--r--etc/pacman.d/hooks/orphans.hook1
-rw-r--r--etc2/xdg/reflector/reflector.conf32
-rwxr-xr-xhome/.local/bin/curlfire29
3 files changed, 0 insertions, 62 deletions
diff --git a/etc/pacman.d/hooks/orphans.hook b/etc/pacman.d/hooks/orphans.hook
index 48c1d8d..aae9148 100644
--- a/etc/pacman.d/hooks/orphans.hook
+++ b/etc/pacman.d/hooks/orphans.hook
@@ -9,4 +9,3 @@ Target = *
Description = Searching for orphaned packages...
When = PostTransaction
Exec = /usr/bin/bash -c "/usr/bin/pacman -Qtd || /usr/bin/echo '==> no orphans found.'"
-#Exec = /usr/bin/bash -c "[[ if $(/usr/bin/pacman -Qtdq) = 0 ]] && /usr/bin/pacman -Rns $(/usr/bin/pacman -Qtdq) || /usr/bin/echo '==> No orphaned packages found.'"
diff --git a/etc2/xdg/reflector/reflector.conf b/etc2/xdg/reflector/reflector.conf
index 64767b9..a5dd94d 100644
--- a/etc2/xdg/reflector/reflector.conf
+++ b/etc2/xdg/reflector/reflector.conf
@@ -1,39 +1,7 @@
-# Reflector configuration file for the systemd service.
-#
-# Empty lines and lines beginning with "#" are ignored. All other lines should
-# contain valid reflector command-line arguments. The lines are parsed with
-# Python's shlex modules so standard shell syntax should work. All arguments are
-# collected into a single argument list.
-#
-# See "reflector --help" for details.
-
-# Recommended Options
-
-# Set the output path where the mirrorlist will be saved (--save).
--save /etc/pacman.d/mirrorlist
-
-# Select the transfer protocol (--protocol).
-# --protocol https
-
-# Select the country (--country).
-# Consult the list of available countries with "reflector --list-countries" and
-# select the countries nearest to you or the ones that you trust. For example:
--country Spain,Portugal,France,Switzerland,Germany,Netherlands
-
-# Use only the most recently synchronized mirrors (--latest).
-# --latest 12
-
-# Sort the mirrors by synchronization time (--sort).
-# --sort age
-
--age 12
-
--completion-percent 100
-
--sort score
-
-#--connection-timeout 2
-
--fastest 10
-
--threads 12
diff --git a/home/.local/bin/curlfire b/home/.local/bin/curlfire
deleted file mode 100755
index 33e1590..0000000
--- a/home/.local/bin/curlfire
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-set -o errexit
-set -o nounset
-set -o pipefail
-
-profile=default-default
-skip=
-args=()
-for var in "$@"; do
- # Ignore known bad arguments
- case "$var" in
- -P)
- skip=yes
- ;;
- *)
- if [ -z "$skip" ]; then
- args+=("$var")
- else
- profile=$var
- fi;
- skip=
- esac;
-done
-
-
-curlcookies="$(mktemp /tmp/curlcookies.XXXXXXXXXX)"
-cookiefire "$profile" > "$curlcookies"
-curl -b "$curlcookies" "${args[@]}" ;