Merge pull request #411 from kz6fittycent/main

Issue 407
This commit is contained in:
Jakob P. Liljenberg 2022-08-23 18:07:26 +02:00 committed by GitHub
commit 7190cf4be6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 129 deletions

View file

@ -561,20 +561,28 @@ Also needs a UTF8 locale and a font that covers:
## Installing the snap
[![btop](https://snapcraft.io/btop/badge.svg)](https://snapcraft.io/btop)
### Note: there are now two snaps available: `btop` and `btop-desktop`. The desktop version is much larger and includes the desktop entries needed to allow for launching `btop` with a click.
* **Install the snap**
```bash
sudo snap install btop
or
sudo snap install btop-desktop
```
* **Install the latest snap from the edge channel**
```
sudo snap install btop --edge
or
sudo snap install btop-desktop --edge
```
* **Connect the interface**
```bash
sudo snap connect btop:removable-media
or
sudo snap connect btop-desktop:removable-media
```

View file

@ -1,11 +0,0 @@
[Desktop Entry]
Type=Application
Version=1.0
Name=btop++
GenericName=System Monitor
Comment=Resource monitor that shows usage and stats for processor, memory, disks, network and processes
Icon=${SNAP}/meta/gui/icon.svg
Exec=btop
Terminal=true
Categories=System;Monitor;ConsoleOnly;
Keywords=system;process;task

View file

@ -1,111 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="90"
height="90"
version="1.1"
id="svg70"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs26">
<pattern
xlink:href="#gray-stripes"
id="pattern1888" />
<pattern
xlink:href="#red-stripes"
id="pattern1870" />
<pattern
id="red-stripes"
width="341"
height="90"
patternUnits="userSpaceOnUse">
<rect
width="341"
height="16"
fill="#f00"
id="rect2" />
<rect
y="16"
width="341"
height="16"
fill="#d70000"
id="rect4" />
<rect
y="32"
width="341"
height="16"
fill="#af0000"
id="rect6" />
<rect
y="48"
width="341"
height="16"
fill="#870000"
id="rect8" />
<rect
y="64"
width="341"
height="16"
fill="#5f0000"
id="rect10" />
</pattern>
<pattern
id="gray-stripes"
width="341"
height="90"
patternUnits="userSpaceOnUse">
<rect
width="341"
height="16"
fill="#585858"
id="rect13" />
<rect
y="16"
width="341"
height="16"
fill="#4e4e4e"
id="rect15" />
<rect
y="32"
width="341"
height="16"
fill="#444"
id="rect17" />
<rect
y="48"
width="341"
height="16"
fill="#3a3a3a"
id="rect19" />
<rect
y="64"
width="341"
height="16"
fill="#303030"
id="rect21" />
<rect
y="80"
width="341"
height="10"
fill="#262626"
id="rect23" />
</pattern>
</defs>
<g
id="g2074"
transform="translate(18)">
<path
d="M 2,7 V 90 H 47 V 74 h 7 V 55 H 47 V 42 h 7 V 23 H 47 V 7 Z M 19,26 H 37 V 39 H 19 Z m 0,32 H 37 V 71 H 19 Z"
id="path28"
style="fill:#080808" />
<path
d="M 2,7 V 90 H 47 V 74 h 7 V 55 H 47 V 42 h 7 V 23 H 47 V 7 Z m 1,1 h 43 v 16 h 7 v 17 h -7 v 15 h 7 V 73 H 46 V 89 H 3 Z M 18,25 H 38 V 40 H 18 Z m 1,1 V 39 H 37 V 26 Z M 18,57 H 38 V 72 H 18 Z m 1,1 V 71 H 37 V 58 Z M 4,9 V 88 H 45 V 72 h 7 V 57 H 45 V 40 h 7 V 25 H 45 V 9 Z m 1,1 h 39 v 16 h 7 v 13 h -7 v 19 h 7 V 71 H 44 V 87 H 5 Z M 16,23 H 40 V 42 H 16 Z m 1,1 V 41 H 39 V 24 Z M 16,55 H 40 V 74 H 16 Z m 1,1 V 73 H 39 V 56 Z"
id="path42"
style="fill:url(#pattern1888)" />
<path
d="M 0,0 V 80 H 42 V 64 h 7 V 48 H 42 V 32 h 7 V 16 H 42 V 0 Z M 14,16 H 35 V 32 H 14 Z m 0,32 H 35 V 64 H 14 Z"
id="path56"
style="fill:url(#pattern1870)" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.8 KiB

View file

@ -15,6 +15,8 @@ architectures:
- build-on: amd64
- build-on: arm64
- build-on: armhf
- build-on: ppc64el
- build-on: s390x
package-repositories:
- type: apt
@ -23,8 +25,6 @@ package-repositories:
apps:
btop:
command: usr/local/bin/btop
extensions:
- gnome-3-38
environment:
LC_ALL: C.UTF-8
LANG: C.UTF-8
@ -37,11 +37,6 @@ apps:
- network-observe
- home
- removable-media
- desktop
- desktop-legacy
- x11
- wayland
- unity7
parts:
btop: