Skip to content

Instantly share code, notes, and snippets.

View Speyll's full-sized avatar
🍋

Speyll Speyll

🍋
  • 05:07 (UTC +01:00)
View GitHub Profile
@Speyll
Speyll / atk-linux-hid-setup.sh
Last active July 24, 2026 16:28
Robust udev rule generator for ATK/VXE mice and keyboards on Linux. Enables WebUSB access for ATK HUB (hub.atk.pro) and generic raw HID access. Supports multiple Vendor IDs (373b, 3554) and automates group permissions.
#!/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
#!/bin/bash
# Optimized CachyOS Post-Installation Script for AMD/Wayland (Niri)
# Author: Speyll
set -e # Exit on error
# 1. Force Ultimate Parallel Network Optimization
echo "Optimizing pacman configurations..."
sudo sed -i 's/^#ParallelDownloads = .*/ParallelDownloads = 10/' /etc/pacman.conf
@Speyll
Speyll / auto-debian.sh
Last active February 10, 2025 01:12
Short, simple and easy to understand shell scripts to automate Debian post-installation with a wayland setup, you can play around with it as you see fit.
#!/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
@Speyll
Speyll / auto-void.sh
Last active July 15, 2026 03:25
Short, simple and easy to understand shell scripts to automate Void Linux post-installation with a wayland setup, you can play around with it as you see fit.
#!/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