Show more

Wasn't sure how to control my screen brightness from the terminal but I knew the graphical desktop could control my brightness, so I searched how to control it that way using the dbus interface. Has the side-benefit that you could trigger graphical effects when the brightness level changes from a Bash script (i.e., have an icon of a lightbulb pop up) gist.github.com/tassaron/a8ecf Using this assigned to hotkeys until I can actually get my fn keys to work :P

Found this cool Plasma widget (plasmoid) which can run two different commands when toggling between on and off states, with configurable icon and option to run another command periodically store.kde.org/p/1297839/ I set it use Play/Pause icons and run `catt play` and `catt pause` to control my Chromecast

tassaron! :tassmuffin: boosted

i don't know how she can be comfortable in this position but she's purring happily #mastocats

I've updated my old Bash script that I used to shuffle wallpapers out of a directory, which also cropped and watermarked the images for me. Now it's just a utility for cropping, resizing, and watermarking wallpapers. Shuffling is removed so the code is a bit cleaner. Still a very useful script for me! gist.github.com/tassaron/e1e2e It can still be used for its original shuffling purpose if you put it in a wrapper script that uses hsetroot or ksetwallpaper or something, and call it with cron

I spentyears configuring Openbox with XML files and configuring a bunch of separate tools into a minimal graphical desktop. I really enjoy that. But Plasma is wonderful for when you just want things to work and not have to edit a bunch of text files, while still having an amazing level of configurability. And it is more modular, lighter on resources, and has better defaults than in the past. Hopefully they can get rid of the login splash screen eventually (it hides the slow start-up time)

The Spectacle screenshot tool is really good. Maybe not super beautiful with all its buttons, but it has the correct amount of functionality. You can configure it to make new directories for screenshots based on the time they're taken, and it can include the window title in the filename. Sadly it can't reliably make new folders per application, but that logically seems like a feature that could be coming in the future. Like all KDE programs, you can configure it a lot with the GUI. I love Plasma

On my old laptop I had separate directories for Pictures and Images, the former being only for photographs and latter for digital art and screenshots. For some reason KDE Neon has XDG_PICTURES_DIR set to the user's Home directory, and I don't store mountains of photos in my laptop anymore, so I set that to Images. I've done this before and usually it screws with file managers' icons and bookmarks. Dolphin actually handles it perfectly & still gives me a special Pictures folder icon for Images 😃📂

when I see marketing bullshit like this, I click NO out of pure spite. everyone is trying to get your data these days by offering a few bucks off... it's not worth it imo. Gather the data saying I'm a grumpy person who says no to everything you offer me

tassaron! :tassmuffin: boosted

An analysis of just how prevalent "dark patterns" such as fake urgency and deceptive graphics are on shopping sites:

webtransparency.cs.princeton.e

Now presenting: "Your Phone". From the creators of "My Documents". Only available for Their Windows 10

tassaron! :tassmuffin: boosted

Funny how scammers think a caller ID like "ONT GOVT" is believable, as if the government has ever clearly labelled something. Contact me with a name like "QUE PILON" and I'll have to think about it

Updated my Minecraft backup script to work similarly to the Stardew one, so it avoids name conflicts and makes the directory for me gist.github.com/tassaron/75bf1

I started playing Stardew Valley on Linux so updated my backup script accordingly. But you can still make it copy the Windows files if you set PLATFORM to wsl gist.github.com/tassaron/04eee

Actually I think I found that with DuckDuckGo but who's keeping tally? 🦆

I want something for Bash that's exactly like Python argparse, and a nice bonus feature would be having the option to save my config on first run and delete it later with --reset similar to how my rlyedit script currently works

Working on another shell script where it would be nice to have a proper argument parser similar to Python's argparse built-in module. First result in Google looks promising: github.com/ekeyme/bash-argpars

tassaron! :tassmuffin: boosted

> Software architecture probably matters more than anything else. A shitty implementation of a good abstraction causes no net harm to the code base. A bad abstraction or missing layer causes everything to rot.

This feels very true.

chriskiehl.com/article/thought

tassaron! :tassmuffin: boosted

Heads up: If you run your Mastodon server from what was previously known as the "master" branch you'll need to switch to the "main" branch

Found a working unofficial launcher for Minecraft Bedrock which runs the Android version on my Linux desktop 😃

Show more
tassaron dot com

This is Brianna's federated microblog homepage! To follow my posts, find another Mastodon instance and join the fediverse.