// -*- mode: jsonc -*- { "height": 30, "spacing": 4, "modules-left": [ "hyprland/workspaces", "hyprland/window" ], "modules-center": [ "clock" ], "modules-right": [ "custom/screenshot", "idle_inhibitor", "pulseaudio", "network", "custom/mount-data", "custom/mount-usb1", "cpu", "tray" ], "hyprland/workspaces": { "format": "{id}" }, "custom/screenshot": { "exec": "printf '{\"text\": \"󰄀\", \"tooltip\": \"Area screenshot: edit in Swappy, copy to clipboard, save to NAS pictures if mounted\"}'", "return-type": "json", "interval": "once", "on-click": "$HOME/.config/waybar/scripts/capture-share-shot.sh" }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" } }, "tray": { "spacing": 10 }, "clock": { "format": " {:%H:%M}", "tooltip-format": "{:%Y %B}\n{calendar}", "format-alt": " {:%Y-%m-%d}" }, "cpu": { "format": " {usage}%", "tooltip": false, "on-click": "alacritty -e btop" }, "custom/mount-data": { "exec": "$HOME/.config/waybar/scripts/check-mount.sh /mnt/data data", "return-type": "json", "interval": 10, "tooltip": true, "on-click": "thunar /mnt/data" }, "custom/mount-usb1": { "exec": "$HOME/.config/waybar/scripts/check-mount.sh /mnt/usb1 usb1", "return-type": "json", "interval": 10, "tooltip": true, "on-click": "thunar /mnt/usb1" }, "network": { "format-wifi": " {essid} ({signalStrength}%)", "format-ethernet": "󰈀 {ipaddr}/{cidr}", "tooltip-format": "󰈀 {ifname} via {gwaddr}", "format-linked": "󰈀 {ifname} (No IP)", "format-disconnected": "󰖪 Disconnected", "format-alt": "󰈀 {ifname}: {ipaddr}/{cidr}", "on-click-right": "nm-connection-editor" }, "pulseaudio": { "format": "{icon} {volume}% {format_source}", "format-bluetooth": "{icon} {volume}%  {format_source}", "format-bluetooth-muted": " {icon}  {format_source}", "format-muted": " {format_source}", "format-source": " {volume}%", "format-source-muted": "", "format-icons": { "headphone": "", "hands-free": "", "headset": "", "phone": "", "portable": "", "car": "", "default": ["", "", ""] }, "on-click": "pavucontrol" } }