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.

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