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.

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