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.

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