2023-06-08 12:36:39 +02:00
2023-05-28 21:35:02 +00:00
2023-05-28 18:01:41 +02:00
2023-06-08 12:36:39 +02:00
2023-06-08 12:36:39 +02:00
2023-05-28 18:01:41 +02:00
2023-05-28 21:35:02 +00:00
2023-05-28 21:35:02 +00:00
2023-05-28 18:01:41 +02:00
2023-05-28 18:01:41 +02:00
2023-06-08 12:36:39 +02:00
2023-05-28 21:35:02 +00:00
2023-05-28 21:35:02 +00:00

patch-manjaro-sway-mirror-for-arm

The patch-manjaro-sway-mirror-for-arm package is a specialized package designed for Manjaro Linux users running the Sway window manager on ARM-based systems. This package provides a convenient solution for patching or modifying mirror configurations specific to the Manjaro Sway environment.

Features

  • Observes the /usr/bin/manjaro-sway-mirrors file for changes.
  • Automatically executes a sed command to modify mirror configurations.
  • Changes the output of $(pacman-mirrors -G) from "arm-stable" to "stable".

Usage

The package includes a POSIX-compatible script, patch-manjaro-sway-mirror-for-arm.sh, which offers a command-line interface with various options:

Usage: patch-manjaro-sway-mirror-for-arm.sh [OPTIONS] [FILE] [SEARCH_PATTERN] [REPLACE_PATTERN]

Options:
  -t, --target-file       Specify the target file (default: /usr/bin/manjaro-sway-mirrors)
  -s, --search-pattern    Specify the search pattern (default: $(pacman-mirrors -G))
  -r, --replace-pattern   Specify the replace pattern (default: $(pacman-mirrors -G | sed 's/^arm-//'))
  --dry-run               Perform a dry run without modifying the file
  --help                  Display usage information

Installation

To install patch-manjaro-sway-mirror-for-arm, follow these steps:

  1. Clone the repository or download the package.
  2. Run the installation command:
sudo pacman -U patch-manjaro-sway-mirror-for-arm.pkg.tar.zst

License

This package is licensed under the MIT License.

Contributions

Contributions to the project are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a merge request.

Nix Flake commands

# nix flake are experimental and required following options --experimental-features 'nix-command flakes'
# create alias for nix --experimental-features 'nix-command flakes'

alias nixe && echo Alias for nixe exists || alias nixe="nix --experimental-features 'nix-command flakes'"

# build 
nixe build

# run
nixe run

# open development shell
nixe develop

# update flake.lock
nixe run .#devTasks.updateFlakeLock

# tag project
nixe run .#devTasks.autoTag

Description
No description provided
Readme 43 KiB
Languages
Shell 61.2%
Nix 38.8%