StorageB / custom-command-toggle

GNOME extension to run shell commands using a GNOME quick toggle.
GNU General Public License v3.0
2 stars 0 forks source link

Custom Command Toggle

A GNOME extension to run shell commands using a GNOME quick toggle.

Custom Command Toggle is an extension for GNOME 45/46 to run user defined commands by switching a customizable quick toggle button on or off.


Screenshot-main


Features:


Installation

Recommended

Browse for and install this extension through the GNOME Extension tool, or install through the GNOME Extensions website.

Manual

  1. Download the custom-command-toggle.zip file of the latest release.
  2. Run the following command from the terminal: gnome-extensions install --force custom-command-toggle.zip
  3. Logout and login.


Configuration

Customize the behavior and appearance of the quick toggle by accessing the extension preferences.


Commands

Enter the terminal/shell commands to associate with the quick toggle on/off actions.

Screenshot-commands

Tips:


Appearance

Enter the text and icon information to use for the quick toggle button.

Screenshot-appearance

For a list of available icons to use: https://github.com/StorageB/icons/blob/main/Yaru/icons.md

Alternatively, navigate to the icon directory for your system’s theme (located at /usr/share/icons), or use the Icon Library app.

Enter the name of the icon without the file extension. Note that icon appearance will vary depending on your systems's theme.


Usage Examples and Suggestions

Here are some ideas on how this extension can be used:


Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request to contribute to this project.


License

This project is licensed under the GNU General Public License.


I hope you found this extension helpful!

Buy Me A Coffee