Comments (6)
β― flatpak run codes.merritt.Nyrna --help
Nyrna - Suspend games and applications.
Run Nyrna without any arguments to launch the GUI.
Supported arguments:
--[no-]minimize Used with the `toggle` flag, `no-minimize` instructs
Nyrna not to automatically minimize / restore the active
window - it will be suspended / resumed only.
(defaults to on)
-t, --toggle Toggle the suspend / resume state for the active window.
βPlease note this will immediately suspend the active
window, and is intended to be used with a hotkey - be
sure not to run this from a terminal and accidentally
suspend your terminal! β
-v, --verbose Output verbose logs for troubleshooting and debugging.
Looks like I need to document this somewhere other than in the program! Do these cli interfaces work for your usecase?
from nyrna.
Yes, it would. Is this implemented in the windows version? I tried it and it simply ignores any arguments.
from nyrna.
It is in the Windows version yes, though you can't see the help text like I showed there because Windows doesn't show CLI output.
Did you try --toggle
?
PS C:\Users\Merritt\Downloads\Nyrna-Windows-Portable> sleep 5 && .\nyrna.exe --toggle
I ran this, switched to Notepad, and after the 5 second delay it suspended it. Ran again and Notepad resumed.
Can also be set as a custom shortcut with a hotkey. Though I am curious, does something about Nyrna's built-in hotkey not work for you that you'd prefer a CLI interface?
from nyrna.
Indeed it works! Thank you!
Nothing wrong with the hotkey feature. I'm building a set of abstractions over my desktop enviroment. I want to have all apps, no matter how heavy, always open and then automatically hide them according to the task I'm focusing on. So I will be using this as dependency rather than directly. I will be sure to reference this repo in the Info page. :) Again Merrit, thank you.
from nyrna.
Glad to hear it is working for you! π
Enjoy π
from nyrna.
I rebuilt the Nyrna website with better docs, and documented this here:
https://nyrna.merritt.codes/docs/hotkey#cli
from nyrna.
Related Issues (20)
- v2.16.0 and v2.16.1 slow while suspending tasks and startup problem HOT 4
- Controller support HOT 4
- Silent startup HOT 4
- Exclude Nyrna from suspension HOT 3
- [Feature request] Assign button combinations as hotkey HOT 2
- Doesn't really work HOT 1
- Tray icon buttons not working (win11) HOT 7
- Red dead redemption 2 error to suspend HOT 8
- Suspending native Linux games breaks system audio
- Can't launch Nyrna with latest Nobara update HOT 7
- Flatpak can get stuck when toggling "Start automatically at system boot" HOT 3
- Font is weirdly wide HOT 1
- Missing source and issues links on the flathub store HOT 1
- [Feature Request] [Windows] Suspend child processes HOT 8
- [Feature Request] Different Hotkeys for Suspend and Resume HOT 4
- [Feature Request] Some way to sort/filter suspended and active processes HOT 6
- Freezing game without using the hotkey HOT 3
- [Feature request] Button to add to favorites? HOT 3
- Elden Ring not suspending HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nyrna.