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.

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