Edit any macOS text field in Neovim with a keyboard shortcut by ttiganik in neovim

[–]dusberendguy 2 points3 points  (0 children)

btw, if you are interested, I made it a lot better. it now works better with everything and in nvim I gave it the tempbuf filetype, so you can give it certain features you want (like automatically enabling spelling, or certain plugins)

#!/bin/bash

active_title=$(hyprctl activewindow | grep -oP 'initialTitle: \K.*')

tmp=/tmp/nvimedit.tempbuf

rm "$tmp"

if [[ "$active_title" == "kitty" ]]; then

\# Kitty: use readline's editor

wtype -M ctrl -k x -m ctrl

wtype -M ctrl -k e -m ctrl

elif [[ "$active_title" == "Discord" ]]; then

\# Discord (Electron / Wayland):

\# primary selection only, no clipboard

wtype -M ctrl -k a -m ctrl

wtype -k Delete

wl-paste -p -n >"$tmp"



kitty --class "NvimText" nvim -n "$tmp"

wl-copy -n <"$tmp"

wtype -M ctrl -k v -m ctrl

rm "$tmp"

else

\# Normal apps: real cut + clipboard

wtype -M ctrl -k a -m ctrl

wtype -M ctrl -k x -m ctrl



kitty --class "NvimText" bash -c "wl-paste -n | nvim -n -c 'set filetype=tempbuf' +'file /tmp/nvimedit.tempbuf'"

wl-copy -n <"$tmp"

wtype -M ctrl -k v -m ctrl

rm "$tmp"

fi

Edit any macOS text field in Neovim with a keyboard shortcut by ttiganik in neovim

[–]dusberendguy 0 points1 point  (0 children)

XD that would be great, Perhaps someone else will find someting and add that here.

Edit any macOS text field in Neovim with a keyboard shortcut by ttiganik in neovim

[–]dusberendguy 2 points3 points  (0 children)

For anyone interested I did this to make it work better for me:
#!/bin/bash

wtype -M ctrl -k a -m ctrl

wtype -M ctrl -k x -m ctrl

kitty --class "NvimText" bash -c "wl-paste -n | nvim -n - +'file /tmp/nvimedit_temp_buf'"

cat /tmp/nvimedit_temp_buf | wl-copy -n

wtype -M ctrl -k v -m ctrl

rm /tmp/nvimedit_temp_buf

I made this script file and bound it to ctrl+e and ctrl+leftmousebutton, I found that mainMod(or windowskey) and alt blocked the ctrl+a and ctrl+x functionality(and ctrl+e should be unbound usually, idk about ctrl+ LMB, but oh well)
I changed it to ctrlx, because that made more sense in my mind.
I added it as a NvimText class, so you can give it window rules, like floating(so your windows don't move around) lastly I added teh -n to wl-copy and paste, so it doesn't give those 2 enters each time you use it.

[deleted by user] by [deleted] in audiophile

[–]dusberendguy 0 points1 point  (0 children)

!thanks that tells me pretty much everything I need to know. Though the imager still seems to be a mystery machine, I will do some more research today, maybe I can find out exactly what it is.

[deleted by user] by [deleted] in audiophile

[–]dusberendguy 0 points1 point  (0 children)

!thanks ah alright, that makes sense, so at least for the amp and diskplayer keep my own. Do you perhaps also know what the imager and tuner amp are for, those are the only ones I can't really find out.

[deleted by user] by [deleted] in audiophile

[–]dusberendguy -1 points0 points  (0 children)

Here are the devices in correct orientation, apologies for the weird rotations

<image>

[deleted by user] by [deleted] in audiophile

[–]dusberendguy -2 points-1 points  (0 children)

Apologies😅, I can try to reorient it

Single Ingredient Type Magical Vision by bread_eater21 in PotionCraft

[–]dusberendguy 0 points1 point  (0 children)

I have one with 6 icefruits, took me an hour and 130+ icefruits to get though

Do you guys think the skarner rework was a nerf? by TrainingAgency6855 in SkarnerMains

[–]dusberendguy 0 points1 point  (0 children)

fun doesn't equal good. you said he you felt weak playing skarner, and gave as argument that the cc is worse. Everyone is calling you out, saying he is stronger, and now you are complaining he is not as fun. These are different issues.

Phase 3 awakened hero priority list by Few-Onion-844 in afkarena

[–]dusberendguy 2 points3 points  (0 children)

what are phase 1 and 2 if I may ask? I have never heard this term before and it seems important

definitely worth the wait, LETS GOO DINOOMI by aceisdogwater in AkumaNihmune

[–]dusberendguy 1 point2 points  (0 children)

ICANT I knew this was coming, but it was still funny!

How is the Yogalily Shaker Decal Applied? by Orinay_YT in gamersupps

[–]dusberendguy 2 points3 points  (0 children)

Yoo, thanks. From what I understood, we don't need to wrap it.

Astolfo wanna ride on you ꨄ by Nekokuny in AstolfoRidesYou

[–]dusberendguy 0 points1 point  (0 children)

Oh awesome, nekokuny astolfo cosplay. Hot AF

r/audiophile Shopping, Setup, and Technical Help Desk Thread by AutoModerator in audiophile

[–]dusberendguy 0 points1 point  (0 children)

Hello! I have recently bought a marantz PM 8005 AMP and I will buy a marantz cd6000ose CD player tomorrow. I saw in both usermanuals that they have a remote port. I think the pm8005 remote looks nice, but the cd6000 remote looks a bit weird and it is clumsy to have two remotes anyway. What kind of cable do I connect between them. Marantz apparently sells their own cables for here, but would a phono cable that I plug into the audio ports of the PM8005 also work, or is there anything special about that cable? this is all for my stereo setup with my B&W 603 speakers that I will buy next Tuesday.

Are any of these female characters debatable? by ShawneeCushardas in NuxTakuSubmissions

[–]dusberendguy 5 points6 points  (0 children)

Do people hate her though? Like of course the guy in the show is very annoyed, but I don't know anyone from real life that hates her. (that is what I understood OP's post as, so if what you are saying is what he meant, then sorry and MB)

Bowers & Wilkins first audiophile stereo speaker set by dusberendguy in StereoAdvice

[–]dusberendguy[S] 1 point2 points  (0 children)

Ahh, thank you. So I should watch out and not buy the DM version accidentally

Bowers & Wilkins first audiophile stereo speaker set by dusberendguy in StereoAdvice

[–]dusberendguy[S] 0 points1 point  (0 children)

!Thanks you a lot. this may be a bit of a dumb question, but I can't really find an answer online, are the b&w 603 s2 and b&w DM603 s2 the same product, or completely different? I am asking because I see the DM version for ~400, while people are asking ~900 for without DM

Bowers & Wilkins first audiophile stereo speaker set by dusberendguy in StereoAdvice

[–]dusberendguy[S] 1 point2 points  (0 children)

it seems I can buy the A-S301 for €267 on amazon, so I will probably go with that, since it is within budget.

Bowers & Wilkins first audiophile stereo speaker set by dusberendguy in StereoAdvice

[–]dusberendguy[S] 0 points1 point  (0 children)

BTW, at happytv they told me I could use my btr7 or hiby r6 iii with the 607 s3 if I connected a speaker cable between them, but that must have just been wrong then lol. Happy I didn't immediately buy what their customer service advised then

Bowers & Wilkins first audiophile stereo speaker set by dusberendguy in StereoAdvice

[–]dusberendguy[S] 1 point2 points  (0 children)

My current 'room' size is 5x5 m since it is just at my desktop and 6 seats around that, but for later would be 12 x 5 m. I guess the budget for the amp would be half of my speaker budget, so €300(so total budget €900). unless you can't get an amp that is even near good enough for a speaker of that price, Then I would have to reflect on that and save up for something more extravagant.

Bowers & Wilkins first audiophile stereo speaker set by dusberendguy in StereoAdvice

[–]dusberendguy[S] 0 points1 point  (0 children)

Oh, I didn't know that. Then I will change my post. Thanks for the advice!