modules.ini (12480B)
1 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 2 ;; 3 ;; __ ___ __ __ 4 ;; / |/ /___ ____/ /_ __/ /__ _____ 5 ;; / /|_/ / __ \/ __ / / / / / _ \/ ___/ 6 ;; / / / / /_/ / /_/ / /_/ / / __(__ ) 7 ;; /_/ /_/\____/\__,_/\__,_/_/\___/____/ 8 ;; 9 ;; Created By Aditya Shakya @adi1090x 10 ;; 11 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 12 13 [module/volume] 14 type = internal/pulseaudio 15 16 ; Sink to be used, if it exists (find using `pacmd list-sinks`, name field) 17 ; If not, uses default sink 18 sink = alsa_output.pci-0000_12_00.3.analog-stereo 19 20 ; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false 21 ; Default: true 22 use-ui-max = false 23 24 ; Interval for volume increase/decrease (in percent points) 25 ; Default: 5 26 interval = 5 27 28 ; Available tags: 29 ; <label-volume> (default) 30 ; <ramp-volume> 31 ; <bar-volume> 32 format-volume = <ramp-volume> <label-volume> 33 34 ; Available tags: 35 ; <label-muted> (default) 36 ; <ramp-volume> 37 ; <bar-volume> 38 format-muted = <label-muted> 39 40 ; Available tokens: 41 ; %percentage% (default) 42 label-volume = %percentage%% 43 44 ; Available tokens: 45 ; %percentage% (default 46 format-muted-prefix = 婢 47 format-muted-prefix-foreground = ${color.BGA} 48 format-muted-font = 2 49 label-muted = " Mute" 50 label-muted-foreground = ${color.BGA} 51 52 ; Only applies if <ramp-volume> is used 53 ramp-volume-0 = 奄 54 ramp-volume-1 = 奔 55 ramp-volume-2 = 奔 56 ramp-volume-3 = 墳 57 ramp-volume-4 = 墳 58 ramp-volume-foreground = ${color.YELLOW} 59 ramp-volume-font = 2 60 61 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 62 63 [module/battery] 64 type = internal/battery 65 66 ; This is useful in case the battery never reports 100% charge 67 full-at = 99 68 69 ; Use the following command to list batteries and adapters: 70 ; $ ls -1 /sys/class/power_supply/ 71 battery = BAT1 72 adapter = ACAD 73 74 ; If an inotify event haven't been reported in this many 75 ; seconds, manually poll for new values. 76 ; 77 ; Needed as a fallback for systems that don't report events 78 ; on sysfs/procfs. 79 ; 80 ; Disable polling by setting the interval to 0. 81 ; 82 ; Default: 5 83 poll-interval = 2 84 85 ; see "man date" for details on how to format the time string 86 ; NOTE: if you want to use syntax tags here you need to use %%{...} 87 ; Default: %H:%M:%S 88 time-format = %H:%M 89 90 ; Available tags: 91 ; <label-charging> (default) 92 ; <bar-capacity> 93 ; <ramp-capacity> 94 ; <animation-charging> 95 format-charging = <animation-charging> <label-charging> 96 ; Available tags: 97 ; <label-discharging> (default) 98 ; <bar-capacity> 99 ; <ramp-capacity> 100 ; <animation-discharging> 101 format-discharging = <ramp-capacity> <label-discharging> 102 103 ; Available tags: 104 ; <label-full> (default) 105 ; <bar-capacity> 106 ; <ramp-capacity> 107 ;format-full = <ramp-capacity> <label-full> 108 109 ; Available tokens: 110 ; %percentage% (default) 111 ; %time% 112 ; %consumption% (shows current charge rate in watts) 113 114 label-charging = %percentage%% 115 116 ; Available tokens: 117 ; %percentage% (default) 118 ; %time% 119 ; %consumption% (shows current discharge rate in watts) 120 label-discharging = %percentage%% 121 122 ; Available tokens: 123 ; %percentage% (default) 124 format-full = <label-full> 125 format-full-font = 2 126 format-full-prefix = " " 127 format-full-prefix-foreground = ${color.GREEN} 128 label-full = %percentage%% 129 130 ; Only applies if <ramp-capacity> is used 131 ramp-capacity-0 = 132 ramp-capacity-1 = 133 ramp-capacity-2 = 134 ramp-capacity-3 = 135 ramp-capacity-4 = 136 ramp-capacity-foreground = ${color.BLUE} 137 ramp-capacity-font = 2 138 ; Only applies if <bar-capacity> is used 139 ;bar-capacity-width = 10 140 141 ; Only applies if <animation-charging> is used 142 animation-charging-0 = 143 animation-charging-1 = 144 animation-charging-2 = 145 animation-charging-3 = 146 animation-charging-4 = 147 animation-charging-foreground = ${color.GREEN} 148 animation-charging-font = 2 149 ; Framerate in milliseconds 150 animation-charging-framerate = 750 151 152 ; Only applies if <animation-discharging> is used 153 ;;animation-discharging-0 = 154 ;;animation-discharging-1 = 155 ;;animation-discharging-2 = 156 ;;animation-discharging-3 = 157 ;;animation-discharging-4 = 158 ;;animation-discharging-5 = 159 ;;animation-discharging-6 = 160 ;;animation-discharging-7 = 161 ;;animation-discharging-8 = 162 163 ; Framerate in milliseconds 164 ;animation-discharging-framerate = 500 165 166 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 167 168 [module/date] 169 type = internal/date 170 171 ; Seconds to sleep between updates 172 interval = 1.0 173 174 ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string 175 ; NOTE: if you want to use syntax tags here you need to use %%{...} 176 ;;date = %Y-%m-%d% 177 178 ; Optional time format 179 time = %I:%M %p 180 181 ; if `date-alt` or `time-alt` is defined, clicking 182 ; the module will toggle between formats 183 ;;date-alt = %A, %d %B %Y 184 #time-alt = %d/%m/%Y% 185 time-alt = %b %d, %G 186 187 ; Available tags: 188 ; <label> (default) 189 190 format = <label> 191 format-prefix = " " 192 format-font = 2 193 format-prefix-foreground = ${color.CYAN} 194 format-padding = 0 195 196 ; Available tokens: 197 ; %date% 198 ; %time% 199 ; Default: %date% 200 label = %time% 201 202 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 203 204 [module/mpd] 205 type = internal/mpd 206 207 ; Host where mpd is running (either ip or domain name) 208 ; Can also be the full path to a unix socket where mpd is running. 209 ;;host = 127.0.0.1 210 ;;port = 6600 211 ;;password = mysecretpassword 212 213 ; Seconds to sleep between progressbar/song timer sync 214 ; Default: 1 215 interval = 2 216 217 ; Available tags: 218 ; <label-song> (default) 219 ; <label-time> 220 ; <bar-progress> 221 ; <toggle> - gets replaced with <icon-(pause|play)> 222 ; <toggle-stop> - gets replaced with <icon-(stop|play)> 223 ; <icon-random> 224 ; <icon-repeat> 225 ; <icon-repeatone> (deprecated) 226 ; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone> 227 ; <icon-consume> 228 ; <icon-prev> 229 ; <icon-stop> 230 ; <icon-play> 231 ; <icon-pause> 232 ; <icon-next> 233 ; <icon-seekb> 234 ; <icon-seekf> 235 format-online-prefix = " " 236 format-online-prefix-font = 2 237 format-online-prefix-foreground = ${color.PURPLE} 238 ;format-online = <toggle> <label-song> 239 format-online = <label-song> 240 ;format-online-font = 2 241 242 ;format-playing = ${self.format-online} 243 ;format-paused = ${self.format-online} 244 ;format-stopped = ${self.format-online} 245 246 ; Available tags: 247 ; <label-offline> 248 ;format-offline = <label-offline> 249 250 ; Available tokens: 251 ; %artist% 252 ; %album-artist% 253 ; %album% 254 ; %date% 255 ; %title% 256 ; Default: %artist% - %title% 257 label-song = "%title%" 258 label-song-maxlen = 25 259 label-song-ellipsis = true 260 261 ; Available tokens: 262 ; %elapsed% 263 ; %total% 264 ; Default: %elapsed% / %total% 265 ;;abel-time = %elapsed% / %total% 266 267 ; Available tokens: 268 ; None 269 label-offline = "MPD is offline" 270 271 ; Only applies if <icon-X> is used 272 icon-play = 契 273 icon-play-foreground = ${color.BLUE} 274 icon-pause = 275 icon-pause-foreground = ${color.BLUE} 276 icon-stop = 277 icon-stop-foreground = ${color.RED} 278 icon-prev = 279 icon-prev-foreground = ${color.BLUE} 280 icon-next = 281 icon-next-foreground = ${color.BLUE} 282 icon-seekb = ⏪ 283 icon-seekf = ⏩ 284 icon-random = 🔀 285 icon-repeat = 🔁 286 icon-repeatone = 🔂 287 icon-single = 🔂 288 icon-consume = ✀ 289 290 ; Used to display the state of random/repeat/repeatone/single 291 ; Only applies if <icon-[random|repeat|repeatone|single]> is used 292 ;;toggle-on-foreground = #ff 293 ;;toggle-off-foreground = #55 294 295 ; Only applies if <bar-progress> is used 296 ;;bar-progress-width = 45 297 ;;bar-progress-indicator = | 298 ;;bar-progress-fill = ─ 299 ;;bar-progress-empty = ─ 300 301 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 302 303 ; If you use both a wired and a wireless network, just add 2 module definitions. For example 304 [module/wired-network] 305 type = internal/network 306 interface = eth0 307 308 [module/wireless-network] 309 type = internal/network 310 interface = wlan0 311 312 ; Normal Module 313 [module/network] 314 type = internal/network 315 interface = wlan0 316 317 ; Seconds to sleep between updates 318 ; Default: 1 319 interval = 1.0 320 321 ; Test connectivity every Nth update 322 ; A value of 0 disables the feature 323 ; NOTE: Experimental (needs more testing) 324 ; Default: 0 325 ;ping-interval = 3 326 327 ; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) 328 ; Minimum output width of upload/download rate 329 ; Default: 3 330 ;;udspeed-minwidth = 5 331 332 ; Accumulate values from all interfaces 333 ; when querying for up/downspeed rate 334 ; Default: false 335 accumulate-stats = true 336 337 ; Consider an `UNKNOWN` interface state as up. 338 ; Some devices have an unknown state, even when they're running 339 ; Default: false 340 unknown-as-up = true 341 342 ; Available tags: 343 ; <label-connected> (default) 344 ; <ramp-signal> 345 format-connected = <ramp-signal> <label-connected> 346 347 ; Available tags: 348 ; <label-disconnected> (default) 349 350 format-disconnected-prefix = "睊 " 351 format-disconnected-font = 2 352 format-disconnected-prefix-foreground = ${color.BGA} 353 format-disconnected = <label-disconnected> 354 355 ; Available tags: 356 ; <label-connected> (default) 357 ; <label-packetloss> 358 ; <animation-packetloss> 359 ;;format-packetloss = <animation-packetloss> <label-connected> 360 361 ; Available tokens: 362 ; %ifname% [wireless+wired] 363 ; %local_ip% [wireless+wired] 364 ; %local_ip6% [wireless+wired] 365 ; %essid% [wireless] 366 ; %signal% [wireless] 367 ; %upspeed% [wireless+wired] 368 ; %downspeed% [wireless+wired] 369 ; %linkspeed% [wired] 370 ; Default: %ifname% %local_ip% 371 ;label-connected = "%essid% %downspeed:8% %upspeed:8%" 372 label-connected = "%essid%" 373 ;;label-connected-foreground = #eefafafa 374 375 ; Available tokens: 376 ; %ifname% [wireless+wired] 377 ; Default: (none) 378 label-disconnected = "Offline" 379 label-disconnected-foreground = ${color.BGA} 380 381 ; Available tokens: 382 ; %ifname% [wireless+wired] 383 ; %local_ip% [wireless+wired] 384 ; %local_ip6% [wireless+wired] 385 ; %essid% [wireless] 386 ; %signal% [wireless] 387 ; %upspeed% [wireless+wired] 388 ; %downspeed% [wireless+wired] 389 ; %linkspeed% [wired] 390 ; Default: (none) 391 ;label-packetloss = %essid% 392 ;label-packetloss-foreground = #eefafafa 393 394 ; Only applies if <ramp-signal> is used 395 ramp-signal-0 = 直 396 ramp-signal-1 = 直 397 ramp-signal-2 = 直 398 ramp-signal-3 = 直 399 ramp-signal-4 = 直 400 ramp-signal-foreground = ${color.PURPLE} 401 ramp-signal-font = 2 402 403 ; Only applies if <animation-packetloss> is used 404 ;;animation-packetloss-0 = ⚠ 405 ;;animation-packetloss-0-foreground = #ffa64c 406 ;;animation-packetloss-1 = ⚠ 407 ;;animation-packetloss-1-foreground = #000000 408 ; Framerate in milliseconds 409 ;;animation-packetloss-framerate = 500 410 411 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 412 413 [module/workspaces] 414 type = internal/xworkspaces 415 416 ; Only show workspaces defined on the same output as the bar 417 ; 418 ; Useful if you want to show monitor specific workspaces 419 ; on different bars 420 ; 421 ; Default: false 422 pin-workspaces = true 423 424 ; Create click handler used to focus desktop 425 ; Default: true 426 enable-click = true 427 428 ; Create scroll handlers used to cycle desktops 429 ; Default: true 430 enable-scroll = true 431 432 ; icon-[0-9]+ = <desktop-name>;<icon> 433 ; NOTE: The desktop name needs to match the name configured by the WM 434 ; You can get a list of the defined desktops using: 435 ; $ xprop -root _NET_DESKTOP_NAMES 436 icon-0 = 1;ﱡ 437 icon-1 = 2;ﱡ 438 icon-2 = 3;ﱡ 439 icon-3 = 4;ﱡ 440 icon-4 = 5;ﱡ 441 icon-default = ﱡ 442 443 ; Available tags: 444 ; <label-monitor> 445 ; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)> 446 ; Default: <label-state> 447 format = <label-state> 448 format-padding = 0 449 format-font = 2 450 451 ; Available tokens: 452 ; %name% 453 ; Default: %name% 454 label-monitor = %name% 455 456 ; Available tokens: 457 ; %name% 458 ; %icon% 459 ; %index% 460 ; Default: %icon% %name% 461 label-active = ﱢ 462 label-active-foreground = ${color.RED} 463 label-active-background = ${color.BG} 464 ;;label-active-underline = ${color.AC} 465 466 ; Available tokens: 467 ; %name% 468 ; %icon% 469 ; %index% 470 ; Default: %icon% %name% 471 label-occupied = %icon% 472 ;label-occupied-underline = ${color.FG} 473 474 ; Available tokens: 475 ; %name% 476 ; %icon% 477 ; %index% 478 ; Default: %icon% %name% 479 label-urgent = %icon% 480 label-urgent-foreground = ${color.GREEN} 481 label-urgent-background = ${color.BG} 482 ;;label-urgent-underline = ${color.red} 483 484 ; Available tokens: 485 ; %name% 486 ; %icon% 487 ; %index% 488 ; Default: %icon% %name% 489 label-empty = %icon% 490 label-empty-foreground = ${color.CYAN} 491 492 label-active-padding = 1 493 label-urgent-padding = 1 494 label-occupied-padding = 1 495 label-empty-padding = 1 496 497 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 498 499 [module/sep] 500 type = custom/text 501 content = 502 content-font = 3 503 504 content-foreground = ${color.FG} 505 content-background = ${color.BG} 506 content-padding = 0 507 508 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 509 ;; __________ ______ 510 ;; / ____/ __ \/ ____/ 511 ;; / __/ / / / / /_ 512 ;; / /___/ /_/ / __/ 513 ;; /_____/\____/_/ 514 ;; 515 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_