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.

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