{ "layer": "top", "margin-left": 3, "margin-right": 3, "margin-top": 2, "margin-bottom": 0, "modules-left": ["hyprland/workspaces", "cpu", "memory", "network#speed"], "modules-center": ["clock"], "modules-right": [ // "custom/cava", "hyprland/window", "temperature#gpu", // "custom/update" , "custom/transparency", "custom/wallpaper", "pulseaudio", "backlight", "network", // "bluetooth", "battery" ], "hyprland/window": { "format": "{initialClass}", "icon": true, "icon-size": 19, "seperate-outputs": true, "rewrite": { "": " Arch", "Mozilla Firefox": "Firefox", "(.*) Thunar": "Thunar", "(.*)obs(.*)": "OBS", "Spotify (.*)": "Spotify", "discord(.*)": " Discord", "Code": "VS Code", "Docker Desktop": " Docker", "kitty": "Kitty", "zen-alpha": "Zen" }, "on-click-middle": "pkill waybar && hyprctl dispatch exec waybar" }, "custom/cava": { "format": "{}", "exec": "~/.config/waybar/scripts/cava.sh", "on-click": "kitty cava" }, "custom/update": { "format": "{}", "exec": "~/.config/waybar/scripts/check-updates.sh" // "on-click": "kitty cava" }, "temperature#gpu": { "thermal-zone": 5, "critical-threshold": 80, "format-critical": "{temperatureC}°C ", "format": "{temperatureC}°C ", "tooltip": false }, "backlight": { "device": "intel_backlight", "scroll-step": 5, "format": "{icon}", "format-icons": ["󰃞 ", "󰃟 ", "󰃝 ", "󰃠 "], "tooltip": true, "tooltip-format": "{percent}%" }, "network#speed": { "interval": 1, "format": "{ifname}%%", "format-wifi": " {bandwidthDownBytes}  {bandwidthUpBytes}", "format-ethernet": " {bandwidthDownBytes}  {bandwidthUpBytes} ", "format-disconnected": "󰌙", "tooltip-format": "{ipaddr}", "format-linked": "󰈁 {ifname} (No IP)", "tooltip-format-wifi": "{essid} {icon} {signalStrength}%", "tooltip-format-ethernet": "{ifname} 󰌘", "tooltip-format-disconnected": "󰌙 Disconnected", "max-length": 22, "min-length": 20, "format-icons": ["󰤯", "󰤟", "󰤢", "󰤥", "󰤨"] }, "custom/launcher": { "format": "", "tooltip": false, "on-click": "~/.config/rofi/launcher/launcher.sh" }, "custom/transparency": { "format": " ", "tooltip": false, "on-click": "~/.config/waybar/scripts/toggle-trans.sh", "format-alt": " " }, "cpu": { "interval": 1, "format": "{usage}% \uf2db", "on-click": "kitty btop" }, "memory": { "interval": 1, "format": "{percentage}% \uf538", "on-click": "kitty btop", "tooltip-format": "{used}/{total} GiB" }, // "hyprland/workspaces": { // "all-outputs": true, // "warp-on-scroll": true, // "enable-bar-scroll": true, // "disable-scroll-wraparound": false, // "format": " {icon} ", // "format-icons": { // "active": "●", // "default": "○" // }, // "persistent-workspaces": { // "*": 3 // }, // "on-click": "activate", // "on-scroll-up": "hyprctl dispatch workspace e-1", // "on-scroll-down": "hyprctl dispatch workspace e+1" // }, "hyprland/workspaces": { "all-outputs": true, "active-only": false, "on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-down": "hyprctl dispatch workspace e-1", "format": "{icon}", "format-icons": { "active": "󰮯", "default": "󰊠", "special": "S" }, "persistent-workspaces": { "*": 4 }, "on-click": "activate", "on-scroll-up": "hyprctl dispatch workspace e-1", "on-scroll-down": "hyprctl dispatch workspace e+1" }, "custom/weather": { "format": "{}°C", "tooltip": false, "interval": 3600, "exec": "wttrbar --location 'Ahmedabad'", "return-type": "json" }, "clock": { "format": "{:%I:%M %p ☲ %a %d/%m}", "tooltip": true, "tooltip-format": "{calendar}" }, "custom/wallpaper": { "format": "\uf03e", "on-click": "~/.config/waybar/scripts/change-wallpaper.sh && hyprpaper", "tooltip": false, "on-click-right": "kitty -e ~/.config/waybar/scripts/select-wallpaper.sh" }, "network": { "format-wifi": " {icon}", "format-ethernet": "󰈀", "format-icons": ["󰤯 ", "󰤟 ", "󰤢 ", "󰤢 ", "󰤨 "], "format-disconnected": "󰪎", "interval": 5, "tooltip-format-wifi": " {bandwidthDownBytes} |  {bandwidthUpBytes} | {essid}", "tooltip-format-disconnected": "Disconnected", "on-click": "exec ~/.config/rofi/wifi/wifi.sh", "on-click-right": "kitty -e nmtui" }, "battery": { "states": { "good": 95, "warning": 30, "critical": 15 }, "format": " {capacity}% {icon} ", "format-full": "{icon}", "format-plugged": " {capacity}% \uf0e7 ", "format-alt": "{icon}", "tooltip-format": "{capacity}%, about {time} left", "format-icons": [" ", " ", " ", " "] }, "pulseaudio": { "format": "{icon}", "format-muted": "\uf6a9", "format-icons": { "headphone": "\uf025", // "default": ["\uf028"] // "default": [ // "▁", // 0–16% // "▂▁", // 17–33% // "▃▂▁", // 34–50% // "▄▃▂▁", // 51–66% // "▅▄▃▂▁", // 67–83% // "▆▅▄▃▂▁" // 84–100% // ] "default": [ "░░░░░░░░░░", "▓░░░░░░░░░", "▓▓░░░░░░░░", "▓▓▓░░░░░░░", "▓▓▓▓░░░░░░", "▓▓▓▓▓░░░░░", "▓▓▓▓▓▓░░░░", "▓▓▓▓▓▓▓░░░", "▓▓▓▓▓▓▓▓░░", "▓▓▓▓▓▓▓▓▓░", "▓▓▓▓▓▓▓▓▓▓" ] }, "tooltip-format": "{volume}% {desc}", "on-click": "pamixer -t" }, "bluetooth": { "format": "{icon}", "format-icons": ["", "󰤾", "󰥀", "󰥄", "󰥈"], "tooltip-format-off": "Bluetooth is off", "tooltip-format-on": "Bluetooth is on", "format-connected": "{icon} {num_connections}", "format-connected-battery": "{icon} {device_battery_percentage}%", "tooltip-format-connected": "{device_enumerate}", "tooltip-format-enumerate-connected": "{device_alias}\t{device_battery_percentage}%", "on-click": "blueman-manager" } }