monky-2.1.0.0: A system state collecting library and application

Maintainerongy
Stabilityexperimental
PortabilityLinux
Safe HaskellNone
LanguageHaskell2010

Monky.Examples.Wifi

Description

FormatSignal only makes sense when used in a pollModule. But even in pollModule context updates may take a while because of some buffering by drivers or netlink subsystem.

Synopsis

Documentation

getWifiHandle Source #

Arguments

:: [WifiFormat]

Format String for output generation

-> Text

Text that should be displayed when wifi is disconnected

-> String

Name of the interface

-> IO WifiHandle 

Get a wifi handle

data WifiHandle Source #

The handle type for this module

data WifiFormat Source #

A typesafe version of a format string

Constructors

FormatChannel

Print the current networks channel

FormatRates

Print the current network max supported rate (always 54Mbit/s for me)

FormatName

Print the ESSID of the current network, may look weird because SSIDs are

FormatFreq

Print the frequency the current network sends on (related to channel)

FormatSignal

Print link quality (0-100)

FormatText Text

Print a plaintext string