d0tfiles

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

modules.ini (13358B)


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