Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

75 wiersze
2.1 KiB

  1. {
  2. "layer": "bottom", // Waybar at top layer
  3. // "position": "bottom", // Waybar at the bottom of your screen
  4. "height": 24, // Waybar height
  5. // "width": 1280, // Waybar width
  6. // Choose the order of the modules
  7. "modules-left": ["sway/workspaces", "sway/mode"],
  8. "modules-center": ["sway/window"],
  9. "modules-right": ["tray", "pulseaudio", "network", "cpu", "memory", "battery", "clock"],
  10. // Modules configuration
  11. "sway/workspaces": {
  12. "disable-scroll": true,
  13. "all-outputs": false,
  14. "format": "{name} {icon}",
  15. "format-icons": {
  16. "urgent": "",
  17. "focused": "",
  18. "default": ""
  19. }
  20. },
  21. "sway/mode": {
  22. "format": "{}"
  23. },
  24. "sway/window": {
  25. "max-length": 50
  26. },
  27. "tray": {
  28. // "icon-size": 21,
  29. "spacing": 10
  30. },
  31. "clock": {
  32. "format": "{:%H:%M %d/%m/%Y}"
  33. },
  34. "cpu": {
  35. "format": "{}% "
  36. },
  37. "memory": {
  38. "format": "{}% "
  39. },
  40. "battery": {
  41. "bat": "BAT0",
  42. "states": {
  43. "full": 100,
  44. "good": 90,
  45. "warning": 30,
  46. "critical": 15
  47. },
  48. "format-charging": "🔌 {capacity}% {icon}",
  49. "format-discharging": "🔋 {capacity}% {icon}",
  50. "format": "🔌 [full]",
  51. "format-icons": [" ","▁","▂","▃","▄","▅","▆","▇","█"]
  52. },
  53. "network": {
  54. // "interface": "wlp2s0", // (Optional) To force the use of this interface
  55. "format-wifi": "{essid} ({signaldBm}dB) ",
  56. "format-ethernet": "{ifname} ",
  57. "format-disconnected": "Disconnected ⚠"
  58. },
  59. "pulseaudio": {
  60. "format": "{volume}% {icon}",
  61. "format-bluetooth": "{volume}% {icon}",
  62. "format-muted": "",
  63. "format-icons": {
  64. "headphones": "",
  65. "handsfree": "",
  66. "headset": "",
  67. "phone": "",
  68. "portable": "",
  69. "car": "",
  70. "default": ["", ""]
  71. },
  72. "on-click": "pavucontrol"
  73. }
  74. }