1 [bar/top]
   2 width = 100%
   3 height = 28
   4 
   5 locale = ru_RU.UTF-8
   6 font-0 = Terminus;2
   7 font-1 = Font Awesome-8;1
   8 font-2 = Font Awesome-8;3
   9 font-3 = Ubuntu-8:antialias=false;1
  10 
  11 background = ${xrdb:bga:#aa000000}
  12 foreground = ${xrdb:fg:#eeeeee}
  13 
  14 module-margin-left = 1
  15 module-margin-right = 1
  16 
  17 modules-left = i3 window
  18 modules-center = mail news torrents weather music
  19 modules-right = network bandwidth mixer volume lang bday date
  20 
  21 tray-padding = 4
  22 tray-position = right
  23 
  24 # Internals {{{
  25 
  26 [module/i3]
  27 type = internal/i3
  28 
  29 label-focused = %index%
  30 label-focused-padding = 2
  31 label-focused-background = ${bar/top.foreground}
  32 label-focused-foreground = ${bar/top.background}
  33 
  34 label-unfocused = ${self.label-focused}
  35 label-unfocused-padding = ${self.label-focused-padding}
  36 
  37 label-urgent = ${self.label-focused}
  38 label-urgent-padding = ${self.label-focused-padding}
  39 label-urgent-background = ${xrdb:color4:#d7af87}
  40 label-urgent-foreground = ${self.label-focused-foreground}
  41 
  42 [module/window]
  43 type = internal/xwindow
  44 label-maxlen = 100
  45 
  46 [module/bandwidth]
  47 type = internal/network
  48 
  49 interface = enp2s0
  50 accumulate-stats = true
  51 
  52 label-connected = %downspeed% %upspeed%
  53 label-disconnected = ${self.label-connected}
  54 
  55 [module/volume]
  56 type = internal/alsa
  57 
  58 format-volume = <bar-volume>
  59 format-muted = ${self.format-volume}
  60 format-muted-foreground = ${xrdb:color8:#888}
  61 
  62 bar-volume-width = 20
  63 bar-volume-indicator = |
  64 bar-volume-fill = •
  65 bar-volume-empty = ${self.bar-volume-fill}
  66 bar-volume-empty-foreground = ${self.format-muted-foreground}
  67 
  68 format-volume-font = 4
  69 format-muted-font = ${self.format-volume-font}
  70 
  71 [module/lang]
  72 type = internal/xkeyboard
  73 
  74 label-layout = "  %name:0:2% "
  75 label-indicator-on = %name:0:4%
  76 
  77 [module/date]
  78 type = internal/date
  79 
  80 date = "%R "
  81 date-alt = "%c "
  82 
  83 # }}}
  84 # Scripts {{{
  85 
  86 [module/mail]
  87 type = custom/script
  88 exec = status.sh -i mail
  89 interval = 2
  90 click-left = start.sh mail
  91 
  92 [module/news]
  93 type = custom/script
  94 exec = status.sh -i news
  95 interval = 2
  96 click-left = start.sh news
  97 
  98 [module/bday]
  99 type = custom/script
 100 exec = status.sh bday
 101 interval = 5
 102 click-left = status.sh -n bday
 103 
 104 [module/music]
 105 type = custom/script
 106 exec = status.sh music
 107 interval = 2
 108 click-left = start.sh music
 109 click-middle = music.sh pause
 110 
 111 [module/torrents]
 112 type = custom/script
 113 exec = status.sh -i torrents
 114 click-left = start.sh torrents
 115 
 116 [module/weather]
 117 type = custom/script
 118 exec = status.sh -I weather
 119 interval = 2
 120 click-left = status.sh -n weather
 121 
 122 [module/network]
 123 type = custom/script
 124 exec = status.sh -i network
 125 click-left = start.sh nmtui
 126 
 127 [module/mixer]
 128 type = custom/script
 129 exec = status.sh -i mixer
 130 click-left = pavucontrol &
 131 label-font = 3
 132 
 133 # }}}
 134 
 135 # vim: ft=dosini