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.

542 lines
14 KiB

  1. ;; ┌────────────────────────────────────────────────────┐
  2. ;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▄░█▀█░█▀▄░█▀▀│
  3. ;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█▀▄░█▀█░█▀▄░▀▀█│
  4. ;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀░░▀░▀░▀░▀░▀▀▀│
  5. ;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░│
  6. ;; └────────────────────────────────────────────────────┘
  7. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  8. [bar]
  9. fill =
  10. empty =
  11. indicator =
  12. width = 6
  13. format = %{T4}%fill%%indicator%%empty%%{F-}%{T-}
  14. [module/volume]
  15. type = internal/alsa
  16. ; Soundcard to be used
  17. ; Usually in the format hw:# where # is the card number
  18. ; You can find the different card numbers in `/proc/asound/cards`
  19. master-soundcard = default
  20. speaker-soundcard = default
  21. headphone-soundcard = default
  22. ; Name of the master, speaker and headphone mixers
  23. ; Use the following command to list available mixer controls:
  24. ; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p"
  25. ; If master, speaker or headphone-soundcard isn't the default,
  26. ; use `amixer -c # scontrols` instead where # is the number
  27. ; of the master, speaker or headphone soundcard respectively
  28. ;
  29. ; Default: Master
  30. master-mixer = Master
  31. ; Optionally define speaker and headphone mixers
  32. ; Default: none
  33. ;;speaker-mixer = Speaker
  34. ; Default: none
  35. ;;headphone-mixer = Headphone
  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. ; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear
  43. ; Default: false
  44. ;;mapped = true
  45. ; Interval for volume increase/decrease (in percent points)
  46. ; Default: 5
  47. interval = 5
  48. ; Available tags:
  49. ; <label-volume> (default)
  50. ; <ramp-volume>
  51. ; <bar-volume>
  52. format-volume = <ramp-volume> <bar-volume>
  53. format-volume-background = ${color.background}
  54. format-volume-padding = 1
  55. ; Available tags:
  56. ; <label-muted> (default)
  57. ; <ramp-volume>
  58. ; <bar-volume>
  59. format-muted = <label-muted>
  60. format-muted-prefix =
  61. format-muted-background = ${color.background}
  62. format-muted-padding = 1
  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.foreground}
  70. ; Only applies if <ramp-volume> is used
  71. ramp-volume-0 =
  72. ramp-volume-1 =
  73. ramp-volume-2 =
  74. ; Only applies if <bar-volume> is used
  75. bar-volume-format = ${bar.format}
  76. bar-volume-width = ${bar.width}
  77. bar-volume-gradient = false
  78. bar-volume-indicator = ${bar.indicator}
  79. bar-volume-indicator-foreground = ${color.foreground}
  80. bar-volume-fill = ${bar.fill}
  81. bar-volume-foreground-0 = ${color.green}
  82. bar-volume-foreground-1 = ${color.green}
  83. bar-volume-foreground-2 = ${color.yellow}
  84. bar-volume-foreground-3 = ${color.yellow}
  85. bar-volume-foreground-4 = ${color.red}
  86. bar-volume-empty = ${bar.empty}
  87. bar-volume-empty-foreground = ${color.foreground-alt}
  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. [module/brightness]
  95. ;type = internal/xbacklight
  96. type = internal/backlight
  97. ; Use the following command to list available cards:
  98. ; $ ls -1 /sys/class/backlight/
  99. ;card = intel_backlight
  100. card = amdgpu_bl0
  101. ; Available tags:
  102. ; <label> (default)
  103. ; <ramp>
  104. ; <bar>
  105. format = <ramp> <bar>
  106. format-background = ${color.background}
  107. format-padding = 1
  108. ; Available tokens:
  109. ; %percentage% (default)
  110. label = %percentage%%
  111. ; Only applies if <ramp> is used
  112. ramp-0 =
  113. ramp-1 =
  114. ramp-2 =
  115. ramp-3 =
  116. ramp-4 =
  117. ; Only applies if <bar> is used
  118. bar-format = ${bar.format}
  119. bar-width = ${bar.width}
  120. bar-gradient = false
  121. bar-indicator = ${bar.indicator}
  122. bar-indicator-foreground = ${color.foreground}
  123. bar-fill = ${bar.fill}
  124. bar-foreground-0 = ${color.green}
  125. bar-foreground-1 = ${color.green}
  126. bar-foreground-2 = ${color.yellow}
  127. bar-foreground-3 = ${color.yellow}
  128. bar-foreground-4 = ${color.red}
  129. bar-empty = ${bar.empty}
  130. bar-empty-foreground = ${color.foreground-alt}
  131. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  132. [module/battery_bar]
  133. type = internal/battery
  134. ; This is useful in case the battery never reports 100% charge
  135. full-at = 99
  136. ; Use the following command to list batteries and adapters:
  137. ; $ ls -1 /sys/class/power_supply/
  138. battery = BAT1
  139. adapter = ACAD
  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. ; see "man date" for details on how to format the time string
  151. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  152. ; Default: %H:%M:%S
  153. time-format = %H:%M
  154. ; Available tags:
  155. ; <label-charging> (default)
  156. ; <bar-capacity>
  157. ; <ramp-capacity>
  158. ; <animation-charging>
  159. format-charging = <bar-capacity>
  160. format-charging-prefix = " "
  161. format-charging-background = ${color.background}
  162. format-charging-padding = 1
  163. ; Available tags:
  164. ; <label-discharging> (default)
  165. ; <bar-capacity>
  166. ; <ramp-capacity>
  167. ; <animation-discharging>
  168. format-discharging = <bar-capacity>
  169. format-discharging-prefix = " "
  170. format-discharging-background = ${color.background}
  171. format-discharging-padding = 1
  172. ; Available tags:
  173. ; <label-full> (default)
  174. ; <bar-capacity>
  175. ; <ramp-capacity>
  176. format-full = <label-full>
  177. format-full-prefix = " "
  178. format-full-background = ${color.background}
  179. format-full-padding = 1
  180. ; Available tokens:
  181. ; %percentage% (default)
  182. ; %time%
  183. ; %consumption% (shows current charge rate in watts)
  184. label-charging = %percentage%%
  185. ; Available tokens:
  186. ; %percentage% (default)
  187. ; %time%
  188. ; %consumption% (shows current discharge rate in watts)
  189. label-discharging = %percentage%%
  190. ; Available tokens:
  191. ; %percentage% (default)
  192. label-full = " Full"
  193. ; Only applies if <bar-capacity> is used
  194. bar-capacity-format = ${bar.format}
  195. bar-capacity-width = ${bar.width}
  196. bar-capacity-gradient = false
  197. bar-capacity-indicator = ${bar.indicator}
  198. bar-capacity-indicator-foreground = ${color.foreground}
  199. bar-capacity-fill = ${bar.fill}
  200. bar-capacity-foreground-0 = ${color.green}
  201. bar-capacity-foreground-1 = ${color.green}
  202. bar-capacity-foreground-2 = ${color.yellow}
  203. bar-capacity-foreground-3 = ${color.yellow}
  204. bar-capacity-foreground-4 = ${color.red}
  205. bar-capacity-empty = ${bar.empty}
  206. bar-capacity-empty-foreground = ${color.foreground-alt}
  207. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  208. [module/cpu_bar]
  209. type = internal/cpu
  210. ; Seconds to sleep between updates
  211. ; Default: 1
  212. interval = 0.5
  213. ; Available tags:
  214. ; <label> (default)
  215. ; <bar-load>
  216. ; <ramp-load>
  217. ; <ramp-coreload>
  218. ;;format = <label> <ramp-coreload>
  219. format = <bar-load> <label>
  220. format-prefix = " "
  221. format-background = ${color.background}
  222. format-padding = 1
  223. ; Available tokens:
  224. ; %percentage% (default) - total cpu load averaged over all cores
  225. ; %percentage-sum% - Cumulative load on all cores
  226. ; %percentage-cores% - load percentage for each core
  227. ; %percentage-core[1-9]% - load percentage for specific core
  228. label = "%percentage%%"
  229. ; Only applies if <bar-load> is used
  230. bar-load-format = ${bar.format}
  231. bar-load-width = ${bar.width}
  232. bar-load-gradient = false
  233. bar-load-indicator = ${bar.indicator}
  234. bar-load-indicator-foreground = ${color.foreground}
  235. bar-load-fill = ${bar.fill}
  236. bar-load-foreground-0 = ${color.green}
  237. bar-load-foreground-1 = ${color.green}
  238. bar-load-foreground-2 = ${color.yellow}
  239. bar-load-foreground-3 = ${color.yellow}
  240. bar-load-foreground-4 = ${color.red}
  241. bar-load-empty = ${bar.empty}
  242. bar-load-empty-foreground = ${color.foreground-alt}
  243. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  244. [module/filesystem_bar]
  245. type = internal/fs
  246. ; Mountpoints to display
  247. mount-0 = /
  248. ;;mount-1 = /home
  249. ;;mount-2 = /var
  250. ; Seconds to sleep between updates
  251. ; Default: 30
  252. interval = 30
  253. ; Display fixed precision values
  254. ; Default: false
  255. fixed-values = false
  256. ; Spacing between entries
  257. ; Default: 2
  258. ;;spacing = 4
  259. ; Available tags:
  260. ; <label-mounted> (default)
  261. ; <bar-free>
  262. ; <bar-used>
  263. ; <ramp-capacity>
  264. format-mounted = <bar-used> <label-mounted>
  265. format-mounted-prefix = " "
  266. format-mounted-background = ${color.background}
  267. format-mounted-padding = 1
  268. ; Available tags:
  269. ; <label-unmounted> (default)
  270. format-unmounted = <label-unmounted>
  271. format-unmounted-prefix = " "
  272. format-unmounted-background = ${color.background}
  273. format-unmounted-padding = 1
  274. ; Available tokens:
  275. ; %mountpoint%
  276. ; %type%
  277. ; %fsname%
  278. ; %percentage_free%
  279. ; %percentage_used%
  280. ; %total%
  281. ; %free%
  282. ; %used%
  283. ; Default: %mountpoint% %percentage_free%%
  284. label-mounted = %used%/%total%
  285. ; Available tokens:
  286. ; %mountpoint%
  287. ; Default: %mountpoint% is not mounted
  288. label-unmounted = "%mountpoint%: not mounted"
  289. ; Only applies if <bar-used> is used
  290. bar-used-format = ${bar.format}
  291. bar-used-width = ${bar.width}
  292. bar-used-gradient = false
  293. bar-used-indicator = ${bar.indicator}
  294. bar-used-indicator-foreground = ${color.foreground}
  295. bar-used-fill = ${bar.fill}
  296. bar-used-foreground-0 = ${color.green}
  297. bar-used-foreground-1 = ${color.green}
  298. bar-used-foreground-2 = ${color.yellow}
  299. bar-used-foreground-3 = ${color.yellow}
  300. bar-used-foreground-4 = ${color.red}
  301. bar-used-empty = ${bar.empty}
  302. bar-used-empty-foreground = ${color.foreground-alt}
  303. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  304. [module/memory_bar]
  305. type = internal/memory
  306. ; Seconds to sleep between updates
  307. ; Default: 1
  308. interval = 2
  309. ; Available tags:
  310. ; <label> (default)
  311. ; <bar-used>
  312. ; <bar-free>
  313. ; <ramp-used>
  314. ; <ramp-free>
  315. ; <bar-swap-used>
  316. ; <bar-swap-free>
  317. ; <ramp-swap-used>
  318. ; <ramp-swap-free>
  319. format = <bar-used> <label>
  320. format-prefix = " "
  321. format-background = ${color.background}
  322. format-padding = 1
  323. ; Available tokens:
  324. ; %percentage_used% (default)
  325. ; %percentage_free%
  326. ; %gb_used%
  327. ; %gb_free%
  328. ; %gb_total%
  329. ; %mb_used%
  330. ; %mb_free%
  331. ; %mb_total%
  332. ; %percentage_swap_used%
  333. ; %percentage_swap_free%
  334. ; %mb_swap_total%
  335. ; %mb_swap_free%
  336. ; %mb_swap_used%
  337. ; %gb_swap_total%
  338. ; %gb_swap_free%
  339. ; %gb_swap_used%
  340. label = "%mb_used%"
  341. ; Only applies if <bar-used> is used
  342. bar-used-format = ${bar.format}
  343. bar-used-width = ${bar.width}
  344. bar-used-gradient = false
  345. bar-used-indicator = ${bar.indicator}
  346. bar-used-indicator-foreground = ${color.foreground}
  347. bar-used-fill = ${bar.fill}
  348. bar-used-foreground-0 = ${color.green}
  349. bar-used-foreground-1 = ${color.green}
  350. bar-used-foreground-2 = ${color.yellow}
  351. bar-used-foreground-3 = ${color.yellow}
  352. bar-used-foreground-4 = ${color.red}
  353. bar-used-empty = ${bar.empty}
  354. bar-used-empty-foreground = ${color.foreground-alt}
  355. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  356. [module/mpd_bar]
  357. type = internal/mpd
  358. ; Host where mpd is running (either ip or domain name)
  359. ; Can also be the full path to a unix socket where mpd is running.
  360. ;;host = 127.0.0.1
  361. ;;port = 6600
  362. ;;password = mysecretpassword
  363. ; Seconds to sleep between progressbar/song timer sync
  364. ; Default: 1
  365. interval = 1
  366. ; Available tags:
  367. ; <label-song> (default)
  368. ; <label-time>
  369. ; <bar-progress>
  370. ; <toggle> - gets replaced with <icon-(pause|play)>
  371. ; <toggle-stop> - gets replaced with <icon-(stop|play)>
  372. ; <icon-random>
  373. ; <icon-repeat>
  374. ; <icon-repeatone> (deprecated)
  375. ; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone>
  376. ; <icon-consume>
  377. ; <icon-prev>
  378. ; <icon-stop>
  379. ; <icon-play>
  380. ; <icon-pause>
  381. ; <icon-next>
  382. ; <icon-seekb>
  383. ; <icon-seekf>
  384. format-online = <label-song> <bar-progress> <label-time>
  385. format-online-prefix =
  386. format-online-background = ${color.background}
  387. format-online-padding = 1
  388. ;format-playing = ${self.format-online}
  389. ;format-paused = ${self.format-online}
  390. ;format-stopped = ${self.format-online}
  391. ; Available tags:
  392. ; <label-offline>
  393. format-offline = <label-offline>
  394. format-offline-prefix =
  395. format-offline-background = ${color.background}
  396. format-offline-padding = 1
  397. ; Available tokens:
  398. ; %artist%
  399. ; %album-artist%
  400. ; %album%
  401. ; %date%
  402. ; %title%
  403. ; Default: %artist% - %title%
  404. label-song = " %artist% - %title%"
  405. label-song-maxlen = 25
  406. label-song-ellipsis = true
  407. ; Available tokens:
  408. ; %elapsed%
  409. ; %total%
  410. ; Default: %elapsed% / %total%
  411. label-time = %elapsed% / %total%
  412. ; Available tokens:
  413. ; None
  414. label-offline = " Offline"
  415. ; Only applies if <icon-X> is used
  416. icon-play =
  417. icon-pause =
  418. icon-stop =
  419. icon-next =
  420. icon-prev =
  421. icon-seekf =
  422. icon-seekb =
  423. icon-random =
  424. icon-repeat =
  425. icon-repeatone =
  426. icon-single =
  427. icon-consume =
  428. ; Used to display the state of random/repeat/repeatone/single
  429. ; Only applies if <icon-[random|repeat|repeatone|single]> is used
  430. toggle-on-foreground = ${color.green}
  431. toggle-off-foreground = ${color.red}
  432. ; Only applies if <bar-progress> is used
  433. bar-progress-format = ${bar.format}
  434. bar-progress-width = ${bar.width}
  435. bar-progress-gradient = false
  436. bar-progress-indicator = ${bar.indicator}
  437. bar-progress-indicator-foreground = ${color.foreground}
  438. bar-progress-fill = ${bar.fill}
  439. bar-progress-foreground-0 = ${color.green}
  440. bar-progress-foreground-1 = ${color.green}
  441. bar-progress-foreground-2 = ${color.yellow}
  442. bar-progress-foreground-3 = ${color.yellow}
  443. bar-progress-foreground-4 = ${color.red}
  444. bar-progress-empty = ${bar.empty}
  445. bar-progress-empty-foreground = ${color.foreground-alt}
  446. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_