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.

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