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.

494 lines
12 KiB

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