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.

556 lines
15 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. format-volume-background = ${color.background-alt}
  53. format-volume-foreground = ${color.foreground}
  54. format-volume-overline = ${color.background}
  55. format-volume-underline = ${color.background}
  56. format-volume-padding = 2
  57. ; Available tags:
  58. ; <label-muted> (default)
  59. ; <ramp-volume>
  60. ; <bar-volume>
  61. format-muted = <label-muted>
  62. format-muted-prefix =
  63. format-muted-background = ${color.background-alt}
  64. format-muted-foreground = ${color.foreground}
  65. format-muted-overline = ${color.background}
  66. format-muted-underline = ${color.background}
  67. format-muted-padding = 2
  68. ; Available tokens:
  69. ; %percentage% (default)
  70. label-volume = %percentage%%
  71. ; Available tokens:
  72. ; %percentage% (default
  73. label-muted = " Muted"
  74. label-muted-foreground = ${color.red}
  75. ; Only applies if <ramp-volume> is used
  76. ramp-volume-0 =
  77. ramp-volume-1 =
  78. ramp-volume-2 =
  79. ; Only applies if <bar-volume> is used
  80. bar-volume-width = 10
  81. bar-volume-gradient = false
  82. bar-volume-indicator = ${bar.indicator}
  83. bar-volume-indicator-foreground = ${color.foreground}
  84. bar-volume-fill = ${bar.fill}
  85. bar-volume-foreground-0 = ${color.foreground}
  86. bar-volume-foreground-1 = ${color.foreground}
  87. bar-volume-foreground-2 = ${color.foreground}
  88. bar-volume-empty = ${bar.empty}
  89. bar-volume-empty-foreground = ${color.foreground}
  90. ; If defined, it will replace <ramp-volume> when
  91. ; headphones are plugged in to `headphone_control_numid`
  92. ; If undefined, <ramp-volume> will be used for both
  93. ; Only applies if <ramp-volume> is used
  94. ramp-headphones-0 =
  95. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  96. [module/brightness]
  97. ;type = internal/xbacklight
  98. type = internal/backlight
  99. ; Use the following command to list available cards:
  100. ; $ ls -1 /sys/class/backlight/
  101. ;card = intel_backlight
  102. card = amdgpu_bl0
  103. ; Available tags:
  104. ; <label> (default)
  105. ; <ramp>
  106. ; <bar>
  107. format = <ramp> <bar>
  108. format-background = ${color.background-alt}
  109. format-foreground = ${color.foreground}
  110. format-overline = ${color.background}
  111. format-underline = ${color.background}
  112. format-padding = 2
  113. ; Available tokens:
  114. ; %percentage% (default)
  115. label = %percentage%%
  116. ; Only applies if <ramp> is used
  117. ramp-0 =
  118. ramp-1 =
  119. ramp-2 =
  120. ramp-3 =
  121. ramp-4 =
  122. ; Only applies if <bar> is used
  123. bar-width = 10
  124. bar-gradient = false
  125. bar-indicator = ${bar.indicator}
  126. bar-indicator-foreground = ${color.foreground}
  127. bar-fill = ${bar.fill}
  128. bar-foreground-0 = ${color.foreground}
  129. bar-foreground-1 = ${color.foreground}
  130. bar-foreground-2 = ${color.foreground}
  131. bar-empty = ${bar.empty}
  132. bar-empty-foreground = ${color.foreground}
  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-background = ${color.background-alt}
  164. format-charging-foreground = ${color.foreground}
  165. format-charging-overline = ${color.background}
  166. format-charging-underline = ${color.background}
  167. format-charging-padding = 2
  168. ; Available tags:
  169. ; <label-discharging> (default)
  170. ; <bar-capacity>
  171. ; <ramp-capacity>
  172. ; <animation-discharging>
  173. format-discharging = <bar-capacity>
  174. format-discharging-prefix = " "
  175. format-discharging-background = ${color.background-alt}
  176. format-discharging-foreground = ${color.foreground}
  177. format-discharging-overline = ${color.background}
  178. format-discharging-underline = ${color.background}
  179. format-discharging-padding = 2
  180. ; Available tags:
  181. ; <label-full> (default)
  182. ; <bar-capacity>
  183. ; <ramp-capacity>
  184. format-full = <label-full>
  185. format-full-prefix = " "
  186. format-full-background = ${color.background-alt}
  187. format-full-foreground = ${color.foreground}
  188. format-full-overline = ${color.background}
  189. format-full-underline = ${color.background}
  190. format-full-padding = 2
  191. ; Available tokens:
  192. ; %percentage% (default)
  193. ; %time%
  194. ; %consumption% (shows current charge rate in watts)
  195. label-charging = %percentage%%
  196. ; Available tokens:
  197. ; %percentage% (default)
  198. ; %time%
  199. ; %consumption% (shows current discharge rate in watts)
  200. label-discharging = %percentage%%
  201. ; Available tokens:
  202. ; %percentage% (default)
  203. label-full = " Full"
  204. ; Only applies if <bar-capacity> is used
  205. bar-capacity-width = 10
  206. bar-capacity-gradient = false
  207. bar-capacity-indicator = ${bar.indicator}
  208. bar-capacity-indicator-foreground = ${color.foreground}
  209. bar-capacity-fill = ${bar.fill}
  210. bar-capacity-foreground-0 = ${color.foreground}
  211. bar-capacity-foreground-1 = ${color.foreground}
  212. bar-capacity-foreground-2 = ${color.foreground}
  213. bar-capacity-empty = ${bar.empty}
  214. bar-capacity-empty-foreground = ${color.foreground}
  215. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  216. [module/cpu_bar]
  217. type = internal/cpu
  218. ; Seconds to sleep between updates
  219. ; Default: 1
  220. interval = 0.5
  221. ; Available tags:
  222. ; <label> (default)
  223. ; <bar-load>
  224. ; <ramp-load>
  225. ; <ramp-coreload>
  226. ;;format = <label> <ramp-coreload>
  227. format = <bar-load> <label>
  228. format-prefix = " "
  229. format-background = ${color.background-alt}
  230. format-foreground = ${color.foreground}
  231. format-overline = ${color.background}
  232. format-underline = ${color.background}
  233. format-padding = 2
  234. ; Available tokens:
  235. ; %percentage% (default) - total cpu load averaged over all cores
  236. ; %percentage-sum% - Cumulative load on all cores
  237. ; %percentage-cores% - load percentage for each core
  238. ; %percentage-core[1-9]% - load percentage for specific core
  239. label = "%percentage%%"
  240. ; Only applies if <bar-load> is used
  241. bar-load-width = 10
  242. bar-load-gradient = false
  243. bar-load-indicator = ${bar.indicator}
  244. bar-load-indicator-foreground = ${color.foreground}
  245. bar-load-fill = ${bar.fill}
  246. bar-load-foreground-0 = ${color.foreground}
  247. bar-load-foreground-1 = ${color.foreground}
  248. bar-load-foreground-2 = ${color.foreground}
  249. bar-load-empty = ${bar.empty}
  250. bar-load-empty-foreground = ${color.foreground}
  251. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  252. [module/filesystem_bar]
  253. type = internal/fs
  254. ; Mountpoints to display
  255. mount-0 = /
  256. ;;mount-1 = /home
  257. ;;mount-2 = /var
  258. ; Seconds to sleep between updates
  259. ; Default: 30
  260. interval = 30
  261. ; Display fixed precision values
  262. ; Default: false
  263. fixed-values = false
  264. ; Spacing between entries
  265. ; Default: 2
  266. ;;spacing = 4
  267. ; Available tags:
  268. ; <label-mounted> (default)
  269. ; <bar-free>
  270. ; <bar-used>
  271. ; <ramp-capacity>
  272. format-mounted = <bar-used> <label-mounted>
  273. format-mounted-prefix = " "
  274. format-mounted-background = ${color.background-alt}
  275. format-mounted-foreground = ${color.foreground}
  276. format-mounted-overline = ${color.background}
  277. format-mounted-underline = ${color.background}
  278. format-mounted-padding = 2
  279. ; Available tags:
  280. ; <label-unmounted> (default)
  281. format-unmounted = <label-unmounted>
  282. format-unmounted-prefix = " "
  283. format-unmounted-background = ${color.background-alt}
  284. format-unmounted-foreground = ${color.foreground}
  285. format-unmounted-overline = ${color.background}
  286. format-unmounted-underline = ${color.background}
  287. format-unmounted-padding = 2
  288. ; Available tokens:
  289. ; %mountpoint%
  290. ; %type%
  291. ; %fsname%
  292. ; %percentage_free%
  293. ; %percentage_used%
  294. ; %total%
  295. ; %free%
  296. ; %used%
  297. ; Default: %mountpoint% %percentage_free%%
  298. label-mounted = %used%/%total%
  299. ; Available tokens:
  300. ; %mountpoint%
  301. ; Default: %mountpoint% is not mounted
  302. label-unmounted = "%mountpoint%: not mounted"
  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/memory_bar]
  316. type = internal/memory
  317. ; Seconds to sleep between updates
  318. ; Default: 1
  319. interval = 2
  320. ; Available tags:
  321. ; <label> (default)
  322. ; <bar-used>
  323. ; <bar-free>
  324. ; <ramp-used>
  325. ; <ramp-free>
  326. ; <bar-swap-used>
  327. ; <bar-swap-free>
  328. ; <ramp-swap-used>
  329. ; <ramp-swap-free>
  330. format = <bar-used> <label>
  331. format-prefix = " "
  332. format-background = ${color.background-alt}
  333. format-foreground = ${color.foreground}
  334. format-overline = ${color.background}
  335. format-underline = ${color.background}
  336. format-padding = 2
  337. ; Available tokens:
  338. ; %percentage_used% (default)
  339. ; %percentage_free%
  340. ; %gb_used%
  341. ; %gb_free%
  342. ; %gb_total%
  343. ; %mb_used%
  344. ; %mb_free%
  345. ; %mb_total%
  346. ; %percentage_swap_used%
  347. ; %percentage_swap_free%
  348. ; %mb_swap_total%
  349. ; %mb_swap_free%
  350. ; %mb_swap_used%
  351. ; %gb_swap_total%
  352. ; %gb_swap_free%
  353. ; %gb_swap_used%
  354. label = "%mb_used%"
  355. ; Only applies if <bar-used> is used
  356. bar-used-width = 10
  357. bar-used-gradient = false
  358. bar-used-indicator = ${bar.indicator}
  359. bar-used-indicator-foreground = ${color.foreground}
  360. bar-used-fill = ${bar.fill}
  361. bar-used-foreground-0 = ${color.foreground}
  362. bar-used-foreground-1 = ${color.foreground}
  363. bar-used-foreground-2 = ${color.foreground}
  364. bar-used-empty = ${bar.empty}
  365. bar-used-empty-foreground = ${color.foreground}
  366. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  367. [module/mpd_bar]
  368. type = internal/mpd
  369. ; Host where mpd is running (either ip or domain name)
  370. ; Can also be the full path to a unix socket where mpd is running.
  371. ;;host = 127.0.0.1
  372. ;;port = 6600
  373. ;;password = mysecretpassword
  374. ; Seconds to sleep between progressbar/song timer sync
  375. ; Default: 1
  376. interval = 1
  377. ; Available tags:
  378. ; <label-song> (default)
  379. ; <label-time>
  380. ; <bar-progress>
  381. ; <toggle> - gets replaced with <icon-(pause|play)>
  382. ; <toggle-stop> - gets replaced with <icon-(stop|play)>
  383. ; <icon-random>
  384. ; <icon-repeat>
  385. ; <icon-repeatone> (deprecated)
  386. ; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone>
  387. ; <icon-consume>
  388. ; <icon-prev>
  389. ; <icon-stop>
  390. ; <icon-play>
  391. ; <icon-pause>
  392. ; <icon-next>
  393. ; <icon-seekb>
  394. ; <icon-seekf>
  395. format-online = <label-song> <bar-progress> <label-time>
  396. format-online-prefix =
  397. format-online-background = ${color.background-alt}
  398. format-online-foreground = ${color.foreground}
  399. format-online-overline = ${color.background}
  400. format-online-underline = ${color.background}
  401. format-online-padding = 2
  402. ;format-playing = ${self.format-online}
  403. ;format-paused = ${self.format-online}
  404. ;format-stopped = ${self.format-online}
  405. ; Available tags:
  406. ; <label-offline>
  407. format-offline = <label-offline>
  408. format-offline-prefix =
  409. format-offline-background = ${color.background-alt}
  410. format-offline-foreground = ${color.foreground}
  411. format-offline-overline = ${color.background}
  412. format-offline-underline = ${color.background}
  413. format-offline-padding = 2
  414. ; Available tokens:
  415. ; %artist%
  416. ; %album-artist%
  417. ; %album%
  418. ; %date%
  419. ; %title%
  420. ; Default: %artist% - %title%
  421. label-song = " %artist% - %title%"
  422. label-song-maxlen = 25
  423. label-song-ellipsis = true
  424. ; Available tokens:
  425. ; %elapsed%
  426. ; %total%
  427. ; Default: %elapsed% / %total%
  428. label-time = %elapsed% / %total%
  429. ; Available tokens:
  430. ; None
  431. label-offline = " Offline"
  432. ; Only applies if <icon-X> is used
  433. icon-play =
  434. icon-pause =
  435. icon-stop =
  436. icon-next =
  437. icon-prev =
  438. icon-seekf =
  439. icon-seekb =
  440. icon-random =
  441. icon-repeat =
  442. icon-repeatone =
  443. icon-single =
  444. icon-consume =
  445. ; Used to display the state of random/repeat/repeatone/single
  446. ; Only applies if <icon-[random|repeat|repeatone|single]> is used
  447. toggle-on-foreground = ${color.primary}
  448. toggle-off-foreground = ${color.secondary}
  449. ; Only applies if <bar-progress> is used
  450. bar-progress-width = 10
  451. bar-progress-gradient = false
  452. bar-progress-indicator = ${bar.indicator}
  453. bar-progress-indicator-foreground = ${color.foreground}
  454. bar-progress-fill = ${bar.fill}
  455. bar-progress-foreground-0 = ${color.foreground}
  456. bar-progress-foreground-1 = ${color.foreground}
  457. bar-progress-foreground-2 = ${color.foreground}
  458. bar-progress-empty = ${bar.empty}
  459. bar-progress-empty-foreground = ${color.foreground}
  460. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_