xmobarrc (4494B)
1 Config { 2 3 -- appearance 4 font = "FantasqueSansM Nerd Font Propo" 5 , bgColor = "#2F1E2E" 6 , fgColor = "#A39E9B" 7 , position = Top 8 -- , border = BottomB 50 9 -- , borderColor = "#2F1E2E" 10 11 -- layout 12 , sepChar = "%" -- delineator between plugin names and straight text 13 , alignSep = "}{" -- separator between left-right alignment 14 , template = "%XMonadLog% }{ %KBDL% <fc=#E7E9DB,#2F1E2E></fc> %multicpu% %memory%<fc=#06B6EF,#2F1E2E></fc>%battery%<fc=#815BA4,#06B6EF></fc>%date%" 15 -- general behavior 16 , lowerOnStart = True -- send to bottom of window stack on start 17 , hideOnStart = False -- start with window unmapped (hidden) 18 , allDesktops = True -- show on all desktops 19 , overrideRedirect = True -- set the Override Redirect flag (Xlib) 20 , pickBroadest = False -- choose widest display (multi-monitor) 21 , persistent = True -- enable/disable hiding (True = disabled) 22 23 -- plugins 24 -- Numbers can be automatically colored according to their value. xmobar 25 -- decides color based on a three-tier/two-cutoff system, controlled by 26 -- command options: 27 -- --Low sets the low cutoff 28 -- --High sets the high cutoff 29 -- 30 -- --low sets the color below --Low cutoff 31 -- --normal sets the color between --Low and --High cutoffs 32 -- --High sets the color above --High cutoff 33 -- 34 -- The --template option controls how the plugin is displayed. Text 35 -- color can be set by enclosing in <fc></fc> tags. For more details 36 -- see http://projects.haskell.org/xmobar/#system-monitor-plugins. 37 , commands = 38 39 -- weather monitor 40 [ Run Weather "KBDL" [ "--template", "<fc=#A39E9B,#2F1E2E> <skyCondition> <tempC>°C </fc>" 41 ] 36000 42 43 -- network activity monitor (dynamic interface resolution) 44 , Run DynNetwork [ "--template" , "<dev>: <tx>kB/s|<rx>kB/s" 45 , "--Low" , "1000" -- units: B/s 46 , "--High" , "5000" -- units: B/s 47 , "--low" , "darkgreen" 48 , "--normal" , "darkorange" 49 , "--high" , "darkred" 50 ] 10 51 52 -- cpu activity monitor 53 , Run MultiCpu [ "--template" , "<fc=#E7E9DB,#2F1E2E> <total0>%|<total1>% </fc>" 54 , "--Low" , "50" -- units: % 55 , "--High" , "85" -- units: % 56 -- , "--low" , "darkgreen" 57 -- , "--normal" , "darkorange" 58 -- , "--high" , "darkred" 59 ] 10 60 61 -- memory usage monitor 62 , Run Memory [ "--template" ,"<fc=#815BA4,#2F1E2E> <usedratio>% </fc>" 63 , "--Low" , "20" -- units: % 64 , "--High" , "90" -- units: % 65 -- , "--low" , "darkgreen" 66 -- , "--normal" , "darkorange" 67 -- , "--high" , "darkred" 68 ] 10 69 70 -- battery monitor 71 , Run Battery [ "--template" , "<fc=#E7E9DB,#06B6EF><acstatus></fc>" 72 , "--Low" , "10" -- units: % 73 , "--High" , "80" -- units: % 74 -- , "--low" , "#E7E9DB,#06B6EF" 75 -- , "--normal" , "#E7E9DB,#06B6EF" 76 -- , "--high" , "#E7E9DB,#06B6EF" 77 78 , "--" -- battery specific options 79 -- discharging status 80 , "-o" , " <left>% " 81 -- AC "on" status 82 , "-O" , " <left>% " 83 -- charged status 84 , "-i" , "<fc=#006000>Charged</fc>" 85 ] 50 86 87 -- time and date indicator 88 -- (%F = y-m-d date, %a = day of week, %T = h:m:s time) 89 , Run Date "<fc=#E7E9DB,#815BA4> %b %e %l:%M </fc>" "date" 10 90 , Run XMonadLog 91 ] 92 }