Advertisement
zerinol

polybar module.ini

Jan 6th, 2021
3,489
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 30.40 KB | None | 0 0
  1. ;; ┌────────────────────────────────────────────────────────────────┐
  2. ;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│
  3. ;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│
  4. ;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│
  5. ;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
  6. ;; └────────────────────────────────────────────────────────────────┘
  7.  
  8. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  9.  
  10. [module/alsa]
  11. type = internal/alsa
  12.  
  13. ; Soundcard to be used
  14. ; Usually in the format hw:# where # is the card number
  15. ; You can find the different card numbers in `/proc/asound/cards`
  16. master-soundcard = default
  17. speaker-soundcard = default
  18. headphone-soundcard = default
  19.  
  20. ; Name of the master, speaker and headphone mixers
  21. ; Use the following command to list available mixer controls:
  22. ; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p"
  23. ; If master, speaker or headphone-soundcard isn't the default,
  24. ; use `amixer -c # scontrols` instead where # is the number
  25. ; of the master, speaker or headphone soundcard respectively
  26. ;
  27. ; Default: Master
  28. master-mixer = Master
  29.  
  30. ; Optionally define speaker and headphone mixers
  31. ; Default: none
  32. ;;speaker-mixer = Speaker
  33. ; Default: none
  34. ;;headphone-mixer = Headphone
  35.  
  36. ; NOTE: This is required if headphone_mixer is defined
  37. ; Use the following command to list available device controls
  38. ; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort
  39. ; You may also need to use `amixer -c # controls` as above for the mixer names
  40. ; Default: none
  41. ;;headphone-id = 9
  42.  
  43. ; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear
  44. ; Default: false
  45. ;;mapped = true
  46.  
  47. ; Interval for volume increase/decrease (in percent points)
  48. ; Default: 5
  49. interval = 5
  50.  
  51. ; Available tags:
  52. ;   <label-volume> (default)
  53. ;   <ramp-volume>
  54. ;   <bar-volume>
  55. format-volume = <ramp-volume> <label-volume>
  56. format-volume-background = ${color.background-alt}
  57. format-volume-foreground = ${color.foreground}
  58. format-volume-overline = ${color.background}
  59. format-volume-underline = ${color.background}
  60. format-volume-padding = 2
  61.  
  62. ; Available tags:
  63. ;   <label-muted> (default)
  64. ;   <ramp-volume>
  65. ;   <bar-volume>
  66. format-muted = <label-muted>
  67. format-muted-prefix =
  68. format-muted-background = ${color.background-alt}
  69. format-muted-foreground = ${color.foreground}
  70. format-muted-overline = ${color.background}
  71. format-muted-underline = ${color.background}
  72. format-muted-padding = 2
  73.  
  74. ; Available tokens:
  75. ;   %percentage% (default)
  76. label-volume = %percentage%%
  77.  
  78. ; Available tokens:
  79. ;   %percentage% (default
  80. label-muted = " Muted"
  81. label-muted-foreground = ${color.red}
  82.  
  83. ; Only applies if <ramp-volume> is used
  84. ramp-volume-0 =
  85. ramp-volume-1 =
  86. ramp-volume-2 =
  87.  
  88. ; If defined, it will replace <ramp-volume> when
  89. ; headphones are plugged in to `headphone_control_numid`
  90. ; If undefined, <ramp-volume> will be used for both
  91. ; Only applies if <ramp-volume> is used
  92. ramp-headphones-0 =
  93.  
  94. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  95.  
  96. [module/backlight]
  97. ;type = internal/xbacklight
  98. type = internal/backlight
  99.  
  100. ; Use the following command to list available cards:
  101. ; $ ls -1 /sys/class/backlight/
  102. ;card = intel_backlight
  103. card = intel_backlight
  104.  
  105. ; Available tags:
  106. ;   <label> (default)
  107. ;   <ramp>
  108. ;   <bar>
  109. format = <ramp> <label>
  110. format-background = ${color.background-alt}
  111. format-foreground = ${color.foreground}
  112. format-overline = ${color.background}
  113. format-underline = ${color.background}
  114. format-padding = 2
  115.  
  116. ; Available tokens:
  117. ;   %percentage% (default)
  118. label = %percentage%%
  119.  
  120. ; Only applies if <ramp> is used
  121. ramp-0 =
  122. ramp-1 =
  123. ramp-2 =
  124. ramp-3 =
  125. ramp-4 =
  126.  
  127. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  128.  
  129. [module/battery]
  130. type = internal/battery
  131.  
  132. ; This is useful in case the battery never reports 100% charge
  133. full-at = 99
  134.  
  135. ; Use the following command to list batteries and adapters:
  136. ; $ ls -1 /sys/class/power_supply/
  137. battery = BAT0
  138. adapter = ACAD
  139.  
  140. ; If an inotify event haven't been reported in this many
  141. ; seconds, manually poll for new values.
  142. ;
  143. ; Needed as a fallback for systems that don't report events
  144. ; on sysfs/procfs.
  145. ;
  146. ; Disable polling by setting the interval to 0.
  147. ;
  148. ; Default: 5
  149. poll-interval = 2
  150.  
  151. ; see "man date" for details on how to format the time string
  152. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  153. ; Default: %H:%M:%S
  154. time-format = %H:%M
  155.  
  156. ; Available tags:
  157. ;   <label-charging> (default)
  158. ;   <bar-capacity>
  159. ;   <ramp-capacity>
  160. ;   <animation-charging>
  161. format-charging = <label-charging>
  162. format-charging-prefix = " "
  163. format-charging-background = ${color.background-alt}
  164. format-charging-foreground = ${color.foreground}
  165. format-charging-overline = ${color.background}
  166. format-charging-underline = ${color.background}
  167. format-charging-padding = 2
  168.  
  169. ; Available tags:
  170. ;   <label-discharging> (default)
  171. ;   <bar-capacity>
  172. ;   <ramp-capacity>
  173. ;   <animation-discharging>
  174. format-discharging = <label-discharging>
  175. format-discharging-prefix = " "
  176. format-discharging-background = ${color.background-alt}
  177. format-discharging-foreground = ${color.foreground}
  178. format-discharging-overline = ${color.background}
  179. format-discharging-underline = ${color.background}
  180. format-discharging-padding = 2
  181.  
  182. ; Available tags:
  183. ;   <label-full> (default)
  184. ;   <bar-capacity>
  185. ;   <ramp-capacity>
  186. format-full = <label-full>
  187. format-full-prefix = " "
  188. format-full-background = ${color.background-alt}
  189. format-full-foreground = ${color.foreground}
  190. format-full-overline = ${color.background}
  191. format-full-underline = ${color.background}
  192. format-full-padding = 2
  193.  
  194. ; Available tokens:
  195. ;   %percentage% (default)
  196. ;   %time%
  197. ;   %consumption% (shows current charge rate in watts)
  198. label-charging = %percentage%%
  199.  
  200. ; Available tokens:
  201. ;   %percentage% (default)
  202. ;   %time%
  203. ;   %consumption% (shows current discharge rate in watts)
  204. label-discharging = %percentage%%
  205.  
  206. ; Available tokens:
  207. ;   %percentage% (default)
  208. label-full = Full
  209.  
  210. ; Only applies if <ramp-capacity> is used
  211. ramp-capacity-0 =
  212. ramp-capacity-1 =
  213. ramp-capacity-2 =
  214. ramp-capacity-3 =
  215. ramp-capacity-4 =
  216.  
  217. ; Only applies if <bar-capacity> is used
  218. ;bar-capacity-width = 10
  219.  
  220. ; Only applies if <animation-charging> is used
  221. animation-charging-0 =
  222. animation-charging-1 =
  223.  
  224. ; Framerate in milliseconds
  225. animation-charging-framerate = 750
  226.  
  227. ; Only applies if <animation-discharging> is used
  228. ;;animation-discharging-0 = ${battery.anim0}
  229. ;;animation-discharging-1 = ${battery.anim1}
  230.  
  231. ; Framerate in milliseconds
  232. ;animation-discharging-framerate = 500
  233.  
  234. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  235.  
  236. [module/bspwm]
  237. type = internal/bspwm
  238.  
  239. ; Only show workspaces defined on the same output as the bar
  240. ; NOTE: The bspwm and XRandR monitor names must match, which they do by default.
  241. ; Default: true
  242. pin-workspaces = true
  243.  
  244. ; Output mode flags after focused state label
  245. ; Default: false
  246. inline-mode = false
  247.  
  248. ; Create click handler used to focus workspace
  249. ; Default: true
  250. enable-click = false
  251.  
  252. ; Create scroll handlers used to cycle workspaces
  253. ; Default: true
  254. enable-scroll = false
  255.  
  256. ; Set the scroll cycle direction
  257. ; Default: true
  258. reverse-scroll = false
  259.  
  260. ; Use fuzzy (partial) matching on labels when assigning
  261. ; icons to workspaces
  262. ; Example: code;♚ will apply the icon to all workspaces
  263. ; containing 'code' in the label
  264. ; Default: false
  265. fuzzy-match = true
  266.  
  267. ; ws-icon-[0-9]+ = label;icon
  268. ; Note that the label needs to correspond with the bspwm workspace name
  269. ws-icon-0 = code;♚
  270. ws-icon-1 = office;♛
  271. ws-icon-2 = graphics;♜
  272. ws-icon-3 = mail;♝
  273. ws-icon-4 = web;♞
  274. ws-icon-default =
  275.  
  276. ; Available tags:
  277. ;   <label-monitor>
  278. ;   <label-state> - gets replaced with <label-(focused|urgent|occupied|empty)>
  279. ;   <label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)>
  280. ; Default: <label-state>
  281. format = <label-state> <label-mode>
  282.  
  283. ; Available tokens:
  284. ;   %name%
  285. ; Default: %name%
  286. label-monitor = %name%
  287.  
  288. ; If any values for label-dimmed-N are defined, the workspace/mode
  289. ; colors will get overridden with those values if the monitor is out of focus
  290. ; To only override workspaces in a specific state, use:
  291. ;   label-dimmed-focused
  292. ;   label-dimmed-occupied
  293. ;   label-dimmed-urgent
  294. ;   label-dimmed-empty
  295. label-dimmed-foreground = #555
  296. label-dimmed-underline = ${bar/top.background}
  297. label-dimmed-focused-background = #f00
  298.  
  299. ; Available tokens:
  300. ;   %name%
  301. ;   %icon%
  302. ;   %index%
  303. ; Default: %icon%  %name%
  304. label-focused = %icon%
  305. label-focused-foreground = #ffffff
  306. label-focused-background = #3f3f3f
  307. label-focused-underline = #fba922
  308.  
  309. ; Available tokens:
  310. ;   %name%
  311. ;   %icon%
  312. ;   %index%
  313. ; Default: %icon%  %name%
  314. label-occupied = %icon%
  315. label-occupied-underline = #555555
  316.  
  317. ; Available tokens:
  318. ;   %name%
  319. ;   %icon%
  320. ;   %index%
  321. ; Default: %icon%  %name%
  322. label-urgent = %icon%
  323. label-urgent-foreground = #000000
  324. label-urgent-background = #bd2c40
  325. label-urgent-underline = #9b0a20
  326.  
  327. ; Available tokens:
  328. ;   %name%
  329. ;   %icon%
  330. ;   %index%
  331. ; Default: %icon%  %name%
  332. label-empty = %icon%
  333. label-empty-foreground = #55
  334.  
  335. ; The following labels will be used to indicate the layout/mode
  336. ; for the focused workspace. Requires <label-mode>
  337. ;
  338. ; Available tokens:
  339. ;   None
  340. ;label-monocle = 
  341. ;label-tiled = 
  342. ;label-fullscreen = 
  343. ;label-floating = 
  344. ;label-pseudotiled = P
  345. ;label-locked = 
  346. ;label-locked-foreground = #bd2c40
  347. ;label-sticky = 
  348. ;label-sticky-foreground = #fba922
  349. ;label-private = 
  350. ;label-private-foreground = #bd2c40
  351.  
  352. ; Separator in between workspaces
  353. label-separator = |
  354. label-separator-padding = 2
  355. label-separator-foreground = #ffb52a
  356.  
  357. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  358.  
  359. [module/cpu]
  360. type = internal/cpu
  361.  
  362. ; Seconds to sleep between updates
  363. ; Default: 1
  364. interval = 1
  365.  
  366. ; Available tags:
  367. ;   <label> (default)
  368. ;   <bar-load>
  369. ;   <ramp-load>
  370. ;   <ramp-coreload>
  371. ;;format = <label> <ramp-coreload>
  372. format = <label>
  373. format-prefix =
  374. format-background = ${color.background-alt}
  375. format-foreground = ${color.foreground}
  376. format-overline = ${color.background}
  377. format-underline = ${color.background}
  378. format-padding = 2
  379.  
  380. ; Available tokens:
  381. ;   %percentage% (default) - total cpu load averaged over all cores
  382. ;   %percentage-sum% - Cumulative load on all cores
  383. ;   %percentage-cores% - load percentage for each core
  384. ;   %percentage-core[1-9]% - load percentage for specific core
  385. label = " %percentage%%"
  386.  
  387. ; Spacing between individual per-core ramps
  388. ;;ramp-coreload-spacing = 1
  389. ;;ramp-coreload-0 = ${cpu.load0}
  390. ;;ramp-coreload-1 = ${cpu.load1}
  391.  
  392. ;;ramp-load-0 = ${cpu.load0}
  393. ;;ramp-load-1 = ${cpu.load1}
  394.  
  395. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  396.  
  397. [module/date]
  398. type = internal/date
  399.  
  400. ; Seconds to sleep between updates
  401. interval = 1.0
  402.  
  403. ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
  404. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  405. ;;date = %Y-%m-%d%
  406.  
  407. ; Optional time format
  408. time = " %I:%M %p"
  409.  
  410. ; if `date-alt` or `time-alt` is defined, clicking
  411. ; the module will toggle between formats
  412. ;;date-alt = %A, %d %B %Y
  413. time-alt = " %a, %d %b %Y"
  414.  
  415. ; Available tags:
  416. ;   <label> (default)
  417. format = <label>
  418. format-background = ${color.background-alt}
  419. format-foreground = ${color.foreground}
  420. format-overline = ${color.background}
  421. format-underline = ${color.background}
  422. format-padding = 2
  423.  
  424. ; Available tokens:
  425. ;   %date%
  426. ;   %time%
  427. ; Default: %date%
  428. label = %time%
  429.  
  430. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  431.  
  432. [module/filesystem]
  433. type = internal/fs
  434.  
  435. ; Mountpoints to display
  436. mount-0 = /
  437. ;;mount-1 = /home
  438. ;;mount-2 = /var
  439.  
  440. ; Seconds to sleep between updates
  441. ; Default: 30
  442. interval = 30
  443.  
  444. ; Display fixed precision values
  445. ; Default: false
  446. fixed-values = true
  447.  
  448. ; Spacing between entries
  449. ; Default: 2
  450. ;;spacing = 4
  451.  
  452. ; Available tags:
  453. ;   <label-mounted> (default)
  454. ;   <bar-free>
  455. ;   <bar-used>
  456. ;   <ramp-capacity>
  457. format-mounted = <label-mounted>
  458. format-mounted-prefix =
  459. format-mounted-background = ${color.background-alt}
  460. format-mounted-foreground = ${color.foreground}
  461. format-mounted-overline = ${color.background}
  462. format-mounted-underline = ${color.background}
  463. format-mounted-padding = 2
  464.  
  465. ; Available tags:
  466. ;   <label-unmounted> (default)
  467. format-unmounted = <label-unmounted>
  468. format-unmounted-prefix =
  469. format-unmounted-background = ${color.background-alt}
  470. format-unmounted-foreground = ${color.foreground}
  471. format-unmounted-overline = ${color.background}
  472. format-unmounted-underline = ${color.background}
  473. format-unmounted-padding = 2
  474.  
  475. ; Available tokens:
  476. ;   %mountpoint%
  477. ;   %type%
  478. ;   %fsname%
  479. ;   %percentage_free%
  480. ;   %percentage_used%
  481. ;   %total%
  482. ;   %free%
  483. ;   %used%
  484. ; Default: %mountpoint% %percentage_free%%
  485. label-mounted = " %free%"
  486.  
  487. ; Available tokens:
  488. ;   %mountpoint%
  489. ; Default: %mountpoint% is not mounted
  490. label-unmounted = " %mountpoint%: not mounted"
  491.  
  492. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  493.  
  494. ;;[module/github]
  495. ;;type = internal/github
  496.  
  497. ; Accessing an access token stored in file
  498. ;;token = ${file:/path/to/file/containing/github/access.token}
  499.  
  500. ; Accessing an access token stored in an environment variable
  501. ;;token = ${env:GITHUB_ACCESS_TOKEN}
  502.  
  503. ; Whether empty notifications should be displayed or not
  504. ;;empty-notifications = false
  505.  
  506. ; Number of seconds in between requests
  507. ;;interval = 10
  508.  
  509. ; Available tags:
  510. ;   <label> (default)
  511. ;;format = <label>
  512. ;;format-prefix = 
  513.  
  514. ; Available tokens:
  515. ;   %notifications% (default)
  516. ; Default: Notifications: %notifications%
  517. ;;label = %notifications%
  518.  
  519. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  520.  
  521. ;;[module/i3]
  522. ;;type = internal/i3
  523.  
  524. ; Only show workspaces defined on the same output as the bar
  525. ;
  526. ; Useful if you want to show monitor specific workspaces
  527. ; on different bars
  528. ;
  529. ; Default: false
  530. ;;pin-workspaces = true
  531.  
  532. ; This will split the workspace name on ':'
  533. ; Default: false
  534. ;;strip-wsnumbers = true
  535.  
  536. ; Sort the workspaces by index instead of the default
  537. ; sorting that groups the workspaces by output
  538. ; Default: false
  539. ;;index-sort = true
  540.  
  541. ; Create click handler used to focus workspace
  542. ; Default: true
  543. ;;enable-click = false
  544.  
  545. ; Create scroll handlers used to cycle workspaces
  546. ; Default: true
  547. ;;enable-scroll = false
  548.  
  549. ; Wrap around when reaching the first/last workspace
  550. ; Default: true
  551. ;;wrapping-scroll = false
  552.  
  553. ; Set the scroll cycle direction
  554. ; Default: true
  555. ;;reverse-scroll = false
  556.  
  557. ; Use fuzzy (partial) matching on labels when assigning
  558. ; icons to workspaces
  559. ; Example: code;♚ will apply the icon to all workspaces
  560. ; containing 'code' in the label
  561. ; Default: false
  562. ;;fuzzy-match = true
  563.  
  564. ; ws-icon-[0-9]+ = label;icon
  565. ; NOTE: The label needs to match the name of the i3 workspace
  566. ;;ws-icon-0 = 1;♚
  567. ;;ws-icon-1 = 2;♛
  568. ;;ws-icon-2 = 3;♜
  569. ;;ws-icon-3 = 4;♝
  570. ;;ws-icon-4 = 5;♞
  571. ;;ws-icon-default = ♟
  572. ; NOTE: You cannot skip icons, e.g. to get a ws-icon-6
  573. ; you must also define a ws-icon-5.
  574.  
  575. ; Available tags:
  576. ;   <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)>
  577. ;   <label-mode> (default)
  578. ;;format = <label-state> <label-mode>
  579.  
  580. ; Available tokens:
  581. ;   %mode%
  582. ; Default: %mode%
  583. ;;label-mode = %mode%
  584. ;;label-mode-padding = 2
  585. ;;label-mode-background = #e60053
  586.  
  587. ; Available tokens:
  588. ;   %name%
  589. ;   %icon%
  590. ;   %index%
  591. ;   %output%
  592. ; Default: %icon%  %name%
  593. ;;label-focused = %index%
  594. ;;label-focused-foreground = #ffffff
  595. ;;label-focused-background = #3f3f3f
  596. ;;label-focused-underline = #fba922
  597. ;;label-focused-padding = 4
  598.  
  599. ; Available tokens:
  600. ;   %name%
  601. ;   %icon%
  602. ;   %index%
  603. ;   %output%
  604. ; Default: %icon%  %name%
  605. ;;label-unfocused = %index%
  606. ;;label-unfocused-padding = 4
  607.  
  608. ; Available tokens:
  609. ;   %name%
  610. ;   %icon%
  611. ;   %index%
  612. ;   %output%
  613. ; Default: %icon%  %name%
  614. ;;label-visible = %index%
  615. ;;label-visible-underline = #555555
  616. ;;label-visible-padding = 4
  617.  
  618. ; Available tokens:
  619. ;   %name%
  620. ;   %icon%
  621. ;   %index%
  622. ;   %output%
  623. ; Default: %icon%  %name%
  624. ;;label-urgent = %index%
  625. ;;label-urgent-foreground = #000000
  626. ;;label-urgent-background = #bd2c40
  627. ;;label-urgent-padding = 4
  628.  
  629. ; Separator in between workspaces
  630. ;;label-separator = |
  631. ;;label-separator-padding = 2
  632. ;;label-separator-foreground = #ffb52a
  633.  
  634. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  635.  
  636. [module/memory]
  637. type = internal/memory
  638.  
  639. ; Seconds to sleep between updates
  640. ; Default: 1
  641. interval = 1
  642.  
  643. ; Available tags:
  644. ;   <label> (default)
  645. ;   <bar-used>
  646. ;   <bar-free>
  647. ;   <ramp-used>
  648. ;   <ramp-free>
  649. ;   <bar-swap-used>
  650. ;   <bar-swap-free>
  651. ;   <ramp-swap-used>
  652. ;   <ramp-swap-free>
  653. format = <label>
  654. format-prefix =
  655. format-background = ${color.background-alt}
  656. format-foreground = ${color.foreground}
  657. format-overline = ${color.background}
  658. format-underline = ${color.background}
  659. format-padding = 2
  660.  
  661. ; Available tokens:
  662. ;   %percentage_used% (default)
  663. ;   %percentage_free%
  664. ;   %gb_used%
  665. ;   %gb_free%
  666. ;   %gb_total%
  667. ;   %mb_used%
  668. ;   %mb_free%
  669. ;   %mb_total%
  670. ;   %percentage_swap_used%
  671. ;   %percentage_swap_free%
  672. ;   %mb_swap_total%
  673. ;   %mb_swap_free%
  674. ;   %mb_swap_used%
  675. ;   %gb_swap_total%
  676. ;   %gb_swap_free%
  677. ;   %gb_swap_used%
  678.  
  679. label = " %mb_used%"
  680.  
  681. ; Only applies if <ramp-used> is used
  682. ;;ramp-used-0 = ${memory.used0}
  683. ;;ramp-used-1 = ${memory.used1}
  684. ;;ramp-used-2 = ${memory.used2}
  685.  
  686. ; Only applies if <ramp-free> is used
  687. ;;ramp-free-0 = ${memory.free0}
  688. ;;ramp-free-1 = ${memory.free1}
  689. ;;ramp-free-2 = ${memory.free2}
  690.  
  691. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  692.  
  693. [module/mpd]
  694. type = internal/mpd
  695.  
  696. ; Host where mpd is running (either ip or domain name)
  697. ; Can also be the full path to a unix socket where mpd is running.
  698. ;;host = 127.0.0.1
  699. ;;port = 6600
  700. ;;password = mysecretpassword
  701.  
  702. ; Seconds to sleep between progressbar/song timer sync
  703. ; Default: 1
  704. interval = 1
  705.  
  706. ; Available tags:
  707. ;   <label-song> (default)
  708. ;   <label-time>
  709. ;   <bar-progress>
  710. ;   <toggle> - gets replaced with <icon-(pause|play)>
  711. ;   <toggle-stop> - gets replaced with <icon-(stop|play)>
  712. ;   <icon-random>
  713. ;   <icon-repeat>
  714. ;   <icon-repeatone> (deprecated)
  715. ;   <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone>
  716. ;   <icon-consume>
  717. ;   <icon-prev>
  718. ;   <icon-stop>
  719. ;   <icon-play>
  720. ;   <icon-pause>
  721. ;   <icon-next>
  722. ;   <icon-seekb>
  723. ;   <icon-seekf>
  724. format-online = <label-song> <icon-prev> <toggle> <icon-next>
  725. format-online-prefix =
  726. format-online-padding = 2
  727. format-online-foreground = ${color.foreground-alt}
  728.  
  729. ;format-playing = ${self.format-online}
  730. ;format-paused = ${self.format-online}
  731. ;format-stopped = ${self.format-online}
  732.  
  733. ; Available tags:
  734. ;   <label-offline>
  735. format-offline = <label-offline>
  736. format-offline-prefix =
  737. format-offline-padding = 2
  738. format-offline-foreground = ${color.foreground-alt}
  739.  
  740. ; Available tokens:
  741. ;   %artist%
  742. ;   %album-artist%
  743. ;   %album%
  744. ;   %date%
  745. ;   %title%
  746. ; Default: %artist% - %title%
  747. label-song =  " %artist% - %title%"
  748. label-song-maxlen = 25
  749. label-song-ellipsis = true
  750.  
  751. ; Available tokens:
  752. ;   %elapsed%
  753. ;   %total%
  754. ; Default: %elapsed% / %total%
  755. label-time = %elapsed% / %total%
  756.  
  757. ; Available tokens:
  758. ;   None
  759. label-offline = " Offline"
  760.  
  761. ; Only applies if <icon-X> is used
  762. icon-play =
  763. icon-pause =
  764. icon-stop =
  765. icon-next =
  766. icon-prev =
  767. icon-seekf =
  768. icon-seekb =
  769. icon-random =
  770. icon-repeat =
  771. icon-repeatone =
  772. icon-single =
  773. icon-consume =
  774.  
  775. ; Used to display the state of random/repeat/repeatone/single
  776. ; Only applies if <icon-[random|repeat|repeatone|single]> is used
  777. toggle-on-foreground = ${color.primary}
  778. toggle-off-foreground = ${color.red}
  779.  
  780. ; Only applies if <bar-progress> is used
  781. ;;bar-progress-width = 45
  782. ;;bar-progress-indicator = |
  783. ;;bar-progress-fill = ─
  784. ;;bar-progress-empty = ─
  785.  
  786. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  787.  
  788. ; If you use both a wired and a wireless network, just add 2 module definitions. For example
  789. [module/wired-network]
  790. type = internal/network
  791. interface = eth0
  792.  
  793. [module/wireless-network]
  794. type = internal/network
  795. interface = wlp3s0
  796.  
  797. ; Normal Module
  798. [module/network]
  799. type = internal/network
  800. interface = wlp2s0
  801.  
  802. ; Seconds to sleep between updates
  803. ; Default: 1
  804. interval = 1.0
  805.  
  806. ; Test connectivity every Nth update
  807. ; A value of 0 disables the feature
  808. ; NOTE: Experimental (needs more testing)
  809. ; Default: 0
  810. ;ping-interval = 3
  811.  
  812. ; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%)
  813. ; Minimum output width of upload/download rate
  814. ; Default: 3
  815. ;;udspeed-minwidth = 5
  816.  
  817. ; Accumulate values from all interfaces
  818. ; when querying for up/downspeed rate
  819. ; Default: false
  820. accumulate-stats = true
  821.  
  822. ; Consider an `UNKNOWN` interface state as up.
  823. ; Some devices have an unknown state, even when they're running
  824. ; Default: false
  825. unknown-as-up = true
  826.  
  827. ; Available tags:
  828. ;   <label-connected> (default)
  829. ;   <ramp-signal>
  830. format-connected = <label-connected>
  831. format-connected-prefix =
  832. format-connected-background = ${color.background-alt}
  833. format-connected-foreground = ${color.foreground}
  834. format-connected-overline = ${color.background}
  835. format-connected-underline = ${color.background}
  836. format-connected-padding = 2
  837.  
  838. ; Available tags:
  839. ;   <label-disconnected> (default)
  840. format-disconnected = <label-disconnected>
  841. format-disconnected-prefix =
  842. format-disconnected-background = ${color.background-alt}
  843. format-disconnected-foreground = ${color.foreground}
  844. format-disconnected-overline = ${color.background}
  845. format-disconnected-underline = ${color.background}
  846. format-disconnected-padding = 2
  847.  
  848. ; Available tags:
  849. ;   <label-connected> (default)
  850. ;   <label-packetloss>
  851. ;   <animation-packetloss>
  852. ;;format-packetloss = <animation-packetloss> <label-connected>
  853.  
  854. ; Available tokens:
  855. ;   %ifname%    [wireless+wired]
  856. ;   %local_ip%  [wireless+wired]
  857. ;   %local_ip6% [wireless+wired]
  858. ;   %essid%     [wireless]
  859. ;   %signal%    [wireless]
  860. ;   %upspeed%   [wireless+wired]
  861. ;   %downspeed% [wireless+wired]
  862. ;   %linkspeed% [wired]
  863. ; Default: %ifname% %local_ip%
  864. label-connected = "%{A1:networkmanager_dmenu &:} %essid%%{A}"
  865.  
  866. ; Available tokens:
  867. ;   %ifname%    [wireless+wired]
  868. ; Default: (none)
  869. label-disconnected = "%{A1:networkmanager_dmenu &:} Offline%{A}"
  870. ;;label-disconnected-foreground = #66ffffff
  871.  
  872. ; Available tokens:
  873. ;   %ifname%    [wireless+wired]
  874. ;   %local_ip%  [wireless+wired]
  875. ;   %local_ip6% [wireless+wired]
  876. ;   %essid%     [wireless]
  877. ;   %signal%    [wireless]
  878. ;   %upspeed%   [wireless+wired]
  879. ;   %downspeed% [wireless+wired]
  880. ;   %linkspeed% [wired]
  881. ; Default: (none)
  882. ;label-packetloss = %essid%
  883. ;label-packetloss-foreground = #eefafafa
  884.  
  885. ; Only applies if <ramp-signal> is used
  886. ramp-signal-0 =
  887. ramp-signal-1 =
  888. ramp-signal-2 =
  889.  
  890. ; Only applies if <animation-packetloss> is used
  891. ;;animation-packetloss-0 = ⚠
  892. ;;animation-packetloss-0-foreground = #ffa64c
  893. ;;animation-packetloss-1 = ⚠
  894. ;;animation-packetloss-1-foreground = #000000
  895. ; Framerate in milliseconds
  896. ;;animation-packetloss-framerate = 500
  897.  
  898. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  899.  
  900. [module/pulseaudio]
  901. type = internal/pulseaudio
  902.  
  903. ; Sink to be used, if it exists (find using `pacmd list-sinks`, name field)
  904. ; If not, uses default sink
  905. sink = alsa_output.pci-0000_03_00.6.analog-stereo
  906.  
  907. ; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false
  908. ; Default: true
  909. use-ui-max = false
  910.  
  911. ; Interval for volume increase/decrease (in percent points)
  912. ; Default: 5
  913. interval = 5
  914.  
  915. ; Available tags:
  916. ;   <label-volume> (default)
  917. ;   <ramp-volume>
  918. ;   <bar-volume>
  919. format-volume = <ramp-volume> <label-volume>
  920. format-volume-background = ${color.background-alt}
  921. format-volume-foreground = ${color.foreground}
  922. format-volume-overline = ${color.background}
  923. format-volume-underline = ${color.background}
  924. format-volume-padding = 2
  925.  
  926. ; Available tags:
  927. ;   <label-muted> (default)
  928. ;   <ramp-volume>
  929. ;   <bar-volume>
  930. format-muted = <label-muted>
  931. format-muted-prefix =
  932. format-muted-background = ${color.background-alt}
  933. format-muted-foreground = ${color.foreground}
  934. format-muted-overline = ${color.background}
  935. format-muted-underline = ${color.background}
  936. format-muted-padding = 2
  937.  
  938. ; Available tokens:
  939. ;   %percentage% (default)
  940. label-volume = %percentage%%
  941.  
  942. ; Available tokens:
  943. ;   %percentage% (default
  944. label-muted = " Muted"
  945. label-muted-foreground = ${color.red}
  946.  
  947. ; Only applies if <ramp-volume> is used
  948. ramp-volume-0 =
  949. ramp-volume-1 =
  950. ramp-volume-2 =
  951.  
  952. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  953.  
  954. [module/temperature]
  955. type = internal/temperature
  956.  
  957. ; Seconds to sleep between updates
  958. ; Default: 1
  959. interval = 0.5
  960.  
  961. ; Thermal zone to use
  962. ; To list all the zone types, run
  963. ; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
  964. ; Default: 0
  965. thermal-zone = 0
  966.  
  967. ; Full path of temperature sysfs path
  968. ; Use `sensors` to find preferred temperature source, then run
  969. ; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
  970. ; to find path to desired file
  971. ; Default reverts to thermal zone setting
  972. ;;hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
  973. hwmon-path = /sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/hwmon/hwmon0/temp1_input
  974.  
  975. ; Threshold temperature to display warning label (in degrees celsius)
  976. ; Default: 80
  977. warn-temperature = 65
  978.  
  979. ; Whether or not to show units next to the temperature tokens (°C, °F)
  980. ; Default: true
  981. units = true
  982.  
  983. ; Available tags:
  984. ;   <label> (default)
  985. ;   <ramp>
  986. format = <ramp> <label>
  987. format-background = ${color.background-alt}
  988. format-foreground = ${color.foreground}
  989. format-overline = ${color.background}
  990. format-underline = ${color.background}
  991. format-padding = 2
  992.  
  993. ; Available tags:
  994. ;   <label-warn> (default)
  995. ;   <ramp>
  996. format-warn = <ramp> <label-warn>
  997. format-warn-background = ${color.background-alt}
  998. format-warn-foreground = ${color.foreground}
  999. format-warn-overline = ${color.background}
  1000. format-warn-underline = ${color.background}
  1001. format-warn-padding = 2
  1002.  
  1003. ; Available tokens:
  1004. ;   %temperature% (deprecated)
  1005. ;   %temperature-c%   (default, temperature in °C)
  1006. ;   %temperature-f%   (temperature in °F)
  1007. label = %temperature-c%
  1008.  
  1009. ; Available tokens:
  1010. ;   %temperature% (deprecated)
  1011. ;   %temperature-c%   (default, temperature in °C)
  1012. ;   %temperature-f%   (temperature in °F)
  1013. label-warn = "%temperature-c%"
  1014. label-warn-foreground = ${color.red}
  1015.  
  1016. ; Requires the <ramp> tag
  1017. ; The icon selection will range from 0 to `warn-temperature`
  1018. ; with the current temperature as index.
  1019. ramp-0 =
  1020. ramp-1 =
  1021. ramp-2 =
  1022. ramp-3 =
  1023. ramp-4 =
  1024.  
  1025. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  1026.  
  1027. [module/keyboard]
  1028. type = internal/xkeyboard
  1029.  
  1030. ; List of indicators to ignore
  1031. blacklist-0 = num lock
  1032. blacklist-1 = scroll lock
  1033.  
  1034. ; Available tags:
  1035. ;   <label-layout> (default)
  1036. ;   <label-indicator> (default)
  1037. format = <label-layout> <label-indicator>
  1038. format-prefix =
  1039. format-background = ${color.background-alt}
  1040. format-foreground = ${color.foreground}
  1041. format-overline = ${color.background}
  1042. format-underline = ${color.background}
  1043. format-padding = 2
  1044.  
  1045. ; Available tokens:
  1046. ;   %layout%
  1047. ;   %name%
  1048. ;   %number%
  1049. ; Default: %layout%
  1050. label-layout = " %layout%"
  1051.  
  1052. ; Available tokens:
  1053. ;   %name%
  1054. ; Default: %name%
  1055. label-indicator-on = %name%
  1056. label-indicator-on-foreground = ${color.primary}
  1057.  
  1058. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  1059.  
  1060. [module/title]
  1061. type = internal/xwindow
  1062.  
  1063. ; Available tags:
  1064. ;   <label> (default)
  1065. format = <label>
  1066. format-padding = 2
  1067. format-foreground = ${color.foreground-alt}
  1068.  
  1069. ; Available tokens:
  1070. ;   %title%
  1071. ; Default: %title%
  1072. label = " %title%"
  1073. label-maxlen = 30
  1074.  
  1075. ; Used instead of label when there is no window title
  1076. label-empty = Desktop
  1077.  
  1078. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  1079.  
  1080. [module/workspaces]
  1081. type = internal/xworkspaces
  1082.  
  1083. ; Only show workspaces defined on the same output as the bar
  1084. ;
  1085. ; Useful if you want to show monitor specific workspaces
  1086. ; on different bars
  1087. ;
  1088. ; Default: false
  1089. pin-workspaces = true
  1090.  
  1091. ; Create click handler used to focus desktop
  1092. ; Default: true
  1093. enable-click = true
  1094.  
  1095. ; Create scroll handlers used to cycle desktops
  1096. ; Default: true
  1097. enable-scroll = true
  1098.  
  1099. ; icon-[0-9]+ = <desktop-name>;<icon>
  1100. ; NOTE: The desktop name needs to match the name configured by the WM
  1101. ; You can get a list of the defined desktops using:
  1102. ; $ xprop -root _NET_DESKTOP_NAMES
  1103. icon-0 = 1;
  1104. icon-1 = 2;
  1105. icon-2 = 3;
  1106. icon-3 = 4;
  1107. icon-4 = 5;
  1108. icon-default =
  1109.  
  1110.  
  1111. ; Available tags:
  1112. ;   <label-monitor>
  1113. ;   <label-state> - gets replaced with <label-(active|urgent|occupied|empty)>
  1114. ; Default: <label-state>
  1115. format = <label-state>
  1116. format-background = ${color.background-alt}
  1117. format-foreground = ${color.foreground}
  1118. format-overline = ${color.background}
  1119. format-underline = ${color.background}
  1120. format-padding = 1
  1121.  
  1122. ; Available tokens:
  1123. ;   %name%
  1124. ; Default: %name%
  1125. label-monitor = %name%
  1126.  
  1127. ; Available tokens:
  1128. ;   %name%
  1129. ;   %icon%
  1130. ;   %index%
  1131. ; Default: %icon%  %name%
  1132. label-active = %icon%
  1133. label-active-foreground = ${color.primary}
  1134.  
  1135. ; Available tokens:
  1136. ;   %name%
  1137. ;   %icon%
  1138. ;   %index%
  1139. ; Default: %icon%  %name%
  1140. label-occupied = %icon%
  1141. label-occupied-foreground = ${color.yellow}
  1142.  
  1143. ; Available tokens:
  1144. ;   %name%
  1145. ;   %icon%
  1146. ;   %index%
  1147. ; Default: %icon%  %name%
  1148. label-urgent = %icon%
  1149. label-urgent-foreground = ${color.red}
  1150.  
  1151. ; Available tokens:
  1152. ;   %name%
  1153. ;   %icon%
  1154. ;   %index%
  1155. ; Default: %icon%  %name%
  1156. label-empty = %icon%
  1157.  
  1158. label-active-padding = 1
  1159. label-urgent-padding = 1
  1160. label-occupied-padding = 1
  1161. label-empty-padding = 1
  1162.  
  1163. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  1164.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement