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.

551 lines
14 KiB

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