Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)JA
jan75 @lemmy.ml
Posts 2
Comments 25
Select Audio Output Via Command Line
  • 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"
    
  • High Fidelity (2000) ⭐ 7.4 | Comedy, Drama, Music

    I stole your title template @[email protected] 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.

    8
    Arrival (2016) ⭐ 7.9 | Drama, Mystery, Sci-Fi
  • Can second this recommendation, very good movie! Spoilers ahead:

    spoiler

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

  • Frontend vs backend
  • 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

  • Swiss residents satisfied with health insurance benefits but not costs
  • If you are below a certain taxable income you get a reduction to premiums, which is pretty nice. This happens automatically based on your last tax report, so it's not a case of aid being available, but not being used because people don't know about it or are too shy to ask for it.

    Obviously this doesn't solve the problem of rising premiums / health costs, but at least it helps people with small incomes.

  • Check out game 1 of the Ryiadh Major Playoffs

    Pretty great game already, first game of the playoffs.

    teams

    Quest Esports and Talon Esports

    results

    Talon wins it after Quest sucessfully defend against mega creeps for some time.

    4
    Was bringt Ihr aus einem Italienurlaub auf jeden Fall mit nach Hause?
  • Letztes Jahr war es Sonnencreme - die habe ich dort gekauft weil ich befürchtete dass mir meine mitgenommene ausgeht. Jetzt hat sich herausgestellt dass das die beste Sonnencreme ist, die ich jemals gekauft habe. Zieht super ein, riecht kaum und war sogar etwas günstiger als in der Schweiz :D

  • Anyone else loving Jagged Alliance 3?
  • 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?

  • The Fifth Element (1997 4K)
  • One of my favourite movies ever. Campy at times yes, but it's just so much fun and also contains the odd commentary about society (i think, I'm horrible about picking up cues like this).

  • What book are you in the middle of reading right now?
  • 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).

  • John Cusack inside Hollywood: They get away with it because they can
  • What's up with the writing - seems kinda weird, are the tweets real? I don't have twitter so i (semmingly?) can't check myself.

    I like John Cusack, he's a great actor and seems like a decent human being, so no big deal either way but just wondering what's up with that.