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 -e | |
| ######################################## | |
| # Flatpak Uninstaller Selector | |
| ######################################## | |
| # Ensure flatpak is installed | |
| if ! command -v flatpak >/dev/null 2>&1; then | |
| echo "❌ Flatpak is not installed. Please install it first." |
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 -e | |
| ######################################## | |
| # Snap Uninstaller Selector | |
| ######################################## | |
| # Ensure snap is installed | |
| if ! command -v snap >/dev/null 2>&1; then | |
| echo "❌ Snap is not installed. Please install it first." |
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 | |
| # chmod +x reduce-dot-git-folder-size.sh | |
| # Exit immediately if a command exits with a non-zero status | |
| set -e | |
| # Check if a path argument was provided | |
| if [ -z "$1" ]; then | |
| echo "❌ Error: Please provide a path to the Git repository." |
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
| { pkgs, ... }: { | |
| # ...another config | |
| # 1. Enable Bluetooth with High-Fidelity Codec Support | |
| hardware.bluetooth = { | |
| enable = true; | |
| powerOnBoot = true; | |
| }; |
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
| ...previous config | |
| ## chromium fix | |
| programs.nix-ld.enable = true; | |
| programs.nix-ld.libraries = with pkgs; [ | |
| nspr | |
| nss | |
| libdrm | |
| mesa | |
| alsa-lib |
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 | |
| # Minimal XFCE desktop setup for Alpine Linux with error handling | |
| set -euo pipefail | |
| # Function to print messages | |
| log() { | |
| echo "[INFO] $*" | |
| } |
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 | |
| # Install MSYS2 if missing, then install GNU utilities and expose them in Git Bash | |
| # Includes silent installer run, path conversion, error handling, and visible linking progress | |
| set -euo pipefail | |
| MSYS_DIR="/c/msys64" | |
| MSYS_BIN="$MSYS_DIR/usr/bin" | |
| INSTALLER_URL="https://github.com/msys2/msys2-installer/releases/latest/download/msys2-x86_64-latest.exe" | |
| INSTALLER_PATH="/c/Users/$(whoami)/Downloads/msys2-installer.exe" |
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 | |
| # Script to expose Windows executables in Git Bash with progress indicator | |
| WIN_DIRS=( | |
| "/c/Windows" | |
| "/c/Windows/System32" | |
| "/c/Windows/SysWOW64" | |
| "/c/Program Files" | |
| "/c/Program Files (x86)" | |
| ) |
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 | |
| # Switch Fedora to KDE Plasma Desktop using dnf5 with --skip-unavailable | |
| # Includes backup of current display manager config | |
| set -e | |
| echo "Updating system..." | |
| dnf5 -y upgrade --skip-unavailable | |
| echo "Installing KDE Plasma Desktop..." |
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 | |
| log() { echo -e "\033[1;32m[INFO]\033[0m $*"; } | |
| err() { echo -e "\033[1;31m[ERROR]\033[0m $*" >&2; } | |
| detect_distro() { | |
| if command -v dnf &>/dev/null; then echo "fedora" | |
| elif command -v apt &>/dev/null; then echo "debian" | |
| elif command -v pacman &>/dev/null; then echo "arch" |
NewerOlder