Giter VIP home page Giter VIP logo

Comments (3)

Merrit avatar Merrit commented on May 28, 2024

Suspending the current, active application is available by calling the Nyrna executable with the -t or --toggle flag.

https://nyrna.merritt.codes/usage#toggle-active-window

In Linux this can be done with a custom shortcut that calls has an action like so (substitute your actual path):

~/Applications/Nyrna/nyrna -t

On Windows this can be done by editing the Start Menu / Desktop shortcut (or editing a copy) - and choosing a shortcut in the properties of that shortcut, as well as editing the "target" field to include the -t at the end.

I would like to look into making this an in-app configuration since that is much simpler and easier, but I haven't had the time to do so as yet. 😄

from nyrna.

thedaryen avatar thedaryen commented on May 28, 2024

@Merrit So, I know this is closed and all, but Windows Hotkey is not actually working (or it works... sometimes?) I tried with the method suggested of setting a hotkey in a windows shortcut and adding the -t flag. Nyrna seems to open an instance when pressing the combination and closes immediately, but the foreground application isn't suspended. In some cases I did manage to get it to suspend, but pressing the hotkey again doesn't resume the process. Also tried created an AutoHotkey script to manage the hotkey but got the exact same result. It almost feels like Nyrna suspending itself and then closing itself, some kind of timing issue, I don't know.

from nyrna.

Merrit avatar Merrit commented on May 28, 2024

Interesting.. This was working before, and now doesn't. Wondering if a Windows update broke something..

Could you create a new issue, and include your Windows version & an application you've tried to suspend that failed? I will have to look into this some.

from nyrna.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.