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.

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