diff options
-rw-r--r-- | NEWS | 8 | ||||
-rw-r--r-- | Plugins/Monitors/Common.hs | 2 | ||||
-rw-r--r-- | README | 3 |
3 files changed, 5 insertions, 8 deletions
@@ -21,11 +21,9 @@ _New features_ - Window borders: configuration options `border` and `borderColor` allow drawing borders around xmobar's window. - New monitor, `Uptime`, showing the system uptime. - - New monitor argument (`-P`) to enable displaying the `%` sign in - percentages; the sign is now never included by default. - - New monitor argument (`-S`) to enable displaying suffixes in some - cases: equivalent to `-P` for percentages and used by Uptime and - Network to control units display. + - New monitor argument (`-S`) to enable displaying the `%` symbol in + percentages or other suffixes (e.g., units in Uptime and Network); + the symbol is now never included by default. - New 'run once' commands, by specifying a 0 refresh rate in `Run Com` ([issue 26]). - MPD monitor: updated to libmpd 1.5. New fields `ppos` (playlist diff --git a/Plugins/Monitors/Common.hs b/Plugins/Monitors/Common.hs index bbd9097..6a59722 100644 --- a/Plugins/Monitors/Common.hs +++ b/Plugins/Monitors/Common.hs @@ -158,7 +158,7 @@ options = , Option "n" ["normal"] (ReqArg NormalColor "color number" ) "Color for the normal threshold: ex \"#00FF00\"" , Option "l" ["low"] (ReqArg LowColor "color number" ) "Color for the low threshold: ex \"#0000FF\"" , Option "t" ["template"] (ReqArg Template "output template" ) "Output template." - , Option "PS" ["suffix"] (ReqArg UseSuffix "True/False" ) "Use % to display percents or other suffixes." + , Option "S" ["suffix"] (ReqArg UseSuffix "True/False" ) "Use % to display percents or other suffixes." , Option "p" ["ppad"] (ReqArg PercentPad "percent padding") "Minimum percentage width." , Option "m" ["minwidth"] (ReqArg MinWidth "minimum width" ) "Minimum field width" , Option "M" ["maxwidth"] (ReqArg MaxWidth "maximum width" ) "Maximum field width" @@ -611,8 +611,7 @@ These are the arguments that can be used for internal commands in the -h color number --high=color number Color for the high threshold: es "#FF0000" -n color number --normal=color number Color for the normal threshold: es "#00FF00" -l color number --low=color number Color for the low threshold: es "#0000FF" - -P True/False --suffix=True/False Use % to display percents (default: False) - -S True/False --suffix=True/False Display optional suffixes (default: False) + -S True/False --suffix=True/False Display optional suffixes, such as % (default: False) -p number --ppad=number Pad percentages to given width -m number --minwidth=number Minimum field width -M number --maxwidth=number Maximum field width |