Title. Basically, “if a street fighter gamer and a linux tryhard had a baby” where a combination of keys is issued to run a command/script rather than a single or a simultaneous stroke of two or more. i.e left, down, left, right arrow keys, R_CTRL to run Firefox. Right, right, Up, right arrow keys, delete to power off the PC, etc.

Don’t know if such command exists, but there you go.

Bonus points if its a standalone and supports X11, Wayland and Arcan.

  • Kurisu@awful.systems
    link
    fedilink
    arrow-up
    25
    arrow-down
    1
    ·
    11 months ago

    Man I already can’t get my inputs right in games, If I ever whiff a fucking combo to start my browser I’m ending it all.

  • Rustmilian@lemmy.world
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    1
    ·
    edit-2
    11 months ago

    ↑↑↓↓←→←→ + a + b + Enter = sudo rm -rf /* --no-preserve-root

  • RandoCalrandian@kbin.social
    link
    fedilink
    arrow-up
    21
    arrow-down
    3
    ·
    11 months ago

    You mean a key combination like OS, f,i,r,e,f,down,down,enter to launch Firefox?

    That exists, bud. There are even multiple ways to achieve the same command, like “OS,t,e,r,m,i,n,a,l,down,enter, ‘open Firefox’”

  • lurch (he/him)@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    11 months ago

    hyprland has this, but you have to configure it. It’s called Submaps. Some other tiling window managers/compositors (notion for example) have it too, but not to that extent. (notion can be enhanced by Lua scripting, tho.)

    The idea is, after the first key of the sequence the meaning of a set of keys change. You could configure those to change the meanings again etc until you finally reach whatever depth you wanted and it performs an action.

    However, be warned that hyprland is currently developed by very elitist people who like to support onky a very small set of distributions (primarily Arch btw) and have not much interest in other peoples Ubuntu shenanigens and the likes. It is extremely hard to install in Ubuntu and similar, requiring you to do minor edits to build scripts and source code in multiple languages and finding required library versions from build errors that do not mention them.

  • callyral [he/they]@pawb.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    11 months ago

    Key chords/submodes? Not a desktop app, but an Emacs extension, Hydra. There’s also a Neovim version.

    I don’t know of a desktop app, personally I like to keep my desktop keybinds simple, so I wouldn’t really need that.


    There are two kinds of people:

    Image transcription:

    User @vort3@lemmy.ml · 4 days ago

    So, basically vim? /s

    User @djtech@lemmy.world · 4 days ago

    So… emacs?

  • Scraft161@iusearchlinux.fyi
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

    sxhkd/swhkd, both support creating these natively and the second one works not just on Wayland, but also X11 and the TTY.