Archlinux basic installation configuration scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1163 lines
29 KiB

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