Skip to content

Instantly share code, notes, and snippets.

View IAmMoltony's full-sized avatar
🎨
watching paint dry

Moltony IAmMoltony

🎨
watching paint dry
View GitHub Profile
@IAmMoltony
IAmMoltony / autorecon.sh
Created August 20, 2024 14:33
Script for auto reconnecting wifi
#!/usr/bin/env bash
network_name="wifi network name here"
notify-send "Autorecon started"
while true; do
if ! ping -c 2 google.com; then
notify-send "Network not networking, reconnect"
nmcli con up "$network_name"
@IAmMoltony
IAmMoltony / changewallpaper.service
Created May 3, 2024 13:34
systemd timer that changes wallpaper every 15 minutes
[Unit]
Description=Change Wallpaper Service
[Service]
Type=oneshot
ExecStart=/bin/bash -c 'DISPLAY=:0 XAUTHORITY=/home/YOUR_USERNAME/.Xauthority /usr/bin/feh --bg-fill --randomize "/WALLPAPER_FOLDER/$(ls /WALLPAPER_FOLDER/ | shuf -n 1)"'
@IAmMoltony
IAmMoltony / PlaylistDL.md
Last active April 4, 2024 12:47
YouTube Music Playlist Downloader

YouTube Music Playlist Downloader

Script for downloading a music playlist from YouTube. You will need yt-dlp installed on your computer.