Skip to content

Instantly share code, notes, and snippets.

View tinywrkb's full-sized avatar
💭
I may be slow to respond. New day job, and sadly away from computers.

tinywrkb

💭
I may be slow to respond. New day job, and sadly away from computers.
View GitHub Profile
@tinywrkb
tinywrkb / btswitch
Last active February 6, 2024 10:09
NOT NEEDED WITH 0.3.21 OR GIT VERSION | PipeWire Pulse Server Bluetooth Auto-Switch
#!/bin/bash
#
# ~/.local/bin/btswitch
#
# wait a second this is too fast for udev
sleep 1
btdev="$(pactl list sinks|grep Name|grep 'bluez.*.a2dp.sink'|sed 's/Name: //'|sed 's/\s//')"
if [ -n "$btdev" ]; then
@tinywrkb
tinywrkb / qtwebengine_generate_dependent_app_list.sh
Created January 2, 2022 15:19
qtwebengine_generate_dependent_app_list
#!/bin/bash
rt513_apps=()
rt514_apps=()
rt515_apps=()
rt5152108_apps=()
rt62_apps=()
echo "Finding apps the use the QtWebEngine BaseApp..."
for app in $(flatpak remote-ls --system --app flathub 2>/dev/null | cut -f2); do