summaryrefslogtreecommitdiff
path: root/cpu-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@gmail.com>2020-05-27 19:16:51 -0400
committerstreetturtle <streetturtle@gmail.com>2020-05-27 19:16:51 -0400
commit537b07ad572f8bb64bb9be5d189c32afee1c4808 (patch)
tree47e049f77242453f2ee8f602c3ba00cb270a1f0e /cpu-widget
parentc4310043c7a9e4518fdac9f4267f9c932d769625 (diff)
Update readme and add an icon
Diffstat (limited to 'cpu-widget')
-rw-r--r--cpu-widget/README.md2
-rw-r--r--cpu-widget/window-close-symbolic.svg95
2 files changed, 97 insertions, 0 deletions
diff --git a/cpu-widget/README.md b/cpu-widget/README.md
index 397b3f9..35e0eeb 100644
--- a/cpu-widget/README.md
+++ b/cpu-widget/README.md
@@ -26,6 +26,8 @@ It is possible to customize widget by providing a table with all or some of the
| `step_width` | 2 | Width of the step |
| `step_spacing` | 1 | Space size between steps |
| `color` | `beautiful.fg_normal` | Color of the graph |
+| `enable_kill_button` | `false` | Show button which kills the process |
+| `process_info_max_length` | `-1` | Truncate the process information. Some processes may have a very long list of parameters which won't fit in the screen, this options allows to truncate it to the given length. |
### Example
diff --git a/cpu-widget/window-close-symbolic.svg b/cpu-widget/window-close-symbolic.svg
new file mode 100644
index 0000000..46ff888
--- /dev/null
+++ b/cpu-widget/window-close-symbolic.svg
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ id="svg7384"
+ version="1.1"
+ height="16"
+ width="16"
+ inkscape:version="0.48.5 r10040"
+ sodipodi:docname="window-close-symbolic.svg">
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1366"
+ inkscape:window-height="723"
+ id="namedview15"
+ showgrid="true"
+ inkscape:zoom="14.75"
+ inkscape:cx="14.600061"
+ inkscape:cy="10.005214"
+ inkscape:window-x="0"
+ inkscape:window-y="23"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg7384">
+ <inkscape:grid
+ type="xygrid"
+ id="grid2992" />
+ </sodipodi:namedview>
+ <title
+ id="title9167">Gnome Symbolic Icon Theme</title>
+ <metadata
+ id="metadata90">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title>Gnome Symbolic Icon Theme</dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs7386" />
+ <g
+ transform="translate(-60,-518)"
+ id="layer9"
+ style="display:inline" />
+ <g
+ transform="translate(-60,-518)"
+ id="layer10" />
+ <g
+ transform="translate(-60,-518)"
+ id="layer11" />
+ <g
+ id="g2996"
+ transform="matrix(0.75,0,0,0.75,2,2.0546875)">
+ <g
+ id="layer12"
+ transform="translate(-60,-518)">
+ <g
+ style="display:inline"
+ id="layer4-4-1"
+ transform="translate(19,-242)">
+ <path
+ style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;color:#bebebe;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.78124988;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:new;font-family:Andale Mono;-inkscape-font-specification:Andale Mono"
+ id="path10839-9"
+ d="m 45,764 1,0 c 0.01037,-1.2e-4 0.02079,-4.6e-4 0.03125,0 0.254951,0.0112 0.50987,0.12858 0.6875,0.3125 L 49,766.59375 51.3125,764.3125 C 51.578125,764.082 51.759172,764.007 52,764 l 1,0 0,1 c 0,0.28647 -0.03434,0.55065 -0.25,0.75 l -2.28125,2.28125 2.25,2.25 C 52.906938,770.46942 52.999992,770.7347 53,771 l 0,1 -1,0 c -0.265301,-10e-6 -0.530586,-0.0931 -0.71875,-0.28125 L 49,769.4375 46.71875,771.71875 C 46.530586,771.90694 46.26529,772 46,772 l -1,0 0,-1 c -3e-6,-0.26529 0.09306,-0.53058 0.28125,-0.71875 l 2.28125,-2.25 L 45.28125,765.75 C 45.070508,765.55537 44.97809,765.28075 45,765 l 0,-1 z"
+ inkscape:connector-curvature="0" />
+ </g>
+ </g>
+ </g>
+ <g
+ transform="translate(-60,-518)"
+ id="layer13" />
+ <g
+ transform="translate(-60,-518)"
+ id="layer14" />
+ <g
+ transform="translate(-60,-518)"
+ id="layer15" />
+</svg>