dotfiles/config/waybar/modules/info.jsonc (view raw)
| 1 | { |
| 2 | "tray": { |
| 3 | "icon-size": 16, |
| 4 | "spacing": 10 |
| 5 | }, |
| 6 | |
| 7 | "clock": { |
| 8 | "format": " {:%a, %d %b %H:%M}", // replace %I with %H for 24h format |
| 9 | "tooltip": false |
| 10 | }, |
| 11 | |
| 12 | "temperature": { |
| 13 | "hwmon-path": "/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.0/hwmon/hwmon3/temp1_input", |
| 14 | "format": " {temperatureC}°C", |
| 15 | "tooltip": false |
| 16 | }, |
| 17 | |
| 18 | "battery": { |
| 19 | "format": "{icon} {capacity}%", |
| 20 | "format-charging": "{icon} {capacity}%", |
| 21 | "format-plugged": "{capacity}% ", |
| 22 | "format-icons": ["", "", "", "", ""], |
| 23 | "tooltip": true, |
| 24 | "tooltip-format": "Left {time} \nHealth: {health}", |
| 25 | "states": { |
| 26 | "good": 95, |
| 27 | "warning": 30, |
| 28 | "critical": 15 |
| 29 | } |
| 30 | }, |
| 31 | |
| 32 | "power-profiles-daemon": { |
| 33 | "format": "{icon}", |
| 34 | "tooltip-format": "{profile}", |
| 35 | "tooltip": true, |
| 36 | "format-icons": { |
| 37 | "default": "", |
| 38 | "performance": "", |
| 39 | "balanced": "", |
| 40 | "power-saver": "" |
| 41 | } |
| 42 | }, |
| 43 | |
| 44 | "memory": { |
| 45 | "format": " {used}", |
| 46 | "interval": 5 |
| 47 | }, |
| 48 | |
| 49 | "cpu": { |
| 50 | "format": " {usage}%", |
| 51 | "format-alt": " {avg_frequency} GHz", |
| 52 | "interval": 5 |
| 53 | }, |
| 54 | |
| 55 | "network": { |
| 56 | "format-wifi": " {essid}", |
| 57 | "format-linked": " {ifname} (No IP)", |
| 58 | "format-disconnected": "", |
| 59 | "format-alt": " {ifname}: {ipaddr}/{cidr}", |
| 60 | "tooltip-format": "{essid}", |
| 61 | "tooltip": false |
| 62 | }, |
| 63 | |
| 64 | "backlight": { |
| 65 | "format": "{icon} {percent}%", |
| 66 | "format-icons": ["", "", "", "", "", "", "", "", ""], |
| 67 | "on-scroll-up": "brightnessctl set +10%", |
| 68 | "on-scroll-down": "brightnessctl set 10%-", |
| 69 | "tooltip": false |
| 70 | }, |
| 71 | |
| 72 | "pulseaudio": { |
| 73 | "format": "{icon} {volume}%", |
| 74 | "format-muted": "", |
| 75 | "format-icons": { |
| 76 | "default": ["", "", ""], |
| 77 | "headphone": "" |
| 78 | }, |
| 79 | "on-click": "pavucontrol", |
| 80 | "tooltip": false, |
| 81 | "on-scroll-up": "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+", |
| 82 | "on-scroll-down": "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-" |
| 83 | }, |
| 84 | |
| 85 | "idle_inhibitor": { |
| 86 | "format": "{icon} ", |
| 87 | "format-icons": { |
| 88 | "activated": "", |
| 89 | "deactivated": "" |
| 90 | } |
| 91 | } |
| 92 | } |
| 93 | // vim: ft=jsonc |