Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

A GNOME Shell Extension to manage shortcuts in Top Bar (Inspired by Shuttle and SSHMenu)
https://github.com/arunk140/gnome-command-menu

gjs gnome gnome-shell gnome-shell-extension javascript linux

Last synced: about 2 months ago
JSON representation

A GNOME Shell Extension to manage shortcuts in Top Bar (Inspired by Shuttle and SSHMenu)

Awesome Lists containing this project

README

        

### Command Menu for GNOME Top Bar

[Get it on GNOME Extensions][ego]

[ego]: https://extensions.gnome.org/extension/4850/command-menu/

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

Inspired by Shuttle and SSHMenu.

![Command Menu Example Screenshot](Screenshot-Example.png "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]
```