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 | |
| REAL_BIN="/usr/bin/onedrive" | |
| WRAPPER="$HOME/.local/bin/onedrive" | |
| CONFIG_DIR="$HOME/.config/onedrive" | |
| CONFIG_FILE="$CONFIG_DIR/config" | |
| SYNC_DIR="$HOME/OneDrive" | |
| SERVICE_DIR="$HOME/.config/systemd/user" | |
| SERVICE_FILE="$SERVICE_DIR/onedrive-safe.service" |
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 | |
| WRAPPER="$HOME/.local/bin/dropbox" | |
| DROPBOXD="$HOME/.dropbox-dist/dropboxd" | |
| DROPBOX_CLI="$HOME/.local/lib/dropbox/dropbox.py" | |
| SERVICE_DIR="$HOME/.config/systemd/user" | |
| SERVICE="$SERVICE_DIR/dropbox.service" | |
| install_deps() { |
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 -u | |
| trap 'echo; echo "[EXIT] Interrupted."; exit 0' SIGINT | |
| color() { | |
| case "$1" in | |
| red) printf '\033[0;31m%s\033[0m\n' "$2" ;; | |
| green) printf '\033[0;32m%s\033[0m\n' "$2" ;; |
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 | |
| # wayland-ozone-doctor - v 2 | |
| # Manual healthcheck + repair for Chromium/Electron Wayland resize/compositor issues (Arch/KDE). | |
| # Commands: | |
| # - check : short headless Wayland probe (colors + spinner) | |
| # - fix : apply max-stability configs (force X11) + write per-app flags files (best-effort) | |
| # - fix-wrap : create per-app wrappers in ~/.local/bin (strongest per-app enforcement) | |
| # - install : self-install to ~/.local/bin/wayland-ozone-doctor |
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
| nano watchops-v2.sh | |
| chmod +x watchops-v2.sh | |
| ./watchops-v2.sh menu | |
| sudo pacman -S libnewt dialog | |
| brew install newt dialog | |
| ./watchops-v2.sh add-watch "LivingRoom-Japan" quartz 5 when_exceeds "Reloj grande living" |
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
| sudo tee /usr/local/bin/fix-osint-python >/dev/null <<'EOF' | |
| #!/usr/bin/env bash | |
| sudo cp -an /usr/lib/python3.13/site-packages/* /usr/lib/python3.14/site-packages/ 2>/dev/null || true | |
| echo "[OK] Synced python3.13 site-packages -> python3.14" | |
| EOF | |
| sudo chmod +x /usr/local/bin/fix-osint-python | |
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
| # -*- coding: utf-8 -*- | |
| import contextlib | |
| import json | |
| import os | |
| import platform | |
| import re | |
| import shutil | |
| import ssl |
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 | |
| echo "=== Clean and safe Flutter-Bin installation ===" | |
| # Function to remove packages if installed | |
| remove_if_installed() { | |
| for pkg in "$@"; do | |
| if pacman -Qi "$pkg" &>/dev/null || yay -Qi "$pkg" &>/dev/null; then | |
| echo "-> Removing conflicting package: $pkg" |
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 | |
| # Detect the package manager | |
| if command -v pacman &> /dev/null; then | |
| PACKAGE_MANAGER="pacman" | |
| INSTALL_CMD="sudo pacman -S --noconfirm" | |
| elif command -v apt &> /dev/null; then | |
| PACKAGE_MANAGER="apt" | |
| INSTALL_CMD="sudo apt install -y" | |
| elif command -v dnf &> /dev/null; 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 | |
| set -e | |
| PACMAN_CONF="/etc/pacman.conf" | |
| REPO_NAME="gnlz" | |
| REPO_URL="https://gnlz.cl/repo/\$arch" | |
| if grep -q "^\[$REPO_NAME\]" "$PACMAN_CONF"; then | |
| echo ">> Repository [$REPO_NAME] already exists in $PACMAN_CONF" | |
| else |
NewerOlder