[-] jan75@lemmy.ml 8 points 2 weeks ago

I've written a bash script i'm using daily, maybe you can adapt it to your needs. I'm using pipewire-pulse. It's probably not perfect but it does the job:

#!/usr/bin/env bash
DEVICE=$1

# read input, parse list of available sinks (outputs)
if [ "$DEVICE" = "pc" ]
then
	OUTPUT=($(pactl list short sinks | awk '{print $2}' | grep -i -E 'hdmi|samson|Targus' -v))
elif [ "$DEVICE" = "tv" ]
then	
	OUTPUT=($(pactl list short sinks | awk '{print $2}' | grep -i -E 'hdmi'))
else
	echo "No valid input (must be either 'pc' or 'tv')"
	exit -1
fi

# get all currently connected streams
INPUTS=($(pactl list short sink-inputs | awk '{print $1}'))

# change default sink (for new audio outputs)
pactl set-default-sink $OUTPUT

# switch sink for existing audio outputs
for i in "${INPUTS[@]}"
do
	pactl move-sink-input $i $OUTPUT
done

# use notify-send to send a visual notification to the user that the sink changed
notify-send -c info "Default sink changed" "Changed default sink and sink-inputs to $OUTPUT"
[-] jan75@lemmy.ml 40 points 1 month ago

Is it really possible to sign away a right to sue a company, especially hidden in an EULA? For an unrelated service as well... I guess that's something the court must decide in the end.

It's a pity that a company who created so many beloved stories and characters fell so low.

[-] jan75@lemmy.ml 2 points 2 months ago

Thanks, i keep missing this!

[-] jan75@lemmy.ml 6 points 3 months ago

If you are "forced" to use WhatsApp because many of your contacts are using it, you could use it to run WhatsApp and set-up a bridge to Matrix: https://docs.mau.fi/bridges/go/setup.html?bridge=whatsapp

[-] jan75@lemmy.ml 34 points 4 months ago

Not exactly the same, but the swiss administration have their own mastodon instance: https://www.swissinfo.ch/eng/business/swiss-authorities-to-join-social-media-alternative-mastodon/48808086

Link to instance: https://social.admin.ch/about

[-] jan75@lemmy.ml 2 points 1 year ago

Very cute! :)

[-] jan75@lemmy.ml 4 points 1 year ago* (last edited 1 year ago)

It seems to be down right now, but if i remember correctly this one also works when you are using a terminal and curl, i.E. curl wttr.in/newyork

Edit: It works again, you can use the command as written above :D

[-] jan75@lemmy.ml 6 points 1 year ago

Maybe Broadchurch? British crime series with David Tennant, Jodie Whittaker (two doctors) and Olivia Colman

[-] jan75@lemmy.ml 2 points 1 year ago

Thanks, that sounds like a good mix between story and gameplay.

[-] jan75@lemmy.ml 1 points 1 year ago

Thanks for the suggestion, already read and enjoyed it :)

[-] jan75@lemmy.ml 5 points 1 year ago

Don't have time right now and i never played the originals, but i read great things. Seems like a pretty weird mix between mechanics, but great if the developers pulled it off. Glad to hear you're enjoying it as well!

Is there a story or is it "just" mission after mission?

[-] jan75@lemmy.ml 2 points 1 year ago

The Mask of Mirrors by M.A. Carrick.

It's fantasy, but feels pretty fresh to me with the focus being on the main characters trying to con a rich family and less of the more usual (but no less fun) adventuring, combat etc. (at least so far, I'm still very early in the book).

view more: next ›

jan75

joined 4 years ago