Advertisement
icon_bishop

modules.json

Dec 9th, 2024
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. // __ __ _ _
  2. // | \/ | ___ __| |_ _| | ___ ___
  3. // | |\/| |/ _ \ / _` | | | | |/ _ \/ __|
  4. // | | | | (_) | (_| | |_| | | __/\__ \
  5. // |_| |_|\___/ \__,_|\__,_|_|\___||___/
  6. //
  7. //
  8. // by icon_bishopxxiii (2024)
  9. // -----------------------------------------------------
  10. //
  11. {
  12. // Updates
  13. "custom/updates": {
  14. "interval": 10800,
  15. "format": "{}",
  16. "exec": "~/.config/waybar/scripts/update-sys",
  17. "on-click": "~/.local/bin/dwmscripts/scpad"
  18. },
  19.  
  20. // Weather
  21. "custom/weather": {
  22. "format": "{}",
  23. "exec": "~/.local/bin/dwmscripts/weather",
  24. "interval": 10800
  25. },
  26.  
  27. // Workspaces
  28. "hyprland/workspaces" : {
  29. "on-click": "activate",
  30. "active-only": false,
  31. "all-outputs": true,
  32. "format": "{}",
  33. "format-icons": {
  34. "urgent": "",
  35. "active": "",
  36. "occupied": "",
  37. "default": ""
  38. },
  39. "persistent-workspaces": {
  40. // START WORKSPACES
  41. "*": 5
  42. // END WORKSPACES
  43. }
  44. },
  45.  
  46. // Mode
  47. "wlr/mode": {
  48. "format": "<span style=\"italic\">{}</span>"
  49. },
  50.  
  51. // Tray
  52. "tray": {
  53. "icon-size": 21,
  54. "spacing": 10
  55. },
  56.  
  57. // Clock
  58. "clock": {
  59. "timezone": "Asia/Tokyo",
  60. "format": "{:%I:%M %p}",
  61. "tooltip-format": "<big>{:%I:%M %p}</big>\n<tt><big>{calendar}</big></tt>",
  62. "format-alt": "{:%a %B %d,%Y %I:%M %p}"
  63. },
  64.  
  65. // CPU
  66. "cpu": {
  67. "format": "{usage}% ",
  68. "tooltip": false
  69. },
  70.  
  71. //Memory
  72. "memory": {
  73. "format": "{}% "
  74. },
  75.  
  76. // Backlight
  77. "backlight": {
  78. // "device": "acpi_video1",
  79. "format": "{percent}% {icon}",
  80. "format-icons": ["", "", "", "", "", "", "", "", ""]
  81. },
  82.  
  83. // Battery
  84. "battery": {
  85. "states": {
  86. // "good": 95,
  87. "warning": 30,
  88. "critical": 15
  89. },
  90. "format": "{capacity}% {icon}",
  91. "format-charging": "{capacity}% ⚡",
  92. "format-plugged": "{capacity}% ",
  93. "format-alt": "{time} {icon}",
  94. // "format-good": "", // An empty format will hide the module
  95. // "format-full": "",
  96. "format-icons": ["", "", "", "", ""]
  97. },
  98.  
  99. // Network Connection
  100. "network": {
  101. // "interface": "wlp2*", // (Optional) To force the use of this interface
  102. "format-wifi": "  {essid} ({signalStrength}%)",
  103. "format-ethernet": "{ipaddr}/{cidr} ",
  104. "tooltip-format": "{ifname} via {gwaddr} ",
  105. "format-linked": "{ifname} (No IP) ",
  106. "format-disconnected": "Disconnected ⚠",
  107. "format-alt": "{ifname}: {ipaddr}/{cidr}"
  108. },
  109.  
  110. // Audio
  111. "pulseaudio": {
  112. // "scroll-step": 1, // %, can be a float
  113. "format": "{volume}% {icon} {format_source}",
  114. "format-bluetooth": "{volume}% {icon} {format_source}",
  115. "format-bluetooth-muted": " {icon} {format_source}",
  116. "format-muted": "  {format_source}",
  117. "format-source": "{volume}% ",
  118. "format-source-muted": "",
  119. "format-icons": {
  120. "headphone": "",
  121. "hands-free": "",
  122. "headset": "",
  123. "phone": "",
  124. "portable": "",
  125. "car": "",
  126. "default": ["", "", ""]
  127. },
  128. "on-click": "pavucontrol"
  129. }
  130.  
  131.  
  132.  
  133. // Idle
  134. // "custom/idle_inhibitor": {
  135. // "exec": "~/.local/bin/dwmscripts/idle.sh",
  136. // "on-click": "~/.local/bin/dwmscripts/idle.sh",
  137. // "format-icons": ["零", "鈴"], // or  and ﮌ
  138. // }
  139.  
  140. }
  141.  
Tags: waybar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement