You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ To use separate on/off icons, enter both icon names separated by a comma.
83
83
84
84
### Commands
85
85
86
-
Enter the terminal/shell commands to associate with the quick toggle on/off actions.
86
+
Enter the terminal/shell commands to associate with the quick toggle on/off actions. If applicable, enter the command and search term to be used for the "Command output" Initial State setting and/or the Keep Toggle State Synced setting. Refer to the Startup Behavior and Command Sync Behavior sections below.
@@ -106,9 +106,7 @@ Specify the state of each toggle button at startup (on, off, the previous state
106
106
107
107
If "Run Command at Startup" is selected, there is an option to specify a delay time before the command is executed. Because GNOME extensions load early in the startup process, it may be required to delay your command from running by a few seconds to allow other processes to finish loading first. If this is not required, set the delay to 0.
108
108
109
-
If "Command output" is selected as the Initial State, enter a command to check its output. If the specified Search Term appears in the command output, the button will be set to ON at startup. Otherwise, the button will be OFF at startup.
110
-
111
-
Enable "Keep Toggle State Synced" to periodically check the output of a command and update the button state accordingly. Set "Polling Frequency" to specify how often the command should run in the background.
109
+
If "Command output" is selected as the Initial State, enter a Check Output Command in the Commands section to check its output. If the specified Search Term appears in the command output, the button will be set to ON at startup. Otherwise, the button will be OFF at startup. To keep the toggle state synced to the command output, refer to the Command Sync Behavior section below.
@@ -125,6 +123,19 @@ If using `pkexec` or `gnome-terminal -- command` to run sudo commands, it is rec
125
123
126
124
<br>
127
125
126
+
127
+
### Command Sync Behavior
128
+
129
+
Enable "Keep Toggle State Synced" to periodically check the output of the Check Output Command and update the button state accordingly. If the specified Search Term appears in the command output, the button will be set to ON. Otherwise, the button will be OFF at.
130
+
131
+
Set "Polling Frequency" to specify how often the command should run in the background.
0 commit comments