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.

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