config (9396B)
1 [bar/top_dark] 2 width = 100% 3 height = 34 4 5 background = #00000000 6 foreground = #ccffffff 7 8 line-color = ${bar/bottom.background} 9 line-size = 16 10 11 spacing = 2 12 padding-right = 5 13 padding-left = 5 14 module-margin = 4 15 16 font-0 = NotoSans-Regular:size=8;-1 17 font-1 = MaterialIcons:size=10;0 18 font-2 = Termsynu:size=8:antialias=false;-2 19 font-3 = FontAwesome:size=10;0 20 21 modules-left = powermenu 22 modules-right = brightness volume wireless-network wired-network battery date 23 24 [bar/top_light] 25 width = 100% 26 height = 34 27 28 background = #00ffffff 29 foreground = #cc000000 30 31 line-color = ${bar/bottom.background} 32 line-size = 16 33 34 spacing = 2 35 padding-right = 5 36 padding-left = 5 37 module-margin = 4 38 39 font-0 = NotoSans-Regular:size=8;-1 40 font-1 = MaterialIcons:size=10;0 41 font-2 = Termsynu:size=8:antialias=false;-2 42 font-3 = FontAwesome:size=10;0 43 44 modules-left = powermenu 45 modules-right = brightness volume wireless-network wired-network battery date 46 47 [bar/bottom] 48 bottom = true 49 width = 100% 50 height = 27 51 52 background = ${bar/top_dark.background} 53 foreground = ${bar/top_dark.foreground} 54 55 line-color = ${bar/top_dark.background} 56 line-size = 2 57 58 spacing = 3 59 padding-right = 4 60 module-margin-left = 0 61 module-margin-right = 6 62 63 font-0 = NotoSans-Regular:size=8;0 64 font-1 = unifont:size=6;-3 65 font-2 = FontAwesome:size=8;-2 66 font-3 = NotoSans-Regular:size=8;-1 67 font-4 = MaterialIcons:size=10;-1 68 font-5 = Termsynu:size=8:antialias=false;0 69 70 modules-left = i3 71 modules-right = temperature cpu memory 72 73 [module/battery] 74 type = internal/battery 75 full-at = 98 76 77 format-charging = <animation-charging> <label-charging> 78 format-discharging = <ramp-capacity> <label-discharging> 79 format-full = <ramp-capacity> <label-full> 80 81 ramp-capacity-0 = 82 ramp-capacity-0-foreground = #f53c3c 83 ramp-capacity-1 = 84 ramp-capacity-1-foreground = #ffa900 85 ramp-capacity-2 = 86 ramp-capacity-3 = 87 ramp-capacity-4 = 88 89 bar-capacity-width = 10 90 bar-capacity-format = %{+u}%{+o}%fill%%empty%%{-u}%{-o} 91 bar-capacity-fill = █ 92 bar-capacity-fill-foreground = #ddffffff 93 bar-capacity-fill-font = 3 94 bar-capacity-empty = █ 95 bar-capacity-empty-font = 3 96 bar-capacity-empty-foreground = #44ffffff 97 98 animation-charging-0 = 99 animation-charging-1 = 100 animation-charging-2 = 101 animation-charging-3 = 102 animation-charging-4 = 103 animation-charging-framerate = 750 104 105 [module/bspwm] 106 type = internal/bspwm 107 108 ws-icon-0 = term; 109 ws-icon-1 = web; 110 ws-icon-2 = code; 111 ws-icon-3 = music; 112 ws-icon-4 = irssi; 113 ws-icon-default = 114 115 format = <label-state> <label-mode> 116 117 label-dimmed-underline = ${BAR.background} 118 119 label-active = %icon% 120 label-active-foreground = #fff 121 label-active-background = #773f3f3f 122 label-active-underline = #c9665e 123 label-active-font = 4 124 label-active-padding = 4 125 126 label-occupied = %icon% 127 label-occupied-foreground = #dd 128 label-occupied-underline = #666 129 label-occupied-font = 4 130 label-occupied-padding = 4 131 132 label-urgent = %icon% 133 label-urgent-foreground = #000000 134 label-urgent-background = #bd2c40 135 label-urgent-underline = #9b0a20 136 label-urgent-font = 4 137 label-urgent-padding = 4 138 139 label-empty = %icon% 140 label-empty-foreground = #55 141 label-empty-font = 4 142 label-empty-padding = 4 143 144 label-monocle = 145 label-monocle-underline = ${module/bspwm.label-active-underline} 146 label-monocle-background = #33ffffff 147 label-monocle-padding = 2 148 149 label-locked = 150 label-locked-foreground = #bd2c40 151 label-locked-underline = ${module/bspwm.label-monocle-underline} 152 label-locked-padding = ${module/bspwm.label-monocle-padding} 153 154 label-sticky = 155 label-sticky-foreground = #fba922 156 label-sticky-underline = ${module/bspwm.label-monocle-underline} 157 label-sticky-padding = ${module/bspwm.label-monocle-padding} 158 159 label-private = 160 label-private-foreground = #bd2c40 161 label-private-underline = ${module/bspwm.label-monocle-underline} 162 label-private-padding = ${module/bspwm.label-monocle-padding} 163 164 [module/bspwm-tmp] 165 type = internal/bspwm 166 format = <label-state> 167 168 label-active = 169 label-active-padding = 1 170 label-occupied = 171 label-occupied-padding = 1 172 label-empty = 173 label-empty-padding = 1 174 175 [module/cpu] 176 type = internal/cpu 177 interval = 0.5 178 format = <label> <ramp-coreload> 179 label = CPU 180 181 ramp-coreload-0 = ▁ 182 ramp-coreload-0-font = 2 183 ramp-coreload-0-foreground = #aaff77 184 ramp-coreload-1 = ▂ 185 ramp-coreload-1-font = 2 186 ramp-coreload-1-foreground = #aaff77 187 ramp-coreload-2 = ▃ 188 ramp-coreload-2-font = 2 189 ramp-coreload-2-foreground = #aaff77 190 ramp-coreload-3 = ▄ 191 ramp-coreload-3-font = 2 192 ramp-coreload-3-foreground = #aaff77 193 ramp-coreload-4 = ▅ 194 ramp-coreload-4-font = 2 195 ramp-coreload-4-foreground = #fba922 196 ramp-coreload-5 = ▆ 197 ramp-coreload-5-font = 2 198 ramp-coreload-5-foreground = #fba922 199 ramp-coreload-6 = ▇ 200 ramp-coreload-6-font = 2 201 ramp-coreload-6-foreground = #ff5555 202 ramp-coreload-7 = █ 203 ramp-coreload-7-font = 2 204 ramp-coreload-7-foreground = #ff5555 205 206 [module/date] 207 type = internal/date 208 date = %%{F#99}%a, %B %d %{F-} %%{F}%H:%M%%{F-} 209 date-alt = %%{F}%A, %d %B %Y %%{F}%H:%M%%{F#666}:%%{F#fba922}%S%%{F-} 210 ; date = %%{F#99}%a, %B %d %{F-} %%{F#fff}%H:%M%%{F-} 211 ; date-alt = %%{F#fff}%A, %d %B %Y %%{F#fff}%H:%M%%{F#666}:%%{F#fba922}%S%%{F-} 212 213 [module/memory] 214 type = internal/memory 215 format = <label> <bar-used> 216 label = RAM 217 218 bar-used-width = 30 219 bar-used-foreground-0 = #aaff77 220 bar-used-foreground-1 = #aaff77 221 bar-used-foreground-2 = #fba922 222 bar-used-foreground-3 = #ff5555 223 bar-used-indicator = | 224 bar-used-indicator-font = 6 225 bar-used-indicator-foreground = #ff 226 bar-used-fill = ─ 227 bar-used-fill-font = 6 228 bar-used-empty = ─ 229 bar-used-empty-font = 6 230 bar-used-empty-foreground = #444444 231 232 [module/wireless-network] 233 type = internal/network 234 interface = wlp3s0 235 interval = 3.0 236 ping-interval = 10 237 238 format-connected = <ramp-signal> <label-connected> 239 label-connected = %essid% 240 label-disconnected = not connected 241 label-disconnected-foreground = #66 242 243 ramp-signal-0 = 244 ramp-signal-1 = 245 ramp-signal-2 = 246 ramp-signal-3 = 247 ramp-signal-4 = 248 249 animation-packetloss-0 = 250 animation-packetloss-0-foreground = #ffa64c 251 animation-packetloss-1 = 252 animation-packetloss-1-foreground = ${bar/top_dark.foreground} 253 animation-packetloss-framerate = 500 254 255 [module/wired-network] 256 type = internal/network 257 interface = enp2s0f0 258 interval = 3.0 259 260 label-connected = %{T3}%local_ip%%{T-} 261 label-disconnected-foreground = #66 262 263 [module/volume] 264 type = custom/script 265 exec = /home/zeroalpha/.scripts/pactl-volume now 266 exec-if = command -v pactl 267 scroll-up = /home/zeroalpha/.scripts/pactl-volume down 268 scroll-down = /home/zeroalpha/.scripts/pactl-volume up 269 use-ui-max = true 270 interval = 0 271 272 format-volume = <ramp-volume> <label> 273 label-muted = muted 274 label-muted-foreground = #66 275 276 ramp-volume-0 = 277 ramp-volume-1 = 278 ramp-volume-2 = 279 ramp-volume-3 = 280 281 [module/powermenu] 282 type = custom/menu 283 284 ;;format-foreground = ${bar/top_dark.foreground} 285 ;;format-background = ${bar/top_dark.background} 286 287 label-open = 288 label-open-font = 4 289 label-close = "" 290 ;label-close-foreground = ${bar/top_dark.foreground} 291 label-separator = " / " 292 ;label-separator-foreground = ${bar/top_dark.foreground} 293 294 ; shutdown 295 menu-0-0 = " " 296 menu-0-0-exec = i3-nagbar -t warning -m 'Shut down?' -B 'Yes, shut down.' 'systemctl poweroff' 297 ;menu-0-0-foreground = #ffaa00 298 ; reboot 299 menu-0-1 = " " 300 menu-0-1-exec = i3-nagbar -t warning -m 'Reboot?' -B 'Yes, reboot.' 'systemctl reboot' 301 ;menu-0-1-foreground = #ffaa00 302 ; log out 303 menu-0-2 = " " 304 menu-0-2-exec = i3-nagbar -t warning -m 'Log out?' -B 'Yes, log out.' 'i3-msg exit' 305 ;menu-0-2-foreground = #ffaa00 306 307 308 [module/clock] 309 type = internal/date 310 interval = 2 311 date = %%{F#999}%Y-%m-%d%%{F-} %%{F#fff}%H:%M%%{F-} 312 313 [module/temperature] 314 type = internal/temperature 315 thermal-zone = 1 316 warn-temperature = 80 317 interval = 5 318 319 format = <label> 320 format-warn = <label-warn> 321 format-warn-underline = #f50a4d 322 323 label = %temperature-c% 324 label-warn = %temperature-c% 325 label-warn-foreground = #ff2222 326 ramp-foreground = #fba922 327 328 329 [module/i3] 330 type = internal/i3 331 format = <label-state> <label-mode> 332 index-sort = true 333 wrapping-scroll = false 334 335 ; Only show workspaces on the same output as the bar 336 ;pin-workspaces = true 337 338 label-mode-padding = 2 339 label-mode-foreground = #000000000 340 label-mode-background = #11ffffff 341 342 ; focused = Active workspace on focused monitor 343 label-focused = %index% 344 label-focused-background = #1effffff 345 label-focused-underline= #00000000 346 label-focused-padding = 2 347 348 ; unfocused = Inactive workspace on any monitor 349 label-unfocused = %index% 350 label-unfocused-padding = 2 351 352 ; visible = Active workspace on unfocused monitor 353 label-visible = %index% 354 label-visible-background = ${self.label-focused-background} 355 label-visible-underline = ${self.label-focused-underline} 356 label-visible-padding = ${self.label-focused-padding} 357 358 ; urgent = Workspace with urgency hint set 359 label-urgent = %index% 360 label-urgent-background = #FF4400 361 label-urgent-padding = 2 362 363 ; Separator in between workspaces 364 ; label-separator = | 365 366 [module/brightness] 367 type = custom/script 368 exec = /home/zeroalpha/.scripts/xrandr-brightness get brightness 369 exec-if = command -v xrandr 370 scroll-up = /home/zeroalpha/.scripts/xrandr-brightness down 0.1 371 scroll-down = /home/zeroalpha/.scripts/xrandr-brightness up 0.1 372 interval = 5 373 format = <label> 374 format-padding = 1 375 376 [settings] 377 screenchange-reload = true 378 ;compositing-background = xor 379 ;compositing-background = screen 380 ;compositing-foreground = source 381 ;compositing-border = over 382 ;pseudo-transparency = false 383 384 385 [global/wm] 386 margin-top = 5 387 margin-bottom = 5 388 389 ; vim:ft=dosini