diff options
author | Michal Zielonka <michal.zielonka.8001@gmail.com> | 2021-10-11 23:11:30 +0200 |
---|---|---|
committer | Michal Zielonka <michal.zielonka.8001@gmail.com> | 2021-10-16 22:55:38 +0200 |
commit | 8287e45b62d0d310512574850bad4741c4b3a53d (patch) | |
tree | f38dd0fb2fd2f31d3482fe7f2d86cfdeb1cb70db /xmobar.cabal | |
parent | 82127e302355ceebfc3022d63823ed5789a69f9c (diff) | |
download | xmobar-8287e45b62d0d310512574850bad4741c4b3a53d.tar.gz xmobar-8287e45b62d0d310512574850bad4741c4b3a53d.tar.bz2 |
add top for freebsd proc
In FreeBSD /proc/pid/stat is missing we should use for top procstat
library.
Diffstat (limited to 'xmobar.cabal')
-rw-r--r-- | xmobar.cabal | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmobar.cabal b/xmobar.cabal index dadbe59..721e849 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -168,6 +168,7 @@ library Xmobar.Plugins.Monitors.Thermal, Xmobar.Plugins.Monitors.ThermalZone, Xmobar.Plugins.Monitors.Top, + Xmobar.Plugins.Monitors.Top.Common, Xmobar.Plugins.Monitors.Uptime, Xmobar.Plugins.Monitors.Bright, Xmobar.Plugins.Monitors.CatInt @@ -294,12 +295,14 @@ library if os(freebsd) -- enables freebsd specific code + extra-libraries: procstat build-depends: bsd-sysctl other-modules: Xmobar.Plugins.Monitors.Batt.FreeBSD, Xmobar.Plugins.Monitors.Cpu.FreeBSD, Xmobar.Plugins.Monitors.Mem.FreeBSD, Xmobar.Plugins.Monitors.Net.FreeBSD, Xmobar.Plugins.Monitors.Swap.FreeBSD, + Xmobar.Plugins.Monitors.Top.FreeBSD, Xmobar.Plugins.Monitors.Uptime.FreeBSD else other-modules: Xmobar.Plugins.Monitors.Batt.Linux, @@ -307,6 +310,7 @@ library Xmobar.Plugins.Monitors.Mem.Linux, Xmobar.Plugins.Monitors.Net.Linux, Xmobar.Plugins.Monitors.Swap.Linux, + Xmobar.Plugins.Monitors.Top.Linux, Xmobar.Plugins.Monitors.Uptime.Linux executable xmobar |