proof of concept for stevia (phosh-osk-stub) auto-changing shortcuts application-specifically
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
pos-dyntercomms.sh(1)

# NAME
phosh-osk-stub dynamic terminal commands - reconfigure terminal shortcuts automatically

# SYNOPSIS

*pos-dyntercomms.sh* _windowclass_ _WindowTitle_

*pos-dyntercomms.sh*

*pos-dyntercomms.sh* _--watch_


# OPTIONS
_--watch_
	Monitor the window title for changes over IPC.

_windowclass_
	The class of the window (name of the running program)

_WindowTitle_
	The title of the window

# DESCRIPTION

When ran with arguments _windowclass_ and _WindowTitle_, changes phosh-osk-stub's Terminal shortcuts to appropriate shortcuts for that program.

When ran without arguments, picks up the _windowclass_ and _WindowTitle_ from the active compositor. (currently only works with Hyprland, using hyprctl).

When ran with _--watch_, monitors the active compositor for title changes and changes the shortcuts as the title changes. (currently only works with Hyprland, using IPC).

# SEE ALSO
*phosh-osk-stub*(1) *Hyprland*(1) *hyprctl*(1)