Advertisement
Guest User

Untitled

a guest
Jan 5th, 2021
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. Config {
  2.  
  3. -- appearance
  4. font = "xft:Terminus:size=12:bold:antialias=true"
  5. , bgColor = "#434c5e"
  6. , fgColor = "#e5e9f0"
  7. , position = Top
  8. , border = BottomB
  9. , borderColor = "#81a1c1"
  10.  
  11. -- layout
  12. , sepChar = "%" -- delineator between plugin names and straight text
  13. , alignSep = "}{" -- separator between left-right alignment
  14. , template = "%StdinReader%}{ %mpd% | %memory% | %RJTT% | %date% || %kbd% "
  15.  
  16. -- general behavior
  17. , lowerOnStart = True -- send to bottom of window stack on start
  18. , hideOnStart = False -- start with window unmapped (hidden)
  19. , allDesktops = True -- show on all desktops
  20. , overrideRedirect = True -- set the Override Redirect flag (Xlib)
  21. , pickBroadest = True -- choose widest display (multi-monitor)
  22. , persistent = True -- enable/disable hiding (True = disabled)
  23.  
  24. -- plugins
  25. -- Numbers can be automatically colored according to their value. xmobar
  26. -- decides color based on a three-tier/two-cutoff system, controlled by
  27. -- command options:
  28. -- --Low sets the low cutoff
  29. -- --High sets the high cutoff
  30. --
  31. -- --low sets the color below --Low cutoff
  32. -- --normal sets the color between --Low and --High cutoffs
  33. -- --High sets the color above --High cutoff
  34. --
  35. -- The --template option controls how the plugin is displayed. Text
  36. -- color can be set by enclosing in <fc></fc> tags. For more details
  37. -- see http://projects.haskell.org/xmobar/#system-monitor-plugins.
  38. , commands =
  39.  
  40. -- weather monitor
  41. [ Run Weather "RJTT" [ "--template", "<skyCondition> | <fc=#88c0d0><tempC></fc>°C | <fc=#88c0>
  42. ] 36000
  43.  
  44.  
  45. -- memory usage monitor
  46. , Run Memory [ "--template" ,"Mem: <usedratio>%"
  47. , "--Low" , "20" -- units: %
  48. , "--High" , "90" -- units: %
  49. , "--low" , "#a3be8c"
  50. , "--normal" , "#ebcb8b"
  51. , "--high" , "#bf616a"
  52. ] 10
  53.  
  54.  
  55. -- mpd monitor
  56. , Run MPD ["-t", "<state>: <artist> - <title>"] 10
  57.  
  58. -- time and date indicator
  59. -- (%F = y-m-d date, %a = day of week, %T = h:m:s time)
  60. , Run Date "<fc=#ABABAB>%F (%a) %T</fc>" "date" 10
  61.  
  62. , Run StdinReader
  63.  
  64. -- keyboard layout indicator
  65. , Run Kbd [ ("us(dvorak)" , "<fc=#00008B>DV</fc>")
  66. , ("us" , "<fc=#8B0000>US</fc>")
  67. ]
  68. ]
  69. }
  70.  
  71.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement