Guest User

Untitled

a guest
Jun 21st, 2025
6
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.45 KB | None | 0 0
  1. [
  2. {
  3. "layer": "top",
  4. "position": "top",
  5. "spacing": 2,
  6. "passthrough": false,
  7. "gtk-layer-shell": true,
  8. "reload_style_on_change": true,
  9. "modules-left": [
  10. "group/power",
  11. "hyprland/workspaces",
  12. "wlr/taskbar",
  13. "network"
  14. ],
  15. "modules-center": ["hyprland/window"],
  16. "modules-right": [
  17. "mpris",
  18. "mpd",
  19. "wireplumber",
  20. "tray",
  21. "clock"
  22. ],
  23.  
  24. // Group Configuration
  25. "group/power": {
  26. "orientation": "inherit",
  27. "drawer": {
  28. "transition-duration": 500,
  29. "children-class": "drawer-child",
  30. "transition-left-to-right": true
  31. },
  32. "modules": [
  33. "custom/arch", // First element is the "group leader" and won't ever be hidden
  34. "custom/power",
  35. "custom/quit",
  36. "custom/reboot"
  37. ]
  38. },
  39. "custom/arch": {
  40. "format": "󰣇",
  41. "tooltip": false
  42. },
  43. "custom/quit": {
  44. "format": "󰗼",
  45. "tooltip": true,
  46. "tooltip-format": "Quit",
  47. "on-click": "hyprctl dispatch exit"
  48. },
  49. "custom/reboot": {
  50. "format": "󰜉",
  51. "tooltip": true,
  52. "tooltip-format": "Reboot",
  53. "on-click": "systemctl reboot"
  54. },
  55. "custom/power": {
  56. "format": "",
  57. "tooltip": true,
  58. "tooltip-format": "Shutdown",
  59. "on-click": "shutdown now"
  60. },
  61. // Modules configuration
  62. "hyprland/workspaces": {
  63. "on-click": "activate",
  64. "format": "{id} {windows}",
  65. "format-window-separator": " ",
  66. "window-rewrite-default": "",
  67. "window-rewrite": {
  68. "title<.*youtube.*>": "",
  69. "title<.*whatsapp.*>": "",
  70. "title<.*messenger.*>": "",
  71. "title<.*facebook.*>": "",
  72. "title<.*figma.*>": "",
  73. "title<.*discord.*>": "",
  74. "title<.*jira.*>": "",
  75. "class<firefox>": "",
  76. "class<zen>": "",
  77. "title<.*github.*>": "",
  78. "class<thunar>": "",
  79. "class<com.mitchellh.ghostty>": "",
  80. "class<code>": "󰨞 ",
  81. "title<.*nvim ~.*>": "",
  82. "title<.*vim.*>": "",
  83. "title<.*nvim.*>": "",
  84. "title<.*cmus.*>": " ",
  85. "class<spotify>": "",
  86. "class<chrome>": "",
  87. "class<slack>": "",
  88. "class<vlc>": "󰕼",
  89. "class<gimp>": "",
  90. "class<thunderbird>": "",
  91. "title<.*gmail.*>": "󰊫",
  92. "class<telegram-desktop>": "",
  93. "class<remmina>": "🖥️",
  94. "class<virt-manager>": "",
  95. "class<obs>": "📹",
  96. "class<jetbrains-idea>": "",
  97. "class<microsoft-edge>": "",
  98. "class<android-studio>": "",
  99. "class<steam>": "",
  100. "class<tor browser>": "",
  101. "class<codium>": ""
  102. },
  103. // "persistent-workspaces": {
  104. // "*": [10] // 1 workspaces by default on every monitor
  105. // // "HDMI-A-1": 3 // but only three on HDMI-A-1
  106. // },
  107. "on-scroll-up": "hyprctl dispatch workspace m-1 > /dev/null",
  108. "on-scroll-down": "hyprctl dispatch workspace m+1 > /dev/null",
  109. "format-icons": {
  110. // "1": "1",
  111. // "2": "2",
  112. // "3": "3",
  113. // "4": "4",
  114. // "5": "5",
  115. // "6": "6",
  116. // "7": "7",
  117. // "8": "8",
  118. // "9": "9",
  119. // "10": "10",
  120. "special": "🎁",
  121. // "urgent": "",
  122. "persistent": ""
  123. // "default": " ",
  124. }
  125. },
  126. "wlr/taskbar": {
  127. // "format": "{icon}",
  128. "format": "{icon} {name}",
  129. "icon-size": 20,
  130. "on-click": "activate",
  131. "on-click-middle": "close"
  132. },
  133. // "bluetooth": {
  134. // "format": " {status}",
  135. // "format-connected": " {device_alias}",
  136. // "format-connected-battery": " {device_alias} {device_battery_percentage}%",
  137. // // "format-device-preference": [ "device1", "device2" ], // preference list deciding the displayed device
  138. // "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
  139. // "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
  140. // "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
  141. // "tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
  142. // "on-click": "blueman-manager"
  143. // },
  144. "hyprland/window": {
  145. "format": "{}",
  146. "max-length": 50,
  147. "separate-outputs": true
  148. },
  149. "network": {
  150. //"interface": "wlp2s0",
  151. "family": "ipv4",
  152. "format": "{ifname} [󰾆 {bandwidthTotalBytes}]",
  153. "format-wifi": "{icon} {essid} [󰾆 {bandwidthTotalBytes}]",
  154. "format-ethernet": "󰈀  {bandwidthUpBytes}  {bandwidthDownBytes}",
  155. "format-disconnected": "󰌙 Disconnected ⚠",
  156. "format-alt": " {ipaddr}  {bandwidthUpBytes}  {bandwidthDownBytes}",
  157. "tooltip-format": "{ifname} via {gwaddr} ",
  158. "tooltip-format-wifi": "{frequency} MHz ({signalStrength}%)",
  159. "max-length": 50,
  160. "format-icons": ["󰤯 ", "󰤟 ", "󰤢 ", "󰤢 ", "󰤨 "]
  161. },
  162. "tray": {
  163. "icon-size": 18,
  164. "spacing": 10
  165. },
  166. "clock": {
  167. "interval": 60,
  168. "format": " {0:%d.%m.%y}  {0:%H:%M}",
  169. //"format": "<span color='#bf616a'> </span>{:%I:%M %p}",
  170. //"format-alt": "<span color='#bf616a'> </span>{:%A, %B %d, %Y (%I:%M %p)}",
  171. //"format": "{: %R  %d/%m}",
  172. "tooltip-format": "<tt><small>{calendar}</small></tt>",
  173. "calendar": {
  174. "mode": "year",
  175. "mode-mon-col": 3,
  176. "weeks-pos": "right",
  177. "on-scroll": 1,
  178. "on-click-right": "mode",
  179. "format": {
  180. "months": "<span color='#ffead3'><b>{}</b></span>",
  181. "days": "<span color='#ecc6d9'><b>{}</b></span>",
  182. "weeks": "<span color='#99ffdd'><b>W{}</b></span>",
  183. "weekdays": "<span color='#ffcc66'><b>{}</b></span>",
  184. "today": "<span color='#ff6699'><b><u>{}</u></b></span>"
  185. }
  186. },
  187. "actions": {
  188. "on-click-right": "mode",
  189. "on-click-forward": "tz_up",
  190. "on-click-backward": "tz_down",
  191. "on-scroll-up": "shift_up",
  192. "on-scroll-down": "shift_down"
  193. }
  194. },
  195. "wireplumber": {
  196. "format": "{icon} {volume}%",
  197. "format-muted": " Muted",
  198. "format-icons": [" ", " ", " "],
  199. "scroll-step": 1,
  200. "max-volume": 100,
  201. "on-click": "pavucontrol"
  202. },
  203. "mpris": {
  204. "format": "{player_icon} {dynamic}",
  205. "format-paused": "{status_icon} <i>{dynamic}</i>",
  206. "max-length": 70,
  207. "interval": 1,
  208. "player-icons": {
  209. "default": "󰎆 ",
  210. "cmus": "",
  211. "mpv": "🎵",
  212. "vlc": "🎬",
  213. "spotify": ""
  214. },
  215. "status-icons": {
  216. "paused": "⏸"
  217. },
  218. "on-click": "playerctl play-pause",
  219. "on-click-right": "playerctl stop",
  220. "smooth-scrolling-threshold": 10,
  221. "on-scroll-down": "playerctl previous"
  222. // "ignored-players": ["cmus", "spotify"]
  223. },
  224. "mpd": {
  225. "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ",
  226. "format-disconnected": "Disconnected ",
  227. "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
  228. "interval": 1,
  229. "consume-icons": {
  230. "on": " " // Icon shows only when "consume" is on
  231. },
  232. "random-icons": {
  233. "off": "<span color=\"#f53c3c\"></span> ", // Icon grayed out when "random" is off
  234. "on": " "
  235. },
  236. "repeat-icons": {
  237. "on": " "
  238. },
  239. "single-icons": {
  240. "on": "1 "
  241. },
  242. "state-icons": {
  243. "paused": "",
  244. "playing": ""
  245. },
  246. "tooltip-format": "MPD (connected)",
  247. "tooltip-format-disconnected": "MPD (disconnected)"
  248. }
  249.  
  250. // Custom
  251. // "custom/updates": {
  252. // "format": "{} {icon}",
  253. // "return-type": "json",
  254. // "format-icons": {
  255. // "has-updates": " ", //"
  256. // "updated": ""
  257. // },
  258. // "exec-if": "which waybar-module-pacman-updates",
  259. // "exec": "waybar-module-pacman-updates --interval-seconds 5 --network-interval-seconds 300"
  260. // }
  261. }
  262. ]
  263.  
Add Comment
Please, Sign In to add comment