From 6f678e8ad09d2353ba00beb58ff1cd4988a6fb4a Mon Sep 17 00:00:00 2001 From: hverlin Date: Tue, 31 Aug 2021 14:44:38 +0200 Subject: [PATCH] Update references to scripts and plugins directories in readme Noticed that my scripts stopped working with a pop-os launcher today. I had to move the scripts to a new location. Update the readme with the correct folders (according to https://github.com/pop-os/launcher/blob/master/plugins/src/scripts/mod.rs#L17) --- README.md | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index afe9d68..3fe5b42 100644 --- a/README.md +++ b/README.md @@ -8,15 +8,29 @@ Using IPC enables each plugin to isolate their data from other plugin processes ## Plugin Directories -- User-local plugins: `~/.local/share/pop-shell/plugins` -- System-wide install for system administrators: `/etc/pop-shell/plugins` -- Distribution packaging: `/usr/lib/pop-shell/plugins` +- User-local plugins: `~/.local/share/pop-launcher/plugins` +- System-wide install for system administrators: `/etc/pop-launcher/plugins` +- Distribution packaging: `/usr/lib/pop-launcher/plugins` ## Script Directories -- User-local scripts: `~/.local/share/pop-shell/scripts` -- System-wide install for system administrators: `/etc/pop-shell/scripts` -- Distribution packaging: `/usr/lib/pop-shell/scripts` +- User-local scripts: `~/.local/share/pop-launcher/scripts` +- System-wide install for system administrators: `/etc/pop-launcher/scripts` +- Distribution packaging: `/usr/lib/pop-launcher/scripts` + +Example script +
+
+#!/bin/sh
+#
+# name: Connect to VPN
+# icon: network-vpn
+# description: Start VPN
+# keywords: vpn start connect
+
+nmcli connection up "vpn-name"
+
+
## JSON IPC @@ -182,4 +196,4 @@ Where `SearchResult` is: category_icon?: IconSource, window?: [number, number] } -``` \ No newline at end of file +```