1 [bar/top]
   2 width = 100%
   3 height = 28
   4 
   5 font-0 = -misc-fixed-medium-r-s*-13-*-iso10646-1
   6 font-1 = Font Awesome:size=8
   7 font-2 = Ubuntu Regular:size=8
   8 
   9 background = #222228
  10 foreground = #d8dade
  11 
  12 underline-size = 2
  13 underline-color = #00f
  14 
  15 module-margin-left = 1
  16 module-margin-right = 0
  17 
  18 modules-left = i3 xwindow
  19 modules-center = mail news todo torrents music
  20 modules-right = lan wlan volume xkeyboard date
  21 
  22 tray-position = right
  23 tray-padding = 2
  24 
  25 [bar/bottom]
  26 inherit = bar/top
  27 bottom = true
  28 
  29 # Left {{{
  30 
  31 [module/i3]
  32 type = internal/i3
  33 
  34 label-focused = %index%
  35 label-focused-padding = 2
  36 label-focused-background = #37373f
  37 label-focused-underline = #87af5f
  38 
  39 label-unfocused = ${self.label-focused}
  40 label-unfocused-padding = ${self.label-focused-padding}
  41 
  42 label-urgent = ${self.label-focused}
  43 label-urgent-padding = ${self.label-focused-padding}
  44 label-urgent-foreground = ${self.label-focused-background}
  45 label-urgent-background = ${self.label-focused-underline}
  46 label-urgent-underline = ${self.label-focused-background}
  47 
  48 [module/xwindow]
  49 type = internal/xwindow
  50 format-underline = #a8aaae
  51 
  52 # }}}
  53 # Center {{{
  54 
  55 [module/mail]
  56 type = custom/script
  57 interval = 2
  58 
  59 exec = ~/.config/polybar/mail.sh
  60 format-underline = #d70087
  61 
  62 click-left = start.sh mail &
  63 click-right = ~/.config/polybar/mail.sh 0
  64 
  65 [module/news]
  66 type = custom/script
  67 interval = 2
  68 
  69 exec = ~/.config/polybar/news.sh
  70 format-underline = #00d787
  71 
  72 click-left = start.sh news &
  73 click-right = ~/.config/polybar/news.sh 0
  74 
  75 [module/todo]
  76 type = custom/script
  77 interval = 5
  78 
  79 exec = ~/.config/polybar/todo.sh
  80 format-underline = #66cce1
  81 
  82 click-left = start.sh calendar &
  83 
  84 [module/music]
  85 type = custom/script
  86 interval = 2
  87 
  88 exec = echo $(~/.config/polybar/music.sh)
  89 format-underline = #d7af87
  90 
  91 click-left = start.sh music &
  92 click-right = ~/.config/polybar/music.sh pause
  93 scroll-up = ~/.config/polybar/music.sh prev
  94 scroll-down = ~/.config/polybar/music.sh next
  95 
  96 [module/torrents]
  97 type = custom/script
  98 interval = 5
  99 
 100 exec = ~/.config/polybar/torrents.sh
 101 format-underline = #ffe122
 102 
 103 click-left = start.sh torrents &
 104 
 105 # }}}
 106 # Right {{{
 107 
 108 [module/lan]
 109 type = internal/network
 110 interface = enp0s3
 111 
 112 format-connected = <label-connected>
 113 format-connected-underline = #9f78e1
 114 
 115 label-connected =  %downspeed% %upspeed%
 116 
 117 [module/wlan]
 118 inherit = module/lan
 119 interface = wlx784476bf0f9a
 120 
 121 [module/volume]
 122 type = internal/volume
 123 
 124 format-volume =  <bar-volume>
 125 format-volume-underline = #87d7d7
 126 
 127 label-muted-foreground = #4e4e56
 128 
 129 format-muted =  <bar-volume>
 130 format-muted-foreground = ${self.label-muted-foreground}
 131 format-muted-underline = ${self.format-volume-underline}
 132 
 133 bar-volume-width = 20
 134 bar-volume-indicator = |
 135 bar-volume-fill = -
 136 bar-volume-empty = -
 137 bar-volume-empty-foreground = ${self.label-muted-foreground}
 138 
 139 [module/xkeyboard]
 140 type = internal/xkeyboard
 141 
 142 format = <label-layout><label-indicator>
 143 
 144 label-layout =   %layout%
 145 label-layout-underline = #ff5f5f
 146 
 147 label-indicator = (%name%)
 148 label-indicator-padding = 1
 149 label-indicator-underline = ${self.label-layout-underline}
 150 
 151 [module/date]
 152 type = internal/date
 153 
 154 label = %date% %time%
 155 format-underline = #5f5fff
 156 
 157 date =
 158 time = %H:%M
 159 
 160 date-alt = " %a, %d %b"
 161 time-alt = %H:%M:%S
 162 
 163 # }}}
 164 
 165 # vim: ft=dosini
[raw]