[raw] [dotfiles.tar.gz]
   1 [colors]
   2 bg  = ${xrdb:background}
   3 bga = ${xrdb:background_argb}
   4 fg  = ${xrdb:foreground}
   5 ug  = ${xrdb:color12}
   6 
   7 [settings]
   8 pseudo-transparency = true
   9 
  10 locale = ru_RU.UTF-8
  11 font-0 = Terminus-9;2
  12 font-1 = Nerdfont-8;2
  13 font-2 = Ubuntu-8:antialias=false;1
  14 font-3 = Emoji:scale=15;1
  15 
  16 background = ${colors.bga}
  17 foreground = ${colors.fg}
  18 
  19 module-margin-left  = 1
  20 module-margin-right = 1
  21 
  22 tray-padding  = 4
  23 tray-position = right
  24 
  25 [bar/i3]
  26 inherit = settings
  27 height  = 28
  28 
  29 modules-left   = i3workspaces window
  30 modules-center = days mail news torrents weather music
  31 modules-right  = network netspeed mixer volume lang date
  32 
  33 [bar/dwm]
  34 inherit = settings
  35 background = ${colors.bg}
  36 override-redirect = true
  37 
  38 width  = 55%
  39 height = 26
  40 offset-x = 45%
  41 
  42 modules-left  = days mail news torrents weather music
  43 modules-right = network netspeed mixer volume lang date
  44 
  45 [bar/awesome]
  46 inherit = settings
  47 
  48 width  = 30%
  49 height = 24
  50 offset-x = 70%
  51 
  52 modules-right = days weather mail network netspeed mixer volume lang date
  53 
  54 [bar/qtile]
  55 inherit = bar/i3
  56 override-redirect = true
  57 modules-left = xworkspaces window
  58 
  59 # Internals {{{
  60 
  61 [module/i3workspaces]
  62 type = internal/i3
  63 
  64 label-focused = %index%
  65 label-focused-padding = 2
  66 label-focused-background = ${colors.fg}
  67 label-focused-foreground = ${colors.bg}
  68 
  69 label-unfocused = %index%
  70 label-unfocused-padding = 2
  71 
  72 label-urgent = %index%
  73 label-urgent-padding = 2
  74 label-urgent-background = ${colors.ug}
  75 label-urgent-foreground = ${colors.bg}
  76 
  77 [module/xworkspaces]
  78 type = internal/xworkspaces
  79 
  80 label-active = %name%
  81 label-active-padding = 2
  82 label-active-background = ${colors.fg}
  83 label-active-foreground = ${colors.bg}
  84 
  85 label-occupied = %name%
  86 label-occupied-background = #ff0000
  87 
  88 label-empty = %name%
  89 label-empty-padding = 2
  90 
  91 label-urgent = %name%
  92 label-urgent-padding = 2
  93 label-urgent-background = ${colors.ug}
  94 label-urgent-foreground = ${colors.bg}
  95 
  96 [module/window]
  97 type = internal/xwindow
  98 label-maxlen = 100
  99 
 100 [module/lang]
 101 type = internal/xkeyboard
 102 
 103 label-layout = "  %name:0:2% "
 104 label-indicator-on = %name:0:4%
 105 
 106 [module/date]
 107 type = internal/date
 108 
 109 date = "%H:%M "
 110 date-alt = "%a, %d %B %T "
 111 
 112 # }}}
 113 # Scripts {{{
 114 
 115 [module/mail]
 116 type = custom/script
 117 exec = status mail
 118 interval = 2
 119 click-left = start mail
 120 click-right = status -n mail
 121 
 122 [module/news]
 123 type = custom/script
 124 exec = status news
 125 interval = 2
 126 click-left = start news
 127 click-right = status -n news
 128 
 129 [module/days]
 130 type = custom/script
 131 exec = status days
 132 interval = 5
 133 click-left = status -n days
 134 click-right = status -n days
 135 
 136 [module/music]
 137 type = custom/script
 138 exec = status music
 139 interval = 2
 140 click-left = start music
 141 click-middle = music pause
 142 click-right = status -n music
 143 
 144 [module/torrents]
 145 type = custom/script
 146 exec = status torrents
 147 click-left = start torrents
 148 click-right = status -n torrents
 149 
 150 [module/weather]
 151 type = custom/script
 152 exec = status weather
 153 interval = 2
 154 click-left = status -n weather
 155 click-right = status -n weather
 156 
 157 # }}}
 158 # Network {{{
 159 
 160 [module/network]
 161 type = custom/script
 162 exec = status -i network
 163 
 164 click-left = pkill nm-applet || nm-applet &
 165 
 166 [module/netspeed]
 167 type = internal/network
 168 
 169 interface = ${file:~/.config/polybar/interface:lo}
 170 accumulate-stats = true
 171 
 172 label-connected = %downspeed% %upspeed%
 173 label-disconnected =
 174 
 175 # }}}
 176 # Volume {{{
 177 
 178 [module/mixer]
 179 type = custom/script
 180 exec = status -i mixer
 181 
 182 click-left = pavucontrol &
 183 
 184 [module/volume]
 185 type = internal/alsa
 186 
 187 format-volume = <bar-volume>
 188 format-muted = ${self.format-volume}
 189 format-muted-foreground = ${xrdb:color8}
 190 
 191 bar-volume-width = 20
 192 bar-volume-indicator = |
 193 bar-volume-fill  = •
 194 bar-volume-empty = •
 195 bar-volume-empty-foreground = ${xrdb:color8}
 196 
 197 format-volume-font = 3
 198 format-muted-font  = 3
 199 
 200 # }}}
 201 
 202 # vim: ft=dosini