Turn your scripts into GNOME ORBS.
Starting from any script or executable file:
$ cat ~/.local/bin/nightlight
#!/bin/bash
if [[ $(gsettings get org.gnome.settings-daemon.plugins.color night-light-enabled) == "true" ]]; then gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled false; else gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled true; fiRun this program to generate a .desktop file for it and an icon:
$ gnomeorbs ~/.local/bin/nightlight
Selected executable file:
/home/kekelp/.local/bin/nightlight
Target .desktop file:
/home/kekelp/.local/share/applications/nightlight.desktop
Generated icon:
/home/kekelp/.local/share/icons/hicolor/128x128/apps/nightlight.png
Completed.Now you can call your script from the GNOME search by just pressing Super and typing the name:

- The generated
.desktopfile has the same name as the script, converted to Title Case. - It includes common misspellings of the script name.
- The icon has a random hue seeded from the script name.
-
--overwrite(-o): overwrite.desktopfiles or icons if they are already present. Without this flag,gnomeorbswill never overwrite anything. -
--edit(-e): open the generated.desktopfile with the system default editor for further customization -
--terminal(-t): run the command in the terminal, by wrapping the command intobash -c {command}; $SHELL".
Binary for Linux x86-64: gnomeorbs 1.0.0
Or just cargo run --release