Skip Navigation

Posts
65
Comments
82
Joined
3 yr. ago

  • Sure, it is a Potatomatic 4000, 2nd edition. No, not Alacrity. Thx though.

  • I have no idea. On an old potato laptop I tried it on it works ok, if I rush the keys, it is flickering a little.

  • Someone should come up with a new distro with the name potatOS, just for cases like this .

  • I am still using the arrow keys, I must be an idiot , too. If this script helps you with the vim movements, you can check out for the same reason two or three scripts of mine, in the same repo: tui-mines, mneme,tui-sudoku.

  • I went on and added an if statement and a message to install.sh, just for the issue you mentioned...

  • De gustibus et coloribus... I like bash.

    It works for me.

    About .local/bin/ not existing, or not being in the $PATH, that is why I also propose running the script locally, from the same directory with ./mneme.sh

    Thanks, I am glad you like it.

  • Please return to windows.

  • Welp, also solves the 'Which distro to use?' issue.

  • IMPORTANT UPDATE: Since many youngsters who unlike me, a senior citizen, live on the edge and hate vim keys or arrow keys, have requested an alternative navigation keys set up, I have just implemented a configuration option that satisfies just that.

    By editing the config file (either within the application or just editing ~/.config/tui-mines/tui-mines.config, and changing the NAVIGATION_KEYS value from vim+arrows (default) to aswd+arrows, the user can use the aswd keys to navigate in the game grid, just as requested.

    No other commands or hacks are needed.

    Arrow keys remain hardcoded, because they remind me of my youth, as an archer, during the Peloponnesian War

  • Ευχαριστω!

  • And to see the correct cheatsheet as well: sed -i 's/hjkl/awsd/' tui-mines.sh

  • Let me know if it works.

  • Here is the solution just for you:

    • get to the tui-mines/ directory
    • open a terminal there
    • run this command sed -i 's/k|A/w|A/;s/h|D/a|D/;s/j|B/s|B/;s/l|C/d|C/' tui-mines.sh

    Run the script ./tui-mines.sh

    You can now play using lower case awsd.

  • Wait up, I am preparing one command for you, you run it, and you use your keys as you wish. Just don' put caps lock!

  • It is not impossible. Are you up to modify 4 lines of code?

  • Fear not, there are no scary commands in this script.

  • There is, if you like fzf, or if you are not comfortable with vim keybindings. Still, Ranger is awesome.

  • Well, after a quick search, from that source, I found that :

    ...A .theme file is a .ini text file that is divided into sections, which specify visual elements that appear on a Windows desktop. Section names are wrapped in brackets ([]) in the .ini file.

    I believe that the themes.txt file has not much to do with the above, furthermore, confusion between the two does not sound a good idea. What is more, one can say that file names such as themes.txt and current_theme.txt are quite descriptive and leave no doubts about their function. However, I think I understand your point of view. Perhaps I would consider renaming these in the future.

  • commandline @programming.dev

    magic-tape: YouTube TUI client (fzf, image support)

  • Unixporn @lemmy.ml

    lemmy-matrix

  • Unixporn @lemmy.ml

    ascii-matrix

  • Unixporn @lemmy.ml

    magic-tape: YouTube TUI client (fzf, image support)

  • Linux @lemmy.ml

    magic-tape: YouTube TUI client (fzf, image support)