d0tfiles

*nix dotfiles for arch linux setup
Log | Files | Refs | README | LICENSE

modules.ini (12663B)


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