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 | |
| # Colors for a more user-friendly interface | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| BLUE='\033[0;34m' | |
| YELLOW='\033[1;33m' | |
| NC='\033[0m' # No color | |
| printf "${BLUE}=== ConnMan Manager for Arch Linux ===${NC}\n" |
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 | |
| # Colors for a more user-friendly interface | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| BLUE='\033[0;34m' | |
| YELLOW='\033[1;33m' | |
| NC='\033[0m' # No color | |
| # Ensure it runs as a regular user, using sudo only when required |
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" |
NewerOlder