Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "layer": "top",
- "position": "top",
- "spacing": 2,
- "passthrough": false,
- "gtk-layer-shell": true,
- "reload_style_on_change": true,
- "modules-left": [
- "group/power",
- "hyprland/workspaces",
- "wlr/taskbar",
- "network"
- ],
- "modules-center": ["hyprland/window"],
- "modules-right": [
- "mpris",
- "mpd",
- "wireplumber",
- "tray",
- "clock"
- ],
- // Group Configuration
- "group/power": {
- "orientation": "inherit",
- "drawer": {
- "transition-duration": 500,
- "children-class": "drawer-child",
- "transition-left-to-right": true
- },
- "modules": [
- "custom/arch", // First element is the "group leader" and won't ever be hidden
- "custom/power",
- "custom/quit",
- "custom/reboot"
- ]
- },
- "custom/arch": {
- "format": "",
- "tooltip": false
- },
- "custom/quit": {
- "format": "",
- "tooltip": true,
- "tooltip-format": "Quit",
- "on-click": "hyprctl dispatch exit"
- },
- "custom/reboot": {
- "format": "",
- "tooltip": true,
- "tooltip-format": "Reboot",
- "on-click": "systemctl reboot"
- },
- "custom/power": {
- "format": "",
- "tooltip": true,
- "tooltip-format": "Shutdown",
- "on-click": "shutdown now"
- },
- // Modules configuration
- "hyprland/workspaces": {
- "on-click": "activate",
- "format": "{id} {windows}",
- "format-window-separator": " ",
- "window-rewrite-default": "",
- "window-rewrite": {
- "title<.*youtube.*>": "",
- "title<.*whatsapp.*>": "",
- "title<.*messenger.*>": "",
- "title<.*facebook.*>": "",
- "title<.*figma.*>": "",
- "title<.*discord.*>": "",
- "title<.*jira.*>": "",
- "class<firefox>": "",
- "class<zen>": "",
- "title<.*github.*>": "",
- "class<thunar>": "",
- "class<com.mitchellh.ghostty>": "",
- "class<code>": " ",
- "title<.*nvim ~.*>": "",
- "title<.*vim.*>": "",
- "title<.*nvim.*>": "",
- "title<.*cmus.*>": " ",
- "class<spotify>": "",
- "class<chrome>": "",
- "class<slack>": "",
- "class<vlc>": "",
- "class<gimp>": "",
- "class<thunderbird>": "",
- "title<.*gmail.*>": "",
- "class<telegram-desktop>": "",
- "class<remmina>": "🖥️",
- "class<virt-manager>": "",
- "class<obs>": "📹",
- "class<jetbrains-idea>": "",
- "class<microsoft-edge>": "",
- "class<android-studio>": "",
- "class<steam>": "",
- "class<tor browser>": "",
- "class<codium>": ""
- },
- // "persistent-workspaces": {
- // "*": [10] // 1 workspaces by default on every monitor
- // // "HDMI-A-1": 3 // but only three on HDMI-A-1
- // },
- "on-scroll-up": "hyprctl dispatch workspace m-1 > /dev/null",
- "on-scroll-down": "hyprctl dispatch workspace m+1 > /dev/null",
- "format-icons": {
- // "1": "1",
- // "2": "2",
- // "3": "3",
- // "4": "4",
- // "5": "5",
- // "6": "6",
- // "7": "7",
- // "8": "8",
- // "9": "9",
- // "10": "10",
- "special": "🎁",
- // "urgent": "",
- "persistent": ""
- // "default": " ",
- }
- },
- "wlr/taskbar": {
- // "format": "{icon}",
- "format": "{icon} {name}",
- "icon-size": 20,
- "on-click": "activate",
- "on-click-middle": "close"
- },
- // "bluetooth": {
- // "format": " {status}",
- // "format-connected": " {device_alias}",
- // "format-connected-battery": " {device_alias} {device_battery_percentage}%",
- // // "format-device-preference": [ "device1", "device2" ], // preference list deciding the displayed device
- // "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
- // "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
- // "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
- // "tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
- // "on-click": "blueman-manager"
- // },
- "hyprland/window": {
- "format": "{}",
- "max-length": 50,
- "separate-outputs": true
- },
- "network": {
- //"interface": "wlp2s0",
- "family": "ipv4",
- "format": "{ifname} [ {bandwidthTotalBytes}]",
- "format-wifi": "{icon} {essid} [ {bandwidthTotalBytes}]",
- "format-ethernet": " {bandwidthUpBytes} {bandwidthDownBytes}",
- "format-disconnected": " Disconnected ⚠",
- "format-alt": " {ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}",
- "tooltip-format": "{ifname} via {gwaddr} ",
- "tooltip-format-wifi": "{frequency} MHz ({signalStrength}%)",
- "max-length": 50,
- "format-icons": [" ", " ", " ", " ", " "]
- },
- "tray": {
- "icon-size": 18,
- "spacing": 10
- },
- "clock": {
- "interval": 60,
- "format": " {0:%d.%m.%y} {0:%H:%M}",
- //"format": "<span color='#bf616a'> </span>{:%I:%M %p}",
- //"format-alt": "<span color='#bf616a'> </span>{:%A, %B %d, %Y (%I:%M %p)}",
- //"format": "{: %R %d/%m}",
- "tooltip-format": "<tt><small>{calendar}</small></tt>",
- "calendar": {
- "mode": "year",
- "mode-mon-col": 3,
- "weeks-pos": "right",
- "on-scroll": 1,
- "on-click-right": "mode",
- "format": {
- "months": "<span color='#ffead3'><b>{}</b></span>",
- "days": "<span color='#ecc6d9'><b>{}</b></span>",
- "weeks": "<span color='#99ffdd'><b>W{}</b></span>",
- "weekdays": "<span color='#ffcc66'><b>{}</b></span>",
- "today": "<span color='#ff6699'><b><u>{}</u></b></span>"
- }
- },
- "actions": {
- "on-click-right": "mode",
- "on-click-forward": "tz_up",
- "on-click-backward": "tz_down",
- "on-scroll-up": "shift_up",
- "on-scroll-down": "shift_down"
- }
- },
- "wireplumber": {
- "format": "{icon} {volume}%",
- "format-muted": " Muted",
- "format-icons": [" ", " ", " "],
- "scroll-step": 1,
- "max-volume": 100,
- "on-click": "pavucontrol"
- },
- "mpris": {
- "format": "{player_icon} {dynamic}",
- "format-paused": "{status_icon} <i>{dynamic}</i>",
- "max-length": 70,
- "interval": 1,
- "player-icons": {
- "default": " ",
- "cmus": "",
- "mpv": "🎵",
- "vlc": "🎬",
- "spotify": ""
- },
- "status-icons": {
- "paused": "⏸"
- },
- "on-click": "playerctl play-pause",
- "on-click-right": "playerctl stop",
- "smooth-scrolling-threshold": 10,
- "on-scroll-down": "playerctl previous"
- // "ignored-players": ["cmus", "spotify"]
- },
- "mpd": {
- "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ",
- "format-disconnected": "Disconnected ",
- "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
- "interval": 1,
- "consume-icons": {
- "on": " " // Icon shows only when "consume" is on
- },
- "random-icons": {
- "off": "<span color=\"#f53c3c\"></span> ", // Icon grayed out when "random" is off
- "on": " "
- },
- "repeat-icons": {
- "on": " "
- },
- "single-icons": {
- "on": "1 "
- },
- "state-icons": {
- "paused": "",
- "playing": ""
- },
- "tooltip-format": "MPD (connected)",
- "tooltip-format-disconnected": "MPD (disconnected)"
- }
- // Custom
- // "custom/updates": {
- // "format": "{} {icon}",
- // "return-type": "json",
- // "format-icons": {
- // "has-updates": " ", //"
- // "updated": ""
- // },
- // "exec-if": "which waybar-module-pacman-updates",
- // "exec": "waybar-module-pacman-updates --interval-seconds 5 --network-interval-seconds 300"
- // }
- }
- ]
Add Comment
Please, Sign In to add comment