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.

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