this post was submitted on 04 Jan 2024
23 points (89.7% liked)

Asklemmy

43936 readers
618 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

So, i just started using I3 through Arcolinux, it's working pretty nicely all things considered but i'm having one little problem, a game i play uses keys that are very close to a keybind combination that is set here and that makes me accidentally trigger it sometimes, and i wanted to know how, if possible i can make so this keybind is disabled while I'm playing this game, searching for a solution i found this thread on reddit (yeah, lack of better places, but hey I'm asking here now so it's an opportunity to get some info on here!) That seems to be talking about pretty much what i need, buut i have no idea how to create these scripts and all that and i didn't had much success on searching on how to do this kind of thing before so... a little help please? Is there any more efficient method, or something like that?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 10 months ago (1 children)

I use hyprland, but what I do may help (and open the door to all other stupid shit and ways to rice rather than work) Rather than having keybinds to focua a direction, I have it run a script that dumps info about the window or workspace it might move into. It then decides what to do based on the window. In your case, you can have it bind/unbind they key of interest.

And remember kids. Asking questions to proprietary generative AI enshitifies everything for everyone.

[โ€“] Quills 1 points 10 months ago

Seems nice, but i don't know if i got it... How would i do that? i don't have much of experience with all this script stuff...