| 1 | { |
| 2 | "layer": "top", |
| 3 | "position": "top", |
| 4 | "height": 30, |
| 5 | "spacing": 4, |
| 6 | |
| 7 | "modules-left": [ |
| 8 | "hyprland/workspaces" |
| 9 | ], |
| 10 | "modules-center": [ |
| 11 | "custom/weather", |
| 12 | "hyprland/window" |
| 13 | ], |
| 14 | "modules-right": [ |
| 15 | "custom/tailscale", |
| 16 | "custom/almanta", |
| 17 | "pulseaudio", |
| 18 | "network", |
| 19 | "cpu", |
| 20 | "memory", |
| 21 | "clock", |
| 22 | "custom/jetbrains", |
| 23 | "tray" |
| 24 | ], |
| 25 | |
| 26 | "hyprland/workspaces": { |
| 27 | "format": "{id}", |
| 28 | "on-click": "activate" |
| 29 | }, |
| 30 | |
| 31 | "hyprland/window": { |
| 32 | "max-length": 50 |
| 33 | }, |
| 34 | |
| 35 | "clock": { |
| 36 | "format": "{:%H:%M}", |
| 37 | "format-alt": "{:%Y-%m-%d %H:%M}", |
| 38 | "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>" |
| 39 | }, |
| 40 | |
| 41 | "cpu": { |
| 42 | "format": "{usage}% CPU", |
| 43 | "tooltip": false |
| 44 | }, |
| 45 | |
| 46 | "memory": { |
| 47 | "format": "{}% MEM" |
| 48 | }, |
| 49 | |
| 50 | "network": { |
| 51 | "format-wifi": "{essid} ({signalStrength}%)", |
| 52 | "format-ethernet": "{ipaddr}", |
| 53 | "format-disconnected": "Disconnected", |
| 54 | "tooltip-format": "{ifname}: {ipaddr}" |
| 55 | }, |
| 56 | |
| 57 | "pulseaudio": { |
| 58 | "format": "{volume}% VOL", |
| 59 | "format-muted": "MUTED", |
| 60 | "on-click": "spotify", |
| 61 | "on-click-right": "pavucontrol" |
| 62 | }, |
| 63 | |
| 64 | "tray": { |
| 65 | "spacing": 10 |
| 66 | }, |
| 67 | |
| 68 | "custom/almanta": { |
| 69 | "format": "{}", |
| 70 | "return-type": "json", |
| 71 | "interval": 20, |
| 72 | "exec": "~/.config/waybar/modules/almanta.sh", |
| 73 | "on-click": "alacritty -e ssh espadon@almanta", |
| 74 | "tooltip": true |
| 75 | }, |
| 76 | |
| 77 | "custom/jetbrains": { |
| 78 | "format": "JB", |
| 79 | "tooltip": "Open JetBrains Toolbox", |
| 80 | "on-click": "jetbrains-toolbox" |
| 81 | }, |
| 82 | |
| 83 | "custom/weather": { |
| 84 | "format": "{}", |
| 85 | "return-type": "json", |
| 86 | "interval": 1800, |
| 87 | "exec": "~/.config/waybar/modules/weather.sh", |
| 88 | "tooltip": true |
| 89 | }, |
| 90 | |
| 91 | "custom/tailscale": { |
| 92 | "format": "{}", |
| 93 | "return-type": "json", |
| 94 | "interval": 30, |
| 95 | "exec": "~/.config/waybar/modules/tailscale.sh", |
| 96 | "on-click": "alacritty -e bash -c 'tailscale status; read -p \"Press Enter to close...\"'", |
| 97 | "tooltip": true |
| 98 | } |
| 99 | } |