{ "layer": "top", // Using margin-bottom with a negative value in order to reduce the space between Hyprland window and waybar "margin-bottom": -10, "modules-left": ["custom/launcher", "clock", "hyprland/workspaces"], "modules-right": ["custom/clipboard", "pulseaudio", "bluetooth", "cpu", "memory", "tray", "custom/power"], "pulseaudio": { "tooltip": false, "scroll-step": 5, "format": "{icon} {volume}%", "format-muted": "{icon} {volume}%", "on-click":"pactl set-sink-mute @DEFAULT_SINK@ toggle", "format-icons": { "default": ["", "", ""] } }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface "format-wifi": "", "format-ethernet": "", "tooltip-format": "{essid} ({signalStrength}%)", "format-linked": "{ifname} (No IP) ", "format-disconnected": "⚠", "format-alt": "{ifname}: {ipaddr}/{cidr}" }, "tray":{ "icon-size":18, "spacing": 10 }, "clock": { "format": " {:%H:%M:%S}", // 24h full scientific "format-alt": " {:%Y-%m-%d}" }, "cpu": { "interval": 15, "format": " {}%", "max-length": 10 }, "memory": { "interval": 5, "format": " {}%", "max-length": 10 }, "custom/spotify": { "interval": 1, "return-type": "json", "exec": "sh ~/.config/waybar/scripts/spotify.sh", "exec-if": "pgrep spotify", "escape": true }, "custom/launcher":{ "format": " Run", "on-click": "~/scripts/menu", "on-click-right": "killall wofi" }, "custom/power":{ "format": " Exit", "on-click": "sh ~/.config/wofi/scripts/power.sh", }, "bluetooth": { "format": " {status}", "format-disabled": "", // an empty format will hide the module "format-connected": " Devices: #{num_connections}", "tooltip-format": "{device_alias}", "tooltip-format-connected": " {device_enumerate}", "tooltip-format-enumerate-connected": "{device_alias}", "on-click": "sh ~/.config/wofi/scripts/bluetooth.sh" }, "temperature": { "format": " {temperatureC}°C", "format-critical": " {temperatureC}°C", "interval": 1, "critical-threshold": 80 }, "custom/clipboard":{ "max-length": 10, "format":"  ", "on-click": "cliphist list | wofi --style ~/.config/wofi/style/style.css --show dmenu | cliphist decode | wl-copy", "interval": 86400 }, "hyprland/workspaces": { "persistent-workspaces": { "*":[1,2,3,4,5,6], }, "all-output": true, "on-scroll-up": "hyprctl dispatch workspace r+1", "on-scroll-down": "hyprctl dispatch workspace r-1", "on-click-forward": "hyprctl dispatch workspace r+1", "on-click-backward": "hyprctl dispatch workspace r-1", "format": "{icon} {windows}", "format-icons": { "1": "", "2": "󰖟", "3": "", "4": "󰯄", "5": "󰙯", "6": "", "urgent": "", "active": "", "default": "" }, "window-rewrite-default": "{title}", "window-rewrite": { "class": "Web", "class": "Thunderbird", // having set title in init.lua // eg: vim.opt.title = true "class title<.*nvim.*>": "Code", "class": "Ghostty", "class": "Video player", "class": "Discord", "class": "Session", "class": "KeePassXC", "title<.*MONERO.*>":"Monero", "title<.*bluetooth.*>":"Bluetooth", "title<.*searx.*>":"SearX", "title<.*telegram.*>": "Telegram", "title<.*discord.*>": "Cord", "title<.*outlook.*>": "Outlook", "title<.*youtube.*>": "Youtube", "title<.*Gitea.*": "Gitea", "title<.*Codeberg.*": "Codeberg", "title<.*github.*>": "Github", "title<.*gitlab.*>": "Gitlab", "title<.*twitch.*>": "Twitch", "title<.*reddit.*>": "Reddit", "title<.*matrix.*>": "Matrix", "title<.*signal.*>": "Signal", "title<.*torrent.*>": "Torrent", "title<.*yuzucchii.*>": "yuzucchii.xyz", }, } }