Fenrir can now create aliases for application overrides and put them in your clipboard.
This commit is contained in:
1 parent
7df1fa3ecb
commit
7d82105d1d
15 files changed
+594
-114
No files matched your search
+26
-2
@@ -12,8 +12,9 @@ For build requirements and setup, see the [README](../README.md).
|
||||
|
||||
Press **Fenrir+A** to open **Applications**. Up and Down select an item; Enter
|
||||
activates it and closes the menu. Escape or the Cancel button closes the menu
|
||||
without changing the selection. Tab and Shift+Tab move between the list, Cancel,
|
||||
and the tab selector. The active override is initially selected.
|
||||
without changing the selection. Tab and Shift+Tab move between the list,
|
||||
Copy alias to clipboard, Cancel, and the tab selector. The active override is
|
||||
initially selected.
|
||||
|
||||
Type the start of a name to jump to it: **n** selects NetworkManager, then **i**
|
||||
selects Ninjam. Searching ignores letter case and does not activate the item.
|
||||
@@ -26,6 +27,22 @@ launch programs. Choose **Default** to restore the settings and reading regions
|
||||
that were in effect before the override. Overrides are built into Fenrir and
|
||||
are never selected automatically or remembered across restarts.
|
||||
|
||||
To launch a program with its override, select its name in this list, then Tab
|
||||
to **Copy alias to clipboard** and press Enter. This copies a Bash alias into
|
||||
Fenrir's clipboard without selecting the override or closing the menu. Paste it
|
||||
into your Bash configuration, such as `~/.bashrc`, and load that configuration
|
||||
in a new shell. The aliases use the executable names `cninjam`, `nmtui`, `rogue`,
|
||||
and `codex`; Default has no alias. Existing aliases with those names are replaced
|
||||
when you load the definition.
|
||||
|
||||
The alias requests the override through `socat`, then launches the real program
|
||||
with the arguments you supplied. Errors remain visible, and the program still
|
||||
launches if the request fails, remote control is disabled, or Fenrir or `socat`
|
||||
is missing. Socket inactivity is limited to two seconds. It uses the standard
|
||||
socket, or your configured `remote.socket_file`, rather than a process-specific
|
||||
socket that changes at restart. Paste with Fenrir's clipboard command; desktop
|
||||
clipboard synchronization follows your normal clipboard settings.
|
||||
|
||||
While an override is active, **Fenrir+F** opens its application settings,
|
||||
with the application name in the title. **OK**, **Fenrir+Control+S**, and remote
|
||||
`SETTING SAVE` save that application's preferences. Quick and remote changes
|
||||
@@ -559,6 +576,13 @@ Other supported operations include:
|
||||
- `command tempdisablespeech`: temporarily silence speech.
|
||||
- `command clipboard TEXT`: add text to the clipboard.
|
||||
- `command exportclipboard`: export the selected clipboard.
|
||||
- `command application ID`: select `default`, `networkmanager`, `ninjam`,
|
||||
`rogue`, or `codex` for this reader's active terminal, like Fenrir+A.
|
||||
This requires command remote control. An empty reply means selection
|
||||
succeeded; invalid IDs, busy settings, and restoration failures return an
|
||||
error. Application recognition and profile loading happen later, when the
|
||||
application appears; this command does not launch it. `default` restores
|
||||
ordinary settings. Use a private socket when targeting a particular reader.
|
||||
- `command window X1 Y1 X2 Y2`: set a reading window, using zero-based,
|
||||
inclusive coordinates.
|
||||
- `command resetwindow`: clear the window.
|
||||
|
||||
Reference in new issue
Block a user