Skip to content

Latest commit

 

History

History
84 lines (66 loc) · 2.04 KB

README.md

File metadata and controls

84 lines (66 loc) · 2.04 KB

Command Menu for GNOME Top Bar

Get it on GNOME Extensions

GNOME shell extension to manage command shortcuts in the GNOME Top Bar.

Inspired by Shuttle and SSHMenu.

Command Menu Example Screenshot

For Icon Names - https://specifications.freedesktop.org/icon-naming-spec/latest/ar01s04.html


Example ~/.commands.json (Check the examples folder for more..)

[
    {
        "title": "Termimal",
        "command": "gnome-terminal",
        "icon": "utilities-terminal"
    },
    {
        "title": "File Manager 3",
        "command": "nautilus",
        "icon": "folder"
    },
    {
        "type": "separator"
    },
    {
        "title": "Web Browser",
        "command": "firefox",
        "icon": "web-browser"
    },
    {
        "type": "separator"
    },
    {
        "title": "SSH Connections",
        "type": "submenu",
        "submenu": [
            {
                "title": "Connect to Server (SSH)",
                "command": "gnome-terminal -- bash -c 'ssh [email protected] -p 8022'",
                "icon": "utilities-terminal"
            }
        ]
    }
]
Note:
examples/.commands-full.json is supported in versions >= 5

New Feature (Work in Progress) - Web Editor for .commands.json

https://github.com/arunk140/gnome-command-menu-editor


Generate Build Zip

glib-compile-schemas schemas
zip gnome-command-menu.zip icon.svg metadata.json extension.js prefs.js schemas/org.gnome.shell.extensions.commandmenu.gschema.xml schemas/gschemas.compiled README.md LICENSE

Manual Install

git clone https://github.com/arunk140/gnome-command-menu.git
cd gnome-command-menu
glib-compile-schemas schemas
gnome-extensions pack
gnome-extensions install [email protected]