Remus86

joined 1 month ago
[–] Remus86@lemmy.zip 7 points 3 days ago

I use a Beelink SER5, but that's because I also plan to set it up to be a retro game console, in addition to streaming.

[–] Remus86@lemmy.zip 4 points 1 week ago (1 children)

Ivan Cukic has ported the Bismuth window decoration to Plasma 6.

https://github.com/ivan-cukic/kwin6-bismuth-decoration

[–] Remus86@lemmy.zip 1 points 1 month ago* (last edited 1 month ago)

Do this instead to treat name as a locally scoped variable:

foo() {
    local name="$1"
    read -r -p "delete $name (default is no) [y/n]? " choice
    choice="${choice:-n}"
    echo "\$choice: $choice"
}

printf "%s\n" "foo" "bar" "baz" "eggs" "spam" | while read -r name; do
    foo "$name"
done