sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit d792681baa2f4d808638968d8c28fbff351f89db
parent 8bac2f0170ae8472e9dcfade997c7c6b0cc63bd9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 13 Jun 2021 10:51:07 +0200

dwm xfce4-panel: fix genmon link and include its content on the page itself

Each patch should have their own page. The genmon.md is not converted to
genmon.html so the link didn't work.

Diffstat:
Ddwm.suckless.org/patches/xfce4-panel/genmon.md | 21---------------------
Mdwm.suckless.org/patches/xfce4-panel/index.md | 22+++++++++++++++++++++-
2 files changed, 21 insertions(+), 22 deletions(-)

diff --git a/dwm.suckless.org/patches/xfce4-panel/genmon.md b/dwm.suckless.org/patches/xfce4-panel/genmon.md @@ -1,21 +0,0 @@ -Using the `genmon` Applet -------------------------- - -Any panel offers the possibility to include generic scripts output. -In `xfce4-panel` this is done by the panel item: "Generic Monitor" (genmon). It features output styled with pango markup and mouseover/onclick hooks. - -Here are some `genmon` script collections: -- [xfce4-genmon-scripts](https://awesomeopensource.com/project/xtonousou/xfce4-genmon-scripts) -- [xfce4-genmon-scripts-2](https://github.com/almaceleste/xfce4-genmon-scripts) -- [xfce4-genmon-scripts-3](https://github.com/levimake/xfce4-genmon-panel-scripts) - -Manual is [here](https://docs.xfce.org/panel-plugins/xfce4-genmon-plugin/start#usage). - -Personally I wanted to have CPU monitor which shows the name of current high cpu eater(s) if present (next to current load by core) and on mouseover remembers the top output from the most recent high load situation in the past: - -![genmon.png](genmon.png) - -To get that, I cat the content of a file generated by this script, started in `autostart.sh` in the background: -[cpu_mon.py](cpu_mon.py). - - diff --git a/dwm.suckless.org/patches/xfce4-panel/index.md b/dwm.suckless.org/patches/xfce4-panel/index.md @@ -62,9 +62,29 @@ I guess it should be possible via the backup and restore tool of the panel UI an Tip: *Never* try start `xfce4-session` from within dwm, the warning `Failed to connect to session manager` at panel startup is normal. It will try autoexplore your available workspaces - and conclude you have `2**9`, writing that back into the xfce4 config... I had to manually clean up the config via `xfconf`. -[Here](./genmon.html) is a usage example. +Below is a usage example. +Using the `genmon` Applet +------------------------- + +Any panel offers the possibility to include generic scripts output. +In `xfce4-panel` this is done by the panel item: "Generic Monitor" (genmon). It features output styled with pango markup and mouseover/onclick hooks. + +Here are some `genmon` script collections: +- [xfce4-genmon-scripts](https://awesomeopensource.com/project/xtonousou/xfce4-genmon-scripts) +- [xfce4-genmon-scripts-2](https://github.com/almaceleste/xfce4-genmon-scripts) +- [xfce4-genmon-scripts-3](https://github.com/levimake/xfce4-genmon-panel-scripts) + +Manual is [here](https://docs.xfce.org/panel-plugins/xfce4-genmon-plugin/start#usage). + +Personally I wanted to have CPU monitor which shows the name of current high cpu eater(s) if present (next to current load by core) and on mouseover remembers the top output from the most recent high load situation in the past: + +![genmon.png](genmon.png) + +To get that, I cat the content of a file generated by this script, started in `autostart.sh` in the background: +[cpu_mon.py](cpu_mon.py). + Author -------