From 21cd6424249842c94b0abfaaa07080f6bad069c9 Mon Sep 17 00:00:00 2001 From: Caleb Bassi Date: Thu, 25 Apr 2019 18:00:25 -0700 Subject: [PATCH] readme: add snap installation instructions --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d83cb7a..c93f38b 100644 --- a/README.md +++ b/README.md @@ -39,17 +39,31 @@ Install `gotop`, `gotop-bin`, or `gotop-git` from the AUR. ### FreeBSD -``` +```bash pkg install gotop ``` ### Homebrew -``` +```bash brew tap cjbassi/gotop brew install gotop ``` +### Snap + +```bash +snap install gotop-cjbassi +``` + +**Note**: You may need to enable certain permissions for all of the widgets to work: + +```bash +snap connect gotop-cjbassi:hardware-observe +snap connect gotop-cjbassi:mount-observe +snap connect gotop-cjbassi:system-observe +``` + ## Usage ### Keybinds