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.

1108 lines
27 KiB

  1. ;; ┌────────────────────────────────────────────────────────────────┐
  2. ;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│
  3. ;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│
  4. ;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│
  5. ;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
  6. ;; └────────────────────────────────────────────────────────────────┘
  7. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  8. [module/alsa]
  9. type = internal/alsa
  10. ; Soundcard to be used
  11. ; Usually in the format hw:# where # is the card number
  12. ; You can find the different card numbers in `/proc/asound/cards`
  13. master-soundcard = default
  14. speaker-soundcard = default
  15. headphone-soundcard = default
  16. ; Name of the master, speaker and headphone mixers
  17. ; Use the following command to list available mixer controls:
  18. ; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p"
  19. ; If master, speaker or headphone-soundcard isn't the default,
  20. ; use `amixer -c # scontrols` instead where # is the number
  21. ; of the master, speaker or headphone soundcard respectively
  22. ;
  23. ; Default: Master
  24. master-mixer = Master
  25. ; Optionally define speaker and headphone mixers
  26. ; Default: none
  27. ;;speaker-mixer = Speaker
  28. ; Default: none
  29. ;;headphone-mixer = Headphone
  30. ; NOTE: This is required if headphone_mixer is defined
  31. ; Use the following command to list available device controls
  32. ; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort
  33. ; You may also need to use `amixer -c # controls` as above for the mixer names
  34. ; Default: none
  35. ;;headphone-id = 9
  36. ; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear
  37. ; Default: false
  38. ;;mapped = true
  39. ; Interval for volume increase/decrease (in percent points)
  40. ; Default: 5
  41. interval = 5
  42. ; Available tags:
  43. ; <label-volume> (default)
  44. ; <ramp-volume>
  45. ; <bar-volume>
  46. format-volume = <ramp-volume> <label-volume>
  47. format-volume-background = ${color.background}
  48. format-volume-padding = 1
  49. ; Available tags:
  50. ; <label-muted> (default)
  51. ; <ramp-volume>
  52. ; <bar-volume>
  53. format-muted = <label-muted>
  54. format-muted-prefix =
  55. format-muted-background = ${color.background}
  56. format-muted-padding = 1
  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}
  64. ; Only applies if <ramp-volume> is used
  65. ramp-volume-0 =
  66. ramp-volume-1 =
  67. ramp-volume-2 =
  68. ; If defined, it will replace <ramp-volume> when
  69. ; headphones are plugged in to `headphone_control_numid`
  70. ; If undefined, <ramp-volume> will be used for both
  71. ; Only applies if <ramp-volume> is used
  72. ramp-headphones-0 =
  73. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  74. [module/backlight]
  75. ;type = internal/xbacklight
  76. type = internal/backlight
  77. ; Use the following command to list available cards:
  78. ; $ ls -1 /sys/class/backlight/
  79. ;card = intel_backlight
  80. card = amdgpu_bl0
  81. ; Available tags:
  82. ; <label> (default)
  83. ; <ramp>
  84. ; <bar>
  85. format = <ramp> <label>
  86. format-background = ${color.background}
  87. format-padding = 1
  88. ; Available tokens:
  89. ; %percentage% (default)
  90. label = %percentage%%
  91. ; Only applies if <ramp> is used
  92. ramp-0 =
  93. ramp-1 =
  94. ramp-2 =
  95. ramp-3 =
  96. ramp-4 =
  97. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  98. [module/battery]
  99. type = internal/battery
  100. ; This is useful in case the battery never reports 100% charge
  101. full-at = 99
  102. ; Use the following command to list batteries and adapters:
  103. ; $ ls -1 /sys/class/power_supply/
  104. battery = BAT1
  105. adapter = ACAD
  106. ; If an inotify event haven't been reported in this many
  107. ; seconds, manually poll for new values.
  108. ;
  109. ; Needed as a fallback for systems that don't report events
  110. ; on sysfs/procfs.
  111. ;
  112. ; Disable polling by setting the interval to 0.
  113. ;
  114. ; Default: 5
  115. poll-interval = 2
  116. ; see "man date" for details on how to format the time string
  117. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  118. ; Default: %H:%M:%S
  119. time-format = %H:%M
  120. ; Available tags:
  121. ; <label-charging> (default)
  122. ; <bar-capacity>
  123. ; <ramp-capacity>
  124. ; <animation-charging>
  125. format-charging = <label-charging>
  126. format-charging-prefix = " "
  127. format-charging-background = ${color.background}
  128. format-charging-padding = 1
  129. ; Available tags:
  130. ; <label-discharging> (default)
  131. ; <bar-capacity>
  132. ; <ramp-capacity>
  133. ; <animation-discharging>
  134. format-discharging = <label-discharging>
  135. format-discharging-prefix = " "
  136. format-discharging-background = ${color.background}
  137. format-discharging-padding = 1
  138. ; Available tags:
  139. ; <label-full> (default)
  140. ; <bar-capacity>
  141. ; <ramp-capacity>
  142. format-full = <label-full>
  143. format-full-prefix = " "
  144. format-full-background = ${color.background}
  145. format-full-padding = 1
  146. ; Available tokens:
  147. ; %percentage% (default)
  148. ; %time%
  149. ; %consumption% (shows current charge rate in watts)
  150. label-charging = %percentage%%
  151. ; Available tokens:
  152. ; %percentage% (default)
  153. ; %time%
  154. ; %consumption% (shows current discharge rate in watts)
  155. label-discharging = %percentage%%
  156. ; Available tokens:
  157. ; %percentage% (default)
  158. label-full = Full
  159. ; Only applies if <ramp-capacity> is used
  160. ramp-capacity-0 =
  161. ramp-capacity-1 =
  162. ramp-capacity-2 =
  163. ramp-capacity-3 =
  164. ramp-capacity-4 =
  165. ; Only applies if <bar-capacity> is used
  166. ;bar-capacity-width = 10
  167. ; Only applies if <animation-charging> is used
  168. animation-charging-0 =
  169. animation-charging-1 =
  170. ; Framerate in milliseconds
  171. animation-charging-framerate = 750
  172. ; Only applies if <animation-discharging> is used
  173. ;;animation-discharging-0 = ${battery.anim0}
  174. ;;animation-discharging-1 = ${battery.anim1}
  175. ; Framerate in milliseconds
  176. ;animation-discharging-framerate = 500
  177. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  178. ;;[module/bspwm]
  179. ;;type = internal/bspwm
  180. ; Only show workspaces defined on the same output as the bar
  181. ; NOTE: The bspwm and XRandR monitor names must match, which they do by default.
  182. ; Default: true
  183. ;;pin-workspaces = true
  184. ; Output mode flags after focused state label
  185. ; Default: false
  186. ;;inline-mode = false
  187. ; Create click handler used to focus workspace
  188. ; Default: true
  189. ;;enable-click = false
  190. ; Create scroll handlers used to cycle workspaces
  191. ; Default: true
  192. ;;enable-scroll = false
  193. ; Set the scroll cycle direction
  194. ; Default: true
  195. ;;reverse-scroll = false
  196. ; Use fuzzy (partial) matching on labels when assigning
  197. ; icons to workspaces
  198. ; Example: code;♚ will apply the icon to all workspaces
  199. ; containing 'code' in the label
  200. ; Default: false
  201. ;;fuzzy-match = true
  202. ; ws-icon-[0-9]+ = label;icon
  203. ; Note that the label needs to correspond with the bspwm workspace name
  204. ;;ws-icon-0 = code;♚
  205. ;;ws-icon-1 = office;♛
  206. ;;ws-icon-2 = graphics;♜
  207. ;;ws-icon-3 = mail;♝
  208. ;;ws-icon-4 = web;♞
  209. ;;ws-icon-default = ♟
  210. ; Available tags:
  211. ; <label-monitor>
  212. ; <label-state> - gets replaced with <label-(focused|urgent|occupied|empty)>
  213. ; <label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)>
  214. ; Default: <label-state>
  215. ;;format = <label-state> <label-mode>
  216. ; Available tokens:
  217. ; %name%
  218. ; Default: %name%
  219. ;;label-monitor = %name%
  220. ; If any values for label-dimmed-N are defined, the workspace/mode
  221. ; colors will get overridden with those values if the monitor is out of focus
  222. ; To only override workspaces in a specific state, use:
  223. ; label-dimmed-focused
  224. ; label-dimmed-occupied
  225. ; label-dimmed-urgent
  226. ; label-dimmed-empty
  227. ;;label-dimmed-foreground = #555
  228. ;;label-dimmed-underline = ${bar/top.background}
  229. ;;label-dimmed-focused-background = #f00
  230. ; Available tokens:
  231. ; %name%
  232. ; %icon%
  233. ; %index%
  234. ; Default: %icon% %name%
  235. ;;label-focused = %icon%
  236. ;;label-focused-foreground = #ffffff
  237. ;;label-focused-background = #3f3f3f
  238. ;;label-focused-underline = #fba922
  239. ; Available tokens:
  240. ; %name%
  241. ; %icon%
  242. ; %index%
  243. ; Default: %icon% %name%
  244. ;;label-occupied = %icon%
  245. ;;label-occupied-underline = #555555
  246. ; Available tokens:
  247. ; %name%
  248. ; %icon%
  249. ; %index%
  250. ; Default: %icon% %name%
  251. ;;label-urgent = %icon%
  252. ;;label-urgent-foreground = #000000
  253. ;;label-urgent-background = #bd2c40
  254. ;;label-urgent-underline = #9b0a20
  255. ; Available tokens:
  256. ; %name%
  257. ; %icon%
  258. ; %index%
  259. ; Default: %icon% %name%
  260. ;;label-empty = %icon%
  261. ;;label-empty-foreground = #55
  262. ; The following labels will be used to indicate the layout/mode
  263. ; for the focused workspace. Requires <label-mode>
  264. ;
  265. ; Available tokens:
  266. ; None
  267. ;label-monocle = 
  268. ;label-tiled = 
  269. ;label-fullscreen = 
  270. ;label-floating = 
  271. ;label-pseudotiled = P
  272. ;label-locked = 
  273. ;label-locked-foreground = #bd2c40
  274. ;label-sticky = 
  275. ;label-sticky-foreground = #fba922
  276. ;label-private = 
  277. ;label-private-foreground = #bd2c40
  278. ; Separator in between workspaces
  279. ;;label-separator = |
  280. ;;label-separator-padding = 2
  281. ;;label-separator-foreground = #ffb52a
  282. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  283. [module/cpu]
  284. type = internal/cpu
  285. ; Seconds to sleep between updates
  286. ; Default: 1
  287. interval = 1
  288. ; Available tags:
  289. ; <label> (default)
  290. ; <bar-load>
  291. ; <ramp-load>
  292. ; <ramp-coreload>
  293. ;;format = <label> <ramp-coreload>
  294. format = <label>
  295. format-prefix =
  296. format-background = ${color.background}
  297. format-padding = 1
  298. ; Available tokens:
  299. ; %percentage% (default) - total cpu load averaged over all cores
  300. ; %percentage-sum% - Cumulative load on all cores
  301. ; %percentage-cores% - load percentage for each core
  302. ; %percentage-core[1-9]% - load percentage for specific core
  303. label = " %percentage%%"
  304. ; Spacing between individual per-core ramps
  305. ;;ramp-coreload-spacing = 1
  306. ;;ramp-coreload-0 = ${cpu.load0}
  307. ;;ramp-coreload-1 = ${cpu.load1}
  308. ;;ramp-load-0 = ${cpu.load0}
  309. ;;ramp-load-1 = ${cpu.load1}
  310. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  311. [module/date]
  312. type = internal/date
  313. ; Seconds to sleep between updates
  314. interval = 1.0
  315. ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
  316. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  317. ;;date = %Y-%m-%d%
  318. ; Optional time format
  319. time = " %I:%M %p"
  320. ; if `date-alt` or `time-alt` is defined, clicking
  321. ; the module will toggle between formats
  322. ;;date-alt = %A, %d %B %Y
  323. time-alt = " %a, %d %b %Y"
  324. ; Available tags:
  325. ; <label> (default)
  326. format = <label>
  327. format-background = ${color.background}
  328. format-padding = 1
  329. ; Available tokens:
  330. ; %date%
  331. ; %time%
  332. ; Default: %date%
  333. label = %time%
  334. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  335. [module/filesystem]
  336. type = internal/fs
  337. ; Mountpoints to display
  338. mount-0 = /
  339. ;;mount-1 = /home
  340. ;;mount-2 = /var
  341. ; Seconds to sleep between updates
  342. ; Default: 30
  343. interval = 30
  344. ; Display fixed precision values
  345. ; Default: false
  346. fixed-values = true
  347. ; Spacing between entries
  348. ; Default: 2
  349. ;;spacing = 4
  350. ; Available tags:
  351. ; <label-mounted> (default)
  352. ; <bar-free>
  353. ; <bar-used>
  354. ; <ramp-capacity>
  355. format-mounted = <label-mounted>
  356. format-mounted-prefix =
  357. format-mounted-background = ${color.background}
  358. format-mounted-padding = 1
  359. ; Available tags:
  360. ; <label-unmounted> (default)
  361. format-unmounted = <label-unmounted>
  362. format-unmounted-prefix =
  363. format-unmounted-background = ${color.background}
  364. format-unmounted-padding = 1
  365. ; Available tokens:
  366. ; %mountpoint%
  367. ; %type%
  368. ; %fsname%
  369. ; %percentage_free%
  370. ; %percentage_used%
  371. ; %total%
  372. ; %free%
  373. ; %used%
  374. ; Default: %mountpoint% %percentage_free%%
  375. label-mounted = " %free%"
  376. ; Available tokens:
  377. ; %mountpoint%
  378. ; Default: %mountpoint% is not mounted
  379. label-unmounted = " %mountpoint%: not mounted"
  380. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  381. ;;[module/github]
  382. ;;type = internal/github
  383. ; Accessing an access token stored in file
  384. ;;token = ${file:/path/to/file/containing/github/access.token}
  385. ; Accessing an access token stored in an environment variable
  386. ;;token = ${env:GITHUB_ACCESS_TOKEN}
  387. ; Whether empty notifications should be displayed or not
  388. ;;empty-notifications = false
  389. ; Number of seconds in between requests
  390. ;;interval = 10
  391. ; Available tags:
  392. ; <label> (default)
  393. ;;format = <label>
  394. ;;format-prefix = 
  395. ; Available tokens:
  396. ; %notifications% (default)
  397. ; Default: Notifications: %notifications%
  398. ;;label = %notifications%
  399. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  400. ;;[module/i3]
  401. ;;type = internal/i3
  402. ; Only show workspaces defined on the same output as the bar
  403. ;
  404. ; Useful if you want to show monitor specific workspaces
  405. ; on different bars
  406. ;
  407. ; Default: false
  408. ;;pin-workspaces = true
  409. ; This will split the workspace name on ':'
  410. ; Default: false
  411. ;;strip-wsnumbers = true
  412. ; Sort the workspaces by index instead of the default
  413. ; sorting that groups the workspaces by output
  414. ; Default: false
  415. ;;index-sort = true
  416. ; Create click handler used to focus workspace
  417. ; Default: true
  418. ;;enable-click = false
  419. ; Create scroll handlers used to cycle workspaces
  420. ; Default: true
  421. ;;enable-scroll = false
  422. ; Wrap around when reaching the first/last workspace
  423. ; Default: true
  424. ;;wrapping-scroll = false
  425. ; Set the scroll cycle direction
  426. ; Default: true
  427. ;;reverse-scroll = false
  428. ; Use fuzzy (partial) matching on labels when assigning
  429. ; icons to workspaces
  430. ; Example: code;♚ will apply the icon to all workspaces
  431. ; containing 'code' in the label
  432. ; Default: false
  433. ;;fuzzy-match = true
  434. ; ws-icon-[0-9]+ = label;icon
  435. ; NOTE: The label needs to match the name of the i3 workspace
  436. ;;ws-icon-0 = 1;♚
  437. ;;ws-icon-1 = 2;♛
  438. ;;ws-icon-2 = 3;♜
  439. ;;ws-icon-3 = 4;♝
  440. ;;ws-icon-4 = 5;♞
  441. ;;ws-icon-default = ♟
  442. ; NOTE: You cannot skip icons, e.g. to get a ws-icon-6
  443. ; you must also define a ws-icon-5.
  444. ; Available tags:
  445. ; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)>
  446. ; <label-mode> (default)
  447. ;;format = <label-state> <label-mode>
  448. ; Available tokens:
  449. ; %mode%
  450. ; Default: %mode%
  451. ;;label-mode = %mode%
  452. ;;label-mode-padding = 2
  453. ;;label-mode-background = #e60053
  454. ; Available tokens:
  455. ; %name%
  456. ; %icon%
  457. ; %index%
  458. ; %output%
  459. ; Default: %icon% %name%
  460. ;;label-focused = %index%
  461. ;;label-focused-foreground = #ffffff
  462. ;;label-focused-background = #3f3f3f
  463. ;;label-focused-underline = #fba922
  464. ;;label-focused-padding = 4
  465. ; Available tokens:
  466. ; %name%
  467. ; %icon%
  468. ; %index%
  469. ; %output%
  470. ; Default: %icon% %name%
  471. ;;label-unfocused = %index%
  472. ;;label-unfocused-padding = 4
  473. ; Available tokens:
  474. ; %name%
  475. ; %icon%
  476. ; %index%
  477. ; %output%
  478. ; Default: %icon% %name%
  479. ;;label-visible = %index%
  480. ;;label-visible-underline = #555555
  481. ;;label-visible-padding = 4
  482. ; Available tokens:
  483. ; %name%
  484. ; %icon%
  485. ; %index%
  486. ; %output%
  487. ; Default: %icon% %name%
  488. ;;label-urgent = %index%
  489. ;;label-urgent-foreground = #000000
  490. ;;label-urgent-background = #bd2c40
  491. ;;label-urgent-padding = 4
  492. ; Separator in between workspaces
  493. ;;label-separator = |
  494. ;;label-separator-padding = 2
  495. ;;label-separator-foreground = #ffb52a
  496. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  497. [module/memory]
  498. type = internal/memory
  499. ; Seconds to sleep between updates
  500. ; Default: 1
  501. interval = 1
  502. ; Available tags:
  503. ; <label> (default)
  504. ; <bar-used>
  505. ; <bar-free>
  506. ; <ramp-used>
  507. ; <ramp-free>
  508. ; <bar-swap-used>
  509. ; <bar-swap-free>
  510. ; <ramp-swap-used>
  511. ; <ramp-swap-free>
  512. format = <label>
  513. format-prefix =
  514. format-background = ${color.background}
  515. format-padding = 1
  516. ; Available tokens:
  517. ; %percentage_used% (default)
  518. ; %percentage_free%
  519. ; %gb_used%
  520. ; %gb_free%
  521. ; %gb_total%
  522. ; %mb_used%
  523. ; %mb_free%
  524. ; %mb_total%
  525. ; %percentage_swap_used%
  526. ; %percentage_swap_free%
  527. ; %mb_swap_total%
  528. ; %mb_swap_free%
  529. ; %mb_swap_used%
  530. ; %gb_swap_total%
  531. ; %gb_swap_free%
  532. ; %gb_swap_used%
  533. label = " %mb_used%"
  534. ; Only applies if <ramp-used> is used
  535. ;;ramp-used-0 = ${memory.used0}
  536. ;;ramp-used-1 = ${memory.used1}
  537. ;;ramp-used-2 = ${memory.used2}
  538. ; Only applies if <ramp-free> is used
  539. ;;ramp-free-0 = ${memory.free0}
  540. ;;ramp-free-1 = ${memory.free1}
  541. ;;ramp-free-2 = ${memory.free2}
  542. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  543. [module/mpd]
  544. type = internal/mpd
  545. ; Host where mpd is running (either ip or domain name)
  546. ; Can also be the full path to a unix socket where mpd is running.
  547. ;;host = 127.0.0.1
  548. ;;port = 6600
  549. ;;password = mysecretpassword
  550. ; Seconds to sleep between progressbar/song timer sync
  551. ; Default: 1
  552. interval = 1
  553. ; Available tags:
  554. ; <label-song> (default)
  555. ; <label-time>
  556. ; <bar-progress>
  557. ; <toggle> - gets replaced with <icon-(pause|play)>
  558. ; <toggle-stop> - gets replaced with <icon-(stop|play)>
  559. ; <icon-random>
  560. ; <icon-repeat>
  561. ; <icon-repeatone> (deprecated)
  562. ; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone>
  563. ; <icon-consume>
  564. ; <icon-prev>
  565. ; <icon-stop>
  566. ; <icon-play>
  567. ; <icon-pause>
  568. ; <icon-next>
  569. ; <icon-seekb>
  570. ; <icon-seekf>
  571. format-online = <label-song> <icon-prev> <toggle> <icon-next>
  572. format-online-prefix =
  573. format-online-background = ${color.background}
  574. format-online-padding = 1
  575. ;format-playing = ${self.format-online}
  576. ;format-paused = ${self.format-online}
  577. ;format-stopped = ${self.format-online}
  578. ; Available tags:
  579. ; <label-offline>
  580. format-offline = <label-offline>
  581. format-offline-prefix =
  582. format-offline-background = ${color.background}
  583. format-offline-padding = 1
  584. ; Available tokens:
  585. ; %artist%
  586. ; %album-artist%
  587. ; %album%
  588. ; %date%
  589. ; %title%
  590. ; Default: %artist% - %title%
  591. label-song = " %artist% - %title%"
  592. label-song-maxlen = 25
  593. label-song-ellipsis = true
  594. ; Available tokens:
  595. ; %elapsed%
  596. ; %total%
  597. ; Default: %elapsed% / %total%
  598. label-time = %elapsed% / %total%
  599. ; Available tokens:
  600. ; None
  601. label-offline = " Offline"
  602. ; Only applies if <icon-X> is used
  603. icon-play =
  604. icon-pause =
  605. icon-stop =
  606. icon-next =
  607. icon-prev =
  608. icon-seekf =
  609. icon-seekb =
  610. icon-random =
  611. icon-repeat =
  612. icon-repeatone =
  613. icon-single =
  614. icon-consume =
  615. ; Used to display the state of random/repeat/repeatone/single
  616. ; Only applies if <icon-[random|repeat|repeatone|single]> is used
  617. toggle-on-foreground = ${color.green}
  618. toggle-off-foreground = ${color.red}
  619. ; Only applies if <bar-progress> is used
  620. ;;bar-progress-width = 45
  621. ;;bar-progress-indicator = |
  622. ;;bar-progress-fill = ─
  623. ;;bar-progress-empty = ─
  624. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  625. ; If you use both a wired and a wireless network, just add 2 module definitions. For example
  626. [module/wired-network]
  627. type = internal/network
  628. interface = eth0
  629. [module/wireless-network]
  630. type = internal/network
  631. interface = wlp3s0
  632. ; Normal Module
  633. [module/network]
  634. type = internal/network
  635. interface = wlan0
  636. ; Seconds to sleep between updates
  637. ; Default: 1
  638. interval = 1.0
  639. ; Test connectivity every Nth update
  640. ; A value of 0 disables the feature
  641. ; NOTE: Experimental (needs more testing)
  642. ; Default: 0
  643. ;ping-interval = 3
  644. ; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%)
  645. ; Minimum output width of upload/download rate
  646. ; Default: 3
  647. ;;udspeed-minwidth = 5
  648. ; Accumulate values from all interfaces
  649. ; when querying for up/downspeed rate
  650. ; Default: false
  651. accumulate-stats = true
  652. ; Consider an `UNKNOWN` interface state as up.
  653. ; Some devices have an unknown state, even when they're running
  654. ; Default: false
  655. unknown-as-up = true
  656. ; Available tags:
  657. ; <label-connected> (default)
  658. ; <ramp-signal>
  659. format-connected = <label-connected>
  660. format-connected-prefix =
  661. format-connected-background = ${color.background}
  662. format-connected-padding = 1
  663. ; Available tags:
  664. ; <label-disconnected> (default)
  665. format-disconnected = <label-disconnected>
  666. format-disconnected-prefix =
  667. format-disconnected-background = ${color.background}
  668. format-disconnected-padding = 1
  669. ; Available tags:
  670. ; <label-connected> (default)
  671. ; <label-packetloss>
  672. ; <animation-packetloss>
  673. ;;format-packetloss = <animation-packetloss> <label-connected>
  674. ; Available tokens:
  675. ; %ifname% [wireless+wired]
  676. ; %local_ip% [wireless+wired]
  677. ; %local_ip6% [wireless+wired]
  678. ; %essid% [wireless]
  679. ; %signal% [wireless]
  680. ; %upspeed% [wireless+wired]
  681. ; %downspeed% [wireless+wired]
  682. ; %linkspeed% [wired]
  683. ; Default: %ifname% %local_ip%
  684. label-connected = "%{A1:networkmanager_dmenu &:} %essid%  %downspeed%  %upspeed%%{A}"
  685. ; Available tokens:
  686. ; %ifname% [wireless+wired]
  687. ; Default: (none)
  688. label-disconnected = "%{A1:networkmanager_dmenu &:} Offline%{A}"
  689. ;;label-disconnected-foreground = #66ffffff
  690. ; Available tokens:
  691. ; %ifname% [wireless+wired]
  692. ; %local_ip% [wireless+wired]
  693. ; %local_ip6% [wireless+wired]
  694. ; %essid% [wireless]
  695. ; %signal% [wireless]
  696. ; %upspeed% [wireless+wired]
  697. ; %downspeed% [wireless+wired]
  698. ; %linkspeed% [wired]
  699. ; Default: (none)
  700. ;label-packetloss = %essid%
  701. ;label-packetloss-foreground = #eefafafa
  702. ; Only applies if <ramp-signal> is used
  703. ramp-signal-0 =
  704. ramp-signal-1 =
  705. ramp-signal-2 =
  706. ; Only applies if <animation-packetloss> is used
  707. ;;animation-packetloss-0 = ⚠
  708. ;;animation-packetloss-0-foreground = #ffa64c
  709. ;;animation-packetloss-1 = ⚠
  710. ;;animation-packetloss-1-foreground = #000000
  711. ; Framerate in milliseconds
  712. ;;animation-packetloss-framerate = 500
  713. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  714. [module/pulseaudio]
  715. type = internal/pulseaudio
  716. ; Sink to be used, if it exists (find using `pacmd list-sinks`, name field)
  717. ; If not, uses default sink
  718. sink = alsa_output.pci-0000_03_00.6.analog-stereo
  719. ; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false
  720. ; Default: true
  721. use-ui-max = false
  722. ; Interval for volume increase/decrease (in percent points)
  723. ; Default: 5
  724. interval = 5
  725. ; Available tags:
  726. ; <label-volume> (default)
  727. ; <ramp-volume>
  728. ; <bar-volume>
  729. format-volume = <ramp-volume> <label-volume>
  730. format-volume-background = ${color.background}
  731. format-volume-padding = 1
  732. ; Available tags:
  733. ; <label-muted> (default)
  734. ; <ramp-volume>
  735. ; <bar-volume>
  736. format-muted = <label-muted>
  737. format-muted-prefix =
  738. format-muted-background = ${color.background}
  739. format-muted-padding = 1
  740. ; Available tokens:
  741. ; %percentage% (default)
  742. label-volume = %percentage%%
  743. ; Available tokens:
  744. ; %percentage% (default
  745. label-muted = " Muted"
  746. label-muted-foreground = ${color.foreground}
  747. ; Only applies if <ramp-volume> is used
  748. ramp-volume-0 =
  749. ramp-volume-1 =
  750. ramp-volume-2 =
  751. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  752. [module/temperature]
  753. type = internal/temperature
  754. ; Seconds to sleep between updates
  755. ; Default: 1
  756. interval = 0.5
  757. ; Thermal zone to use
  758. ; To list all the zone types, run
  759. ; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
  760. ; Default: 0
  761. thermal-zone = 0
  762. ; Full path of temperature sysfs path
  763. ; Use `sensors` to find preferred temperature source, then run
  764. ; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
  765. ; to find path to desired file
  766. ; Default reverts to thermal zone setting
  767. ;;hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
  768. hwmon-path = /sys/devices/pci0000:00/0000:00:01.3/0000:01:00.0/hwmon/hwmon0/temp1_input
  769. ; Threshold temperature to display warning label (in degrees celsius)
  770. ; Default: 80
  771. warn-temperature = 65
  772. ; Whether or not to show units next to the temperature tokens (°C, °F)
  773. ; Default: true
  774. units = true
  775. ; Available tags:
  776. ; <label> (default)
  777. ; <ramp>
  778. format = <ramp> <label>
  779. format-background = ${color.background}
  780. format-padding = 1
  781. ; Available tags:
  782. ; <label-warn> (default)
  783. ; <ramp>
  784. format-warn = <ramp> <label-warn>
  785. format-warn-background = ${color.background}
  786. format-warn-padding = 1
  787. ; Available tokens:
  788. ; %temperature% (deprecated)
  789. ; %temperature-c% (default, temperature in °C)
  790. ; %temperature-f% (temperature in °F)
  791. label = %temperature-c%
  792. ; Available tokens:
  793. ; %temperature% (deprecated)
  794. ; %temperature-c% (default, temperature in °C)
  795. ; %temperature-f% (temperature in °F)
  796. label-warn = "%temperature-c%"
  797. label-warn-foreground = ${color.red}
  798. ; Requires the <ramp> tag
  799. ; The icon selection will range from 0 to `warn-temperature`
  800. ; with the current temperature as index.
  801. ramp-0 =
  802. ramp-1 =
  803. ramp-2 =
  804. ramp-3 =
  805. ramp-4 =
  806. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  807. [module/keyboard]
  808. type = internal/xkeyboard
  809. ; List of indicators to ignore
  810. blacklist-0 = num lock
  811. blacklist-1 = scroll lock
  812. ; Available tags:
  813. ; <label-layout> (default)
  814. ; <label-indicator> (default)
  815. format = <label-layout> <label-indicator>
  816. format-background = ${color.background}
  817. format-padding = 1
  818. format-prefix =
  819. ; Available tokens:
  820. ; %layout%
  821. ; %name%
  822. ; %number%
  823. ; Default: %layout%
  824. label-layout = " %layout%"
  825. ; Available tokens:
  826. ; %name%
  827. ; Default: %name%
  828. label-indicator-on = %name%
  829. label-indicator-on-foreground = ${color.primary}
  830. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  831. [module/title]
  832. type = internal/xwindow
  833. ; Available tags:
  834. ; <label> (default)
  835. format = <label>
  836. format-background = ${color.background}
  837. format-padding = 0
  838. ;format-prefix = 
  839. ; Available tokens:
  840. ; %title%
  841. ; Default: %title%
  842. label = "%title%"
  843. label-maxlen = 30
  844. ; Used instead of label when there is no window title
  845. ;;label-empty = Arch Linux
  846. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  847. [module/workspaces]
  848. type = internal/xworkspaces
  849. ; Only show workspaces defined on the same output as the bar
  850. ;
  851. ; Useful if you want to show monitor specific workspaces
  852. ; on different bars
  853. ;
  854. ; Default: false
  855. pin-workspaces = true
  856. ; Create click handler used to focus desktop
  857. ; Default: true
  858. enable-click = true
  859. ; Create scroll handlers used to cycle desktops
  860. ; Default: true
  861. enable-scroll = true
  862. ; icon-[0-9]+ = <desktop-name>;<icon>
  863. ; NOTE: The desktop name needs to match the name configured by the WM
  864. ; You can get a list of the defined desktops using:
  865. ; $ xprop -root _NET_DESKTOP_NAMES
  866. icon-0 = 1;
  867. icon-1 = 2;
  868. icon-2 = 3;
  869. icon-3 = 4;
  870. icon-4 = 5;
  871. icon-default =
  872. ; Available tags:
  873. ; <label-monitor>
  874. ; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)>
  875. ; Default: <label-state>
  876. format = <label-state>
  877. format-background = ${color.background}
  878. format-padding = 0
  879. ; Available tokens:
  880. ; %name%
  881. ; Default: %name%
  882. label-monitor = %name%
  883. ; Available tokens:
  884. ; %name%
  885. ; %icon%
  886. ; %index%
  887. ; Default: %icon% %name%
  888. label-active = %icon%
  889. label-active-foreground = ${color.red}
  890. label-active-overline = ${color.red}
  891. ; Available tokens:
  892. ; %name%
  893. ; %icon%
  894. ; %index%
  895. ; Default: %icon% %name%
  896. label-occupied = %icon%
  897. label-occupied-foreground = ${color.yellow}
  898. ; Available tokens:
  899. ; %name%
  900. ; %icon%
  901. ; %index%
  902. ; Default: %icon% %name%
  903. label-urgent = %icon%
  904. label-urgent-foreground = ${color.green}
  905. ; Available tokens:
  906. ; %name%
  907. ; %icon%
  908. ; %index%
  909. ; Default: %icon% %name%
  910. label-empty = %icon%
  911. label-active-padding = 1
  912. label-urgent-padding = 1
  913. label-occupied-padding = 1
  914. label-empty-padding = 1
  915. ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_