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.

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