Advertisement
Guest User

Untitled

a guest
May 29th, 2022
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.89 KB | None | 0 0
  1. Config {
  2.  
  3. -- appearance
  4. font = "xft:Bitstream Vera Sans Mono:size=11:bold:antialias=true"
  5. , bgColor = "black"
  6. , fgColor = "#646464"
  7. , position = Top
  8. , border = BottomB
  9. , borderColor = "#646464"
  10. , iconRoot = "/home/robert/.xmonad/xpm/" -- default: "."
  11.  
  12. -- layout
  13. , sepChar = "%" -- delineator between plugin names and straight text
  14. , alignSep = "}{" -- separator between left-right alignment
  15. , template = " <icon=haskell_20.xpm/> }{%VNKT% | %multicpu% | %memory% | %battery% | %date% "
  16.  
  17. -- general behavior
  18. , lowerOnStart = True -- send to bottom of window stack on start
  19. , hideOnStart = False -- start with window unmapped (hidden)
  20. , allDesktops = True -- show on all desktops
  21. , overrideRedirect = True -- set the Override Redirect flag (Xlib)
  22. , pickBroadest = False -- choose widest display (multi-monitor)
  23. , persistent = False -- enable/disable hiding (True = disabled)
  24.  
  25. -- plugins
  26. -- Numbers can be automatically colored according to their value. xmobar
  27. -- decides color based on a three-tier/two-cutoff system, controlled by
  28. -- command options:
  29. -- --Low sets the low cutoff
  30. -- --High sets the high cutoff
  31. --
  32. -- --low sets the color below --Low cutoff
  33. -- --normal sets the color between --Low and --High cutoffs
  34. -- --High sets the color above --High cutoff
  35. --
  36. -- The --template option controls how the plugin is displayed. Text
  37. -- color can be set by enclosing in <fc></fc> tags. For more details
  38. -- see http://projects.haskell.org/xmobar/#system-monitor-plugins.
  39. , commands = [
  40.  
  41. -- weather monitor
  42. Run Weather "VNKT" [ "--template", "<skyCondition> | <fc=#4682B4><tempC></fc>°C"
  43. ] 36000
  44.  
  45. -- network activity monitor (dynamic interface resolution)
  46. , Run DynNetwork [ "--template" , "<dev>: <tx>kB/s|<rx>kB/s"
  47. , "--Low" , "1000" -- units: B/s
  48. , "--High" , "5000" -- units: B/s
  49. , "--low" , "darkgreen"
  50. , "--normal" , "darkorange"
  51. , "--high" , "darkred"
  52. ] 10
  53.  
  54. -- cpu activity monitor
  55. , Run MultiCpu [ "--template" , "Cpu: <total>%"
  56. , "--Low" , "50" -- units: %
  57. , "--High" , "85" -- units: %
  58. , "--low" , "darkgreen"
  59. , "--normal" , "darkorange"
  60. , "--high" , "darkred"
  61. ] 20
  62.  
  63. -- cpu core temperature monitor
  64. , Run CoreTemp [ "--template" , "Temp: <core0>°C|<core1>°C"
  65. , "--Low" , "70" -- units: °C
  66. , "--High" , "80" -- units: °C
  67. , "--low" , "darkgreen"
  68. , "--normal" , "darkorange"
  69. , "--high" , "darkred"
  70. ] 50
  71.  
  72. -- memory usage monitor
  73. , Run Memory [ "--template" ,"Mem: <usedratio>%"
  74. , "--Low" , "20" -- units: %
  75. , "--High" , "90" -- units: %
  76. , "--low" , "darkgreen"
  77. , "--normal" , "darkorange"
  78. , "--high" , "darkred"
  79. ] 10
  80.  
  81. -- battery monitor
  82. , Run Battery [ "--template" , "Batt: <acstatus>"
  83. , "--Low" , "10" -- units: %
  84. , "--High" , "80" -- units: %
  85. , "--low" , "darkred"
  86. , "--normal" , "darkorange"
  87. , "--high" , "darkgreen"
  88.  
  89. , "--" -- battery specific options
  90. -- discharging status
  91. , "-o" , "<left>%"
  92. -- AC "on" status
  93. , "-O" , "<fc=#dAA520>Charging</fc>"
  94. -- charged status
  95. , "-i" , "<fc=#006000>Charged</fc>"
  96. ] 10
  97.  
  98. -- time and date indicator
  99. -- (%F = y-m-d date, %a = day of week, %T = h:m:s time)
  100. , Run Date "<fc=#ABABAB>%F (%a) %T</fc>" "date" 10
  101. -- Prints out the left side items such as workspaces, layout, etc.
  102. , Run StdinReader
  103.  
  104.  
  105. ]
  106. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement