This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # ThinkPad T14 Gen 5 (Ryzen) Post-Install Optimization Script for Arch Linux | |
| set -euo pipefail | |
| # Colors | |
| G='\033[0;32m' Y='\033[1;33m' R='\033[0;31m' NC='\033[0m' | |
| (( EUID == 0 )) || { echo -e "${R}Error: Must be run as root.${NC}"; exit 1; } | |
| echo -e "${Y}==> Starting ThinkPad T14 Gen 5 Optimization...${NC}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| RULE_FILE="/etc/udev/rules.d/99-atk-mouse.rules" | |
| ATK_VIDS=("373b" "3554" "25a7") | |
| echo "🚀 Launching Clean ATK Setup (Group-Free)..." | |
| # 1. Root check | |
| if [[ $EUID -ne 0 ]]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Optimized CachyOS/Arch Post-Installation Script for AMD/Wayland (Niri) | |
| # Author: Speyll | |
| set -e # Exit on error | |
| # Ensure script is not invoked directly as root | |
| TARGET_USER="${SUDO_USER:-$USER}" | |
| if [ "$TARGET_USER" = "root" ]; then | |
| echo "Error: Do not run this script directly as root or via 'sudo ./script.sh'." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Debian Linux Post-Installation Script for Wayland | |
| # Author: Speyll | |
| # Last-update: 11-12-2024 | |
| # NOTE: As of Debian 12 (Bookworm Stable), while Waybar and Neovim settings function, | |
| # the Waybar height is misconfigured and Lua scripts for Neovim fail to load due to outdated packages. | |
| # For improved compatibility, consider using the Testing branch. Future Debian versions may not require this adjustment. | |
| # Enable debugging output and exit on error |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Void Linux Post-Installation Script for Wayland | |
| # Author: Speyll | |
| # Last-update: 20-03-2025 | |
| # Enable debugging output and exit on error | |
| set -x | |
| # Add multilib and nonfree repositories | |
| sudo xbps-install -Sy void-repo-nonfree |