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.

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