Skip to content

Instantly share code, notes, and snippets.

View martin5211's full-sized avatar

Martin Caminoa martin5211

View GitHub Profile
@martin5211
martin5211 / notifications_sync.md
Created July 24, 2026 16:27
Notifications for Waydroid in WSL

Create the following file ~/.local/bin/wsl-toast-daemon:

#!/usr/bin/env python3
# wsl-toast-daemon: implements org.freedesktop.Notifications on the session bus
# and forwards each notification as a Windows toast (via powershell.exe WinRT).
# Waydroid's session auto-detects this service at start and forwards Android
# notifications to it. Must run in a WSL session with Windows interop alive.
import os
import subprocess
import threading
@martin5211
martin5211 / clipboard_sync.md
Created July 24, 2026 16:11
Clipboard sync in Waydroid using WSL

Install the following dependencies:

sudo apt install wl-clipboard python3-pip
sudo pip3 install --break-system-packages pyclip

Add into ~/.config/weston.ini:

[autolaunch]
path=~/.local/bin/weston-clip-bridge