No, no, it's fine -- I saw a Python2 sample squeeblimator that was never fully fleshed out. I just need to rewrite it... dodge the deprecations... use a few list comprehensions...
The next dev 5 years in the future: wtf is this?
I also have a user for your partner
Not unique, but we are now kindred (I did the same <:)
I think I mentioned it but here it is again in case the comment didnt federate
click to enlarge
# snippet based on end4 dotfiles -- FIXME edge case where a
# preexisting tmp.png might be overwritten
# English
bind = Super+Shift,T,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l eng "tmp.png" - | wl-copy && rm "tmp.png"
# Korean
bind = Super+Shift,K,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l kor "tmp.png" - | wl-copy && rm "tmp.png"
# Japanese
bind = Super+Shift,J,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l jpn "tmp.png" - | wl-copy && rm "tmp.png"
Pipe grim and slurp (selects part of the Wayland screen then copies) into a tmp.png, tesseract it into the clipboard, then delete the tmp.png. Has like 1 sec of lag tho :]
WRONG COMMENT
LOL I've never seen that before.
Do you use them both at the same time? Or do you switch between them rapidly? (Maybe you could make a taskbar button-toggle if it's the latter!)
A custom EFI app? Is that like a handrolled Unified Kernel Image with some Proxmox-specific addons in it? How'd you make it?
ooh I should do that for Obsidian instead of having an enormous directory of Pasted Image 202302050124300845012.pngs. =◡=
Triangulating your location. Are you... in the Milky Way Galaxy
?
(Thanks for reminding me to limit accumulator charge)
edit: based on the other commenter I think I might be missing a simpler declarative way to do this. The following will be kept for posterity though
The main idea is:
- Use Window Titler to add a title. For me, if I want it on workspace 7, I title the window "7". (NOTE: The title will probably appear like [title], see below)
- Make a script that queries the window manager, and then dispatches a movement to the appropriate workspace. In Hyprland that might be
hyprctl -j
which gives
... json blahblah
"title": "[7] What's a unique customization on your Linux machine you think no one else has? - tchncs — Mozilla Firefox"
... json blahblah
but in Sway it might be something similar to using swaymsg. Only titled windows will have the bracket number thing so just regex that part
- Put it in autostart. Because Firefox takes a while to load on my junk machine I
sleep
for like 30 seconds to a minute before all the titles register.
pasting from my keybind config
# snippet based on end4 dotfiles -- FIXME edge case where a
# preexisting tmp.png might be overwritten
# English
bind = Super+Shift,T,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l eng "tmp.png" - | wl-copy && rm "tmp.png"
# Korean
bind = Super+Shift,K,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l kor "tmp.png" - | wl-copy && rm "tmp.png"
# Japanese
bind = Super+Shift,J,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l jpn "tmp.png" - | wl-copy && rm "tmp.png"
I just pipe grim and slurp (i.e. select part of the Wayland screen then copy) into a temporary png, tesseract it into the clipboard, then delete the temporary png.
edit: clarified
Awesome...
Care to share the video/code? I actually have something similar (Corsair Scimitar's macro customizer doesn't work on Linux
As I was writing this I found a project that deals with Corsair MMO mice on Linux so now I will be going on an egg hunt.
Just wondering since I know a lot of people quietly use a screen-area-select -> tesseract OCR -> clipboard shortcut.
- I separate subjects of interest into different Firefox windows, in different workspaces -- so I have an extension title them and a startup script parse text to ask the compositor to put them in the correct workspace (lets me restart more conveniently).
- I have automatically-set different-orientation wallpapers for using my 2-in-1 depending on whether I use it in portrait or landscape (kind of just for looks, but I don't think if anyone else adds a wallpaper change to their screen rotation keybind).
LOL yeah that's a nice thing to put in the company search history
I dotted up my dwm install?
Its kind of verbable :p
Ebbin my neezerinstall until it scrooges
No, Gentoo is alive! I can catch up to upstream Firefox's LTO+Clang+PGO optimizations and use my own version of Debian alternatives and save 3MB by removing iso9660 support from REFind!
It seems pretty alive to me though. 5/25 of the month-top-posts in r/unixporn have it in the title, and I'm sure more are present in the comments. And a lot of YT videos on it still mention it.
The old thread about it covers both sides of the coin.
Basically, "ricing" insulted weird Asian car customizations -> "ricing" became a more generic "weird" customization term (this is the most famous transitive example I can think of) -> ricing's origin was forgotten by a decent amount of people. (I mentioned it in the first spoilered text)
But I'd like to keep the focus on yoloing a term out of nowhere :D
I'd learned about this last week, and this stuff is a bunch of Wikipedia searches so forgive me if I miss anything :]
Similar to git master and whitelist/blacklist having addressed racist origins, I've just learned that "ricing" -- i.e. way-far-from-default, colorfully souped-up \*nix customizations -- came from a derogatory word for Asian "riced out" cars.
(click to enlarge spot where I came to learn about this)
---
Example in the lemmy.ml/c/linux community. !
The linked Wikipedia article doesn't list \*nix ricing specifically, but it's probably not a far reach -- for example, tech's master-slave came from cars too.
---
Now I'm not here to start a debate on whether the term itself is bad. The arguments are done to death and predictable (old threadhope I can link here). Rather, I posit that we could probably invent a new term if we forced it hard enough.
For example, 4chan forcibly invented the use of the ok hand for "white power", as a collective prank (Wikipedia).
Further, Tumblr invented 'then beg' as an insult response to 'I beg your pardon/to differ'. (click to enlarge)
Based on Pukicho.
So why can't Lemmy invent something too?
I surmise it has to be (1) somewhat unique and (2) short and nounable/verbable.
- Customization doesn't fit -- it's too broad. Changing the wallpaper is a customization -- diagonalizing your screen is a rice (term to be replaced...).
- Bespoke doesn't fit either. That's for a duct-tape script you hack together.
- Pimping out... is not a good alternative. It preexists(citation needed?) and has inertia but it's not any better.
- Souping up... doesn't roll off the tongue so much. But it's food-related (and thus not far from "rice"). Though I can't see myself saying "Yo, check out this epic soup."
Brainstorming welcome :P
When I was younger I memorized this in three (3) steps to use at zero (0) family gatherings... is it cheating if my stupidest joke is the only one I can recall instantly? :]
Warning: this joke is so ancient, it's sepia-toned.
An engineer and a doctor were arguing about who had the harder job. To prove his might, the engineer decided to open a clinic, betting he'd be a successful doctor:
"If we can cure you, you pay $500; if we can't, we pay you $1,000."
Of course the doctor saw the proverbial <easy money> button immediately. The guy didn't even have a license! So the doc went straight to the clinic as his first patient.
Doc: "Sir, I have lost my sense of taste."
Engineer: "Nurse, please bring the medicine from box 22 and put 3 drops in the patient's mouth."
Doc: "Blawrgh! This is gasoline!"
Engineer: "Congratulations! You've got your taste back. That will be $500."
The doctor leaves, fuming. But not to be beaten, he goes back after a few days -- he can still leave with a profit if he plays this right.
Doc: "Sir, I have lost my memory."
Engineer: "Nurse, please bring the medicine from box 22 and put 3 drops in the patient's mouth."
Doc: "What, no! That's gasoline!"
Engineer: "Congratulations! You've got your memory back. That will be $500."
The doctor leaves pissed. Buuut, doc comes back after a few days --- he needs to at least break even, right? So, more determined than before, he brings a cane and says:
Doc: "Sir, I've gone blind."
Engineer: disappointed "Well, unfortunately I don't have any medicine for that. Take this $1,000."
Doc: "But this is $500..."
Engineer: "Congratulations! You've got your vision back! That will be $500."
Nominative predeterminism?
Edit: word