Skip to content

Instantly share code, notes, and snippets.

@rumly111
rumly111 / XfceWallPaperSync.fish
Created March 15, 2026 04:54
Workaround for Xfce 4.20 Wayland Wallpaper Bug
#!/usr/bin/fish
function sync_xfce_wallpaper
set SOURCE "monitorUMCSHARP"
set TARGET "monitorHDMI-A-1"
set CHANNEL "xfce4-desktop"
set props "backdrop-cycle-enable" "backdrop-cycle-random-order" "backdrop-cycle-timer" "color-style" "image-style" "last-image" "rgba1" "rgba2"
set types "bool" "bool" "int" "int" "int" "string" "rgba" "rgba"
@rumly111
rumly111 / mpv.conf
Created December 26, 2021 04:53 — forked from Ammly/mpv.conf
My mpv player configuration
#
# mpv configuration file
#
# Configuration files are read system-wide from /usr/local/etc/mpv.conf
# and per-user from ~/.config/mpv/mpv.conf, where per-user settings override
# system-wide settings, all of which are overridden by the command line.
deband=no
geometry=50%:50%
alang=en
@rumly111
rumly111 / PyJoy2Key.py
Last active March 16, 2026 03:33
Convert joystick to keyboard events. I made it for roguelikes. Infra Arcana bindings.
#!/usr/bin/env python3
"""
PyJoy2Key : translate joystick input to keyboard events.
Author : Joseph Botosh <rumly111@gmail.com>
License: GPL
Requirements: pygame or pygame_sdl2; xlib, uinput
Optimized for XBox360 controller, with roguelike games in mind.
@rumly111
rumly111 / tsd.py
Created July 20, 2019 14:30
transmission sequential download
#!/usr/bin/python3
# Monitor transmission and enable sequential downloads
# by manipulating file download priorities
#
# Author: Joseph Botosh <rumly111@gmail.com>
# License: GPL
from time import sleep
from argparse import ArgumentParser
@rumly111
rumly111 / jni-build.gradle
Created September 9, 2017 05:10 — forked from bitristan/jni-build.gradle
use gradle to compile jni with custom Android.mk
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.your.application.id"
minSdkVersion 15
targetSdkVersion 21