diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-12-13 00:24:55 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-12-13 00:24:55 +0100 |
commit | 19f36a28d501773708da02ba149e8d8dae5756aa (patch) | |
tree | e6012f6d7a1c21c8dad2e7f027dc921f361251ec /Plugins/Monitors/Uptime.hs | |
parent | efd9bc7177c66d7bb9a994e919d915ecb5c75154 (diff) | |
download | xmobar-19f36a28d501773708da02ba149e8d8dae5756aa.tar.gz xmobar-19f36a28d501773708da02ba149e8d8dae5756aa.tar.bz2 |
Use -S in Network to control units display
We've made -P a synonym of -S, and renamed the option to useSuffix.
Diffstat (limited to 'Plugins/Monitors/Uptime.hs')
-rw-r--r-- | Plugins/Monitors/Uptime.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/Monitors/Uptime.hs b/Plugins/Monitors/Uptime.hs index 453b9ad..8524bcc 100644 --- a/Plugins/Monitors/Uptime.hs +++ b/Plugins/Monitors/Uptime.hs @@ -35,7 +35,7 @@ secsPerDay = 24 * 3600 uptime :: Monitor [String] uptime = do t <- io readUptime - u <- getConfigValue usePercent + u <- getConfigValue useSuffix let tsecs = floor t secs = tsecs `mod` secsPerDay days = tsecs `quot` secsPerDay |