summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorMichal Zielonka <michal.zielonka.8001@gmail.com>2021-10-14 19:59:35 +0200
committerMichal Zielonka <michal.zielonka.8001@gmail.com>2021-10-17 21:13:40 +0200
commitbb3feb7aca468a5542e8686c747dcdc95be3dcde (patch)
tree1204cc9b09ac15ed6a7f44bef6c3b51327888a40 /xmobar.cabal
parent8287e45b62d0d310512574850bad4741c4b3a53d (diff)
downloadxmobar-bb3feb7aca468a5542e8686c747dcdc95be3dcde.tar.gz
xmobar-bb3feb7aca468a5542e8686c747dcdc95be3dcde.tar.bz2
start using kvm library from bsd for receiving swapinfo
Using this library allows us to receive swap info which is more similar with result of command swapinfo.
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 721e849..bcb70f9 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -296,6 +296,7 @@ library
if os(freebsd)
-- enables freebsd specific code
extra-libraries: procstat
+ , kvm
build-depends: bsd-sysctl
other-modules: Xmobar.Plugins.Monitors.Batt.FreeBSD,
Xmobar.Plugins.Monitors.Cpu.FreeBSD,