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.

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