jan75

joined 4 years ago
[–] jan75@lemmy.ml 8 points 3 weeks ago (1 children)

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 41 points 1 month ago (5 children)

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 2 points 2 months ago

There is a good movie about this called "The Lunchbox": https://www.themoviedb.org/movie/191714-the-lunchbox

It's not exactly about the lunchbox system, but the Dabbawala system is pretty central to the movie.

 

I stole your title template @TehBamski@lemmy.world because i like it :)

I like the actresses and actors, especially John Cusack (who is just a fantastic actor in general) and Jack Black, who stands out in another role that just feels like it's made for him (the other being School of Rock).

The film also makes good use of its soundtrack and music in general and has some funny scenes, along with a simple but well paced main plot.

[–] jan75@lemmy.ml 3 points 3 months ago* (last edited 3 months ago)

Can second this recommendation, very good movie! Spoilers ahead:

spoilerI love the fact that it is a movie about aliens without any violent conflict but rather focused on interacting with the aliens some way

[–] 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 (1 children)

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 (1 children)

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 :)

view more: next ›