ardj

waybar(config)

Apr 18th, 2025
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 KB | None | 0 0
  1. {
  2. "layer": "top",
  3. "position": "right",
  4. "width": 5,
  5. "height": 700,
  6. "modules-left": ["hyprland/workspaces"],
  7. "modules-center": [],
  8. "modules-right": [
  9. "group/gupdates",
  10. "group/glanguage",
  11. "group/gmemory",
  12. "group/gtemperature",
  13. "group/gbattery",
  14. "group/gcpu",
  15. "group/gpulseaudio",
  16. "group/gclock",
  17. "tray"
  18. ],
  19.  
  20. "group/gupdates": {
  21. "orientation": "vertical",
  22. "modules": [
  23. "custom/updatesicon",
  24. "custom/updates"
  25. ]
  26. },
  27. "custom/updatesicon": {
  28. "format": ""
  29. },
  30. "custom/updates": {
  31. "format": "{text}",
  32. "max-length": 40,
  33. "interval": 3600,
  34. "exec": "xbps-install -unM | wc -l",
  35. "signal": 10,
  36. },
  37.  
  38. "group/glanguage": {
  39. "orientation": "vertical",
  40. "modules": [
  41. "custom/keyboardicon",
  42. "hyprland/language"
  43. ]
  44. },
  45. "custom/keyboardicon": {
  46. "format": ""
  47. },
  48. "hyprland/language": {
  49. "format": "{}",
  50. "format-es": "ES",
  51. "format-en": "US",
  52. "keyboard-name": "at-translated-set-2-keyboard",
  53. "on-click": "hyprctl switchxkblayout at-translated-set-2-keyboard next"
  54. },
  55.  
  56. "group/gcpu": {
  57. "orientation": "vertical",
  58. "modules": [
  59. "custom/cpuicon",
  60. "cpu"
  61. ]
  62. },
  63.  
  64. "custom/cpuicon": {
  65. "format": ""
  66. },
  67.  
  68. "cpu": {
  69. "interval": 2
  70. },
  71.  
  72. "group/gmemory": {
  73. "orientation": "vertical",
  74. "modules": [
  75. "custom/memoryicon",
  76. "memory"
  77. ]
  78. },
  79. "custom/memoryicon": {
  80. "format": ""
  81. },
  82. "memory": {
  83. "format": "{used:0.1f}G",
  84. "interval": 5
  85. },
  86.  
  87. "group/gtemperature": {
  88. "orientation": "vertical",
  89. "modules": [
  90. "custom/tempicon",
  91. "temperature"
  92. ]
  93. },
  94. "custom/tempicon": {
  95. "format": ""
  96. },
  97. "temperature": {
  98. "critical-threshold": 80,
  99. "format": "{temperatureC}°C"
  100. },
  101.  
  102. "group/gbattery": {
  103. "orientation": "vertical",
  104. "modules": [
  105. "custom/batteryicon",
  106. "battery"
  107. ]
  108. },
  109. "custom/batteryicon": {
  110. "format": ""
  111. },
  112. "battery": {
  113. "format": "{capacity}%",
  114. },
  115.  
  116. "tray": {
  117. "spacing": 10
  118. },
  119.  
  120. "group/gclock": {
  121. "orientation": "vertical",
  122. "modules": [
  123. "custom/clockicon",
  124. "clock"
  125. ]
  126. },
  127. "custom/clockicon": {
  128. "format": "",
  129. },
  130. "clock": {
  131. "format": "{:%H:%M}",
  132. "tooltip-format": "{:%A, %d %B %Y}"
  133. },
  134.  
  135. //audio
  136. "group/gpulseaudio": {
  137. "orientation": "vertical",
  138. "modules": [
  139. "custom/audioicon",
  140. "pulseaudio"
  141. ]
  142. },
  143. "custom/audioicon": {
  144. "format": ""
  145. },
  146. "pulseaudio": {
  147. "format": "{volume}%",
  148. "format-muted": "muted",
  149. "on-click": "pavucontrol"
  150. }
  151.  
  152.  
  153. }
  154.  
  155.  
Advertisement
Add Comment
Please, Sign In to add comment