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.

507 lines
13 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. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  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. ; Available tags:
  54. ; <label-muted> (default)
  55. ; <ramp-volume>
  56. ; <bar-volume>
  57. format-muted-prefix =
  58. ; Available tokens:
  59. ; %percentage% (default)
  60. label-volume = %percentage%%
  61. ; Available tokens:
  62. ; %percentage% (default
  63. label-muted = " Muted"
  64. label-muted-foreground = ${color.red}
  65. ; Only applies if <ramp-volume> is used
  66. ramp-volume-0 =
  67. ramp-volume-1 =
  68. ramp-volume-2 =
  69. ; Only applies if <bar-volume> is used
  70. bar-volume-width = 10
  71. bar-volume-gradient = false
  72. bar-volume-indicator = ${bar.indicator}
  73. bar-volume-indicator-foreground = ${color.foreground}
  74. bar-volume-fill = ${bar.fill}
  75. bar-volume-foreground-0 = ${color.green}
  76. bar-volume-foreground-1 = ${color.green}
  77. bar-volume-foreground-2 = ${color.yellow}
  78. bar-volume-foreground-3 = ${color.yellow}
  79. bar-volume-foreground-4 = ${color.red}
  80. bar-volume-empty = ${bar.empty}
  81. bar-volume-empty-foreground = ${color.foreground}
  82. ; If defined, it will replace <ramp-volume> when
  83. ; headphones are plugged in to `headphone_control_numid`
  84. ; If undefined, <ramp-volume> will be used for both
  85. ; Only applies if <ramp-volume> is used
  86. ramp-headphones-0 =
  87. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  88. [module/brightness]
  89. ;type = internal/xbacklight
  90. type = internal/backlight
  91. ; Use the following command to list available cards:
  92. ; $ ls -1 /sys/class/backlight/
  93. ;card = intel_backlight
  94. card = amdgpu_bl0
  95. ; Available tags:
  96. ; <label> (default)
  97. ; <ramp>
  98. ; <bar>
  99. format = <bar>
  100. format-prefix = "盛 "
  101. ; Available tokens:
  102. ; %percentage% (default)
  103. label = %percentage%%
  104. ; Only applies if <ramp> is used
  105. ramp-0 =
  106. ramp-1 =
  107. ramp-2 =
  108. ramp-3 =
  109. ramp-4 =
  110. ; Only applies if <bar> is used
  111. bar-width = 10
  112. bar-gradient = false
  113. bar-indicator = ${bar.indicator}
  114. bar-indicator-foreground = ${color.foreground}
  115. bar-fill = ${bar.fill}
  116. bar-foreground-0 = ${color.green}
  117. bar-foreground-1 = ${color.green}
  118. bar-foreground-2 = ${color.yellow}
  119. bar-foreground-3 = ${color.yellow}
  120. bar-foreground-4 = ${color.red}
  121. bar-empty = ${bar.empty}
  122. bar-empty-foreground = ${color.foreground}
  123. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  124. [module/battery_bar]
  125. type = internal/battery
  126. ; This is useful in case the battery never reports 100% charge
  127. full-at = 99
  128. ; Use the following command to list batteries and adapters:
  129. ; $ ls -1 /sys/class/power_supply/
  130. battery = BAT1
  131. adapter = ACAD
  132. ; If an inotify event haven't been reported in this many
  133. ; seconds, manually poll for new values.
  134. ;
  135. ; Needed as a fallback for systems that don't report events
  136. ; on sysfs/procfs.
  137. ;
  138. ; Disable polling by setting the interval to 0.
  139. ;
  140. ; Default: 5
  141. poll-interval = 2
  142. ; see "man date" for details on how to format the time string
  143. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  144. ; Default: %H:%M:%S
  145. time-format = %H:%M
  146. ; Available tags:
  147. ; <label-charging> (default)
  148. ; <bar-capacity>
  149. ; <ramp-capacity>
  150. ; <animation-charging>
  151. format-charging = <bar-capacity>
  152. format-charging-prefix = " "
  153. ; Available tags:
  154. ; <label-discharging> (default)
  155. ; <bar-capacity>
  156. ; <ramp-capacity>
  157. ; <animation-discharging>
  158. format-discharging = <bar-capacity>
  159. format-discharging-prefix = " "
  160. ; Available tags:
  161. ; <label-full> (default)
  162. ; <bar-capacity>
  163. ; <ramp-capacity>
  164. format-full = <label-full>
  165. format-full-prefix = " "
  166. ; Available tokens:
  167. ; %percentage% (default)
  168. ; %time%
  169. ; %consumption% (shows current charge rate in watts)
  170. label-charging = %percentage%%
  171. ; Available tokens:
  172. ; %percentage% (default)
  173. ; %time%
  174. ; %consumption% (shows current discharge rate in watts)
  175. label-discharging = %percentage%%
  176. ; Available tokens:
  177. ; %percentage% (default)
  178. label-full = "Full"
  179. ; Only applies if <bar-capacity> is used
  180. bar-capacity-width = 10
  181. bar-capacity-gradient = false
  182. bar-capacity-indicator = ${bar.indicator}
  183. bar-capacity-indicator-foreground = ${color.foreground}
  184. bar-capacity-fill = ${bar.fill}
  185. bar-capacity-foreground-0 = ${color.green}
  186. bar-capacity-foreground-1 = ${color.green}
  187. bar-capacity-foreground-2 = ${color.yellow}
  188. bar-capacity-foreground-3 = ${color.yellow}
  189. bar-capacity-foreground-4 = ${color.red}
  190. bar-capacity-empty = ${bar.empty}
  191. bar-capacity-empty-foreground = ${color.foreground}
  192. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  193. [module/cpu_bar]
  194. type = internal/cpu
  195. ; Seconds to sleep between updates
  196. ; Default: 1
  197. interval = 0.5
  198. ; Available tags:
  199. ; <label> (default)
  200. ; <bar-load>
  201. ; <ramp-load>
  202. ; <ramp-coreload>
  203. ;;format = <label> <ramp-coreload>
  204. format = <bar-load> <label>
  205. format-prefix = "﬙ "
  206. ; Available tokens:
  207. ; %percentage% (default) - total cpu load averaged over all cores
  208. ; %percentage-sum% - Cumulative load on all cores
  209. ; %percentage-cores% - load percentage for each core
  210. ; %percentage-core[1-9]% - load percentage for specific core
  211. label = "%percentage%%"
  212. ; Only applies if <bar-load> is used
  213. bar-load-width = 10
  214. bar-load-gradient = false
  215. bar-load-indicator = ${bar.indicator}
  216. bar-load-indicator-foreground = ${color.foreground}
  217. bar-load-fill = ${bar.fill}
  218. bar-load-foreground-0 = ${color.green}
  219. bar-load-foreground-1 = ${color.green}
  220. bar-load-foreground-2 = ${color.yellow}
  221. bar-load-foreground-3 = ${color.yellow}
  222. bar-load-foreground-4 = ${color.red}
  223. bar-load-empty = ${bar.empty}
  224. bar-load-empty-foreground = ${color.foreground}
  225. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  226. [module/filesystem_bar]
  227. type = internal/fs
  228. ; Mountpoints to display
  229. mount-0 = /
  230. ;;mount-1 = /home
  231. ;;mount-2 = /var
  232. ; Seconds to sleep between updates
  233. ; Default: 30
  234. interval = 30
  235. ; Display fixed precision values
  236. ; Default: false
  237. fixed-values = false
  238. ; Spacing between entries
  239. ; Default: 2
  240. ;;spacing = 4
  241. ; Available tags:
  242. ; <label-mounted> (default)
  243. ; <bar-free>
  244. ; <bar-used>
  245. ; <ramp-capacity>
  246. format-mounted = <bar-used> <label-mounted>
  247. format-mounted-prefix = " "
  248. ; Available tags:
  249. ; <label-unmounted> (default)
  250. format-unmounted = <label-unmounted>
  251. format-unmounted-prefix = " "
  252. ; Available tokens:
  253. ; %mountpoint%
  254. ; %type%
  255. ; %fsname%
  256. ; %percentage_free%
  257. ; %percentage_used%
  258. ; %total%
  259. ; %free%
  260. ; %used%
  261. ; Default: %mountpoint% %percentage_free%%
  262. label-mounted = %used%/%total%
  263. ; Available tokens:
  264. ; %mountpoint%
  265. ; Default: %mountpoint% is not mounted
  266. label-unmounted = %mountpoint%: not mounted
  267. ; Only applies if <bar-used> is used
  268. bar-used-width = 10
  269. bar-used-gradient = false
  270. bar-used-indicator = ${bar.indicator}
  271. bar-used-indicator-foreground = ${color.foreground}
  272. bar-used-fill = ${bar.fill}
  273. bar-used-foreground-0 = ${color.green}
  274. bar-used-foreground-1 = ${color.green}
  275. bar-used-foreground-2 = ${color.yellow}
  276. bar-used-foreground-3 = ${color.yellow}
  277. bar-used-foreground-4 = ${color.red}
  278. bar-used-empty = ${bar.empty}
  279. bar-used-empty-foreground = ${color.foreground}
  280. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  281. [module/memory_bar]
  282. type = internal/memory
  283. ; Seconds to sleep between updates
  284. ; Default: 1
  285. interval = 2
  286. ; Available tags:
  287. ; <label> (default)
  288. ; <bar-used>
  289. ; <bar-free>
  290. ; <ramp-used>
  291. ; <ramp-free>
  292. ; <bar-swap-used>
  293. ; <bar-swap-free>
  294. ; <ramp-swap-used>
  295. ; <ramp-swap-free>
  296. format = <bar-used> <label>
  297. format-prefix = " "
  298. ; Available tokens:
  299. ; %percentage_used% (default)
  300. ; %percentage_free%
  301. ; %gb_used%
  302. ; %gb_free%
  303. ; %gb_total%
  304. ; %mb_used%
  305. ; %mb_free%
  306. ; %mb_total%
  307. ; %percentage_swap_used%
  308. ; %percentage_swap_free%
  309. ; %mb_swap_total%
  310. ; %mb_swap_free%
  311. ; %mb_swap_used%
  312. ; %gb_swap_total%
  313. ; %gb_swap_free%
  314. ; %gb_swap_used%
  315. label = "%mb_used%"
  316. ; Only applies if <bar-used> is used
  317. bar-used-width = 10
  318. bar-used-gradient = false
  319. bar-used-indicator = ${bar.indicator}
  320. bar-used-indicator-foreground = ${color.foreground}
  321. bar-used-fill = ${bar.fill}
  322. bar-used-foreground-0 = ${color.green}
  323. bar-used-foreground-1 = ${color.green}
  324. bar-used-foreground-2 = ${color.yellow}
  325. bar-used-foreground-3 = ${color.yellow}
  326. bar-used-foreground-4 = ${color.red}
  327. bar-used-empty = ${bar.empty}
  328. bar-used-empty-foreground = ${color.foreground}
  329. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  330. [module/mpd_bar]
  331. type = internal/mpd
  332. ; Host where mpd is running (either ip or domain name)
  333. ; Can also be the full path to a unix socket where mpd is running.
  334. ;;host = 127.0.0.1
  335. ;;port = 6600
  336. ;;password = mysecretpassword
  337. ; Seconds to sleep between progressbar/song timer sync
  338. ; Default: 1
  339. interval = 1
  340. ; Available tags:
  341. ; <label-song> (default)
  342. ; <label-time>
  343. ; <bar-progress>
  344. ; <toggle> - gets replaced with <icon-(pause|play)>
  345. ; <toggle-stop> - gets replaced with <icon-(stop|play)>
  346. ; <icon-random>
  347. ; <icon-repeat>
  348. ; <icon-repeatone> (deprecated)
  349. ; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone>
  350. ; <icon-consume>
  351. ; <icon-prev>
  352. ; <icon-stop>
  353. ; <icon-play>
  354. ; <icon-pause>
  355. ; <icon-next>
  356. ; <icon-seekb>
  357. ; <icon-seekf>
  358. format-online = <label-song> <bar-progress> <label-time>
  359. format-online-prefix =
  360. ;format-playing = ${self.format-online}
  361. ;format-paused = ${self.format-online}
  362. ;format-stopped = ${self.format-online}
  363. ; Available tags:
  364. ; <label-offline>
  365. format-offline = <label-offline>
  366. format-offline-prefix =
  367. ; Available tokens:
  368. ; %artist%
  369. ; %album-artist%
  370. ; %album%
  371. ; %date%
  372. ; %title%
  373. ; Default: %artist% - %title%
  374. label-song = " %artist% - %title%"
  375. label-song-maxlen = 25
  376. label-song-ellipsis = true
  377. ; Available tokens:
  378. ; %elapsed%
  379. ; %total%
  380. ; Default: %elapsed% / %total%
  381. label-time = %elapsed% / %total%
  382. ; Available tokens:
  383. ; None
  384. label-offline = " Offline"
  385. ; Only applies if <icon-X> is used
  386. icon-play =
  387. icon-pause =
  388. icon-stop =
  389. icon-prev =
  390. icon-next =
  391. icon-seekb =
  392. icon-seekf =
  393. icon-random =
  394. icon-repeat =
  395. icon-repeatone =
  396. icon-single =
  397. icon-consume =
  398. ; Used to display the state of random/repeat/repeatone/single
  399. ; Only applies if <icon-[random|repeat|repeatone|single]> is used
  400. toggle-on-foreground = ${color.primary}
  401. toggle-off-foreground = ${color.red}
  402. ; Only applies if <bar-progress> is used
  403. bar-progress-width = 10
  404. bar-progress-gradient = false
  405. bar-progress-indicator = ${bar.indicator}
  406. bar-progress-indicator-foreground = ${color.yellow}
  407. bar-progress-fill = ${bar.fill}
  408. bar-progress-foreground-0 = ${color.yellow}
  409. bar-progress-empty = ${bar.empty}
  410. bar-progress-empty-foreground = ${color.foreground}
  411. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_