Skip to content

Instantly share code, notes, and snippets.

View fsantand's full-sized avatar
🗿
🤙🏻🗿🤙🏻

Federico Santander fsantand

🗿
🤙🏻🗿🤙🏻
View GitHub Profile
@fsantand
fsantand / orbit.key
Created October 20, 2026 14:01
Orbit: public key used to verify in-app pings
a49c40f517fa9151b4d2044b54ececa46025a31325d82b73e8b8fe2e89042b75
@fsantand
fsantand / wireplumber_audio_switcher.py
Last active November 20, 2025 04:37
Wireplumber switcher for rofi/dmenu
#!/usr/bin/python3
#Copyright 2025 fsantand
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
#The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
#THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTW
@fsantand
fsantand / audio-switcher
Created November 22, 2023 14:02
[Pipewire/Wireplumber] - Shortcut to change between multiples sinks/sources
wpctl status -n | grep $1 | awk '/vol/{print$2$3$4}' | sed 's/\*//' | sed 's/.alsa.*//' | xargs -I {} wpctl set-default {}