{ {{- if eq .chezmoi.hostname "hydrus"}} "output": "DP-1", "position": "bottom", {{- else }} "output": "eDP-1", "position": "top", {{- end }} "layer": "top", "height": 24, // "width": 1280, "spacing": 4, "modules-left": [ "river/mode", "river/tags" ], "modules-center": [ "river/window" ], {{- if eq .chezmoi.hostname "hydrus"}} "modules-right": [ "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "keyboard-state", "clock", "tray" ], {{- else }} "modules-right": [ "idle_inhibitor", "backlight", "pulseaudio", "network", "battery", "clock", "tray" ], {{- end }} "keyboard-state": { "numlock": false, "capslock": true, "format": "{name} {icon}", "format-icons": { "locked": "", "unlocked": "" } }, "river/mode": { "format": "mode: {}" }, "river/tags": { //"tag-labels": ["1", "2", "3", "4", "5"], //"num-tags": 5 }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" } }, "tray": { "icon-size": 18, "spacing": 10 }, "clock": { "format": "{:%H:%M}", // "timezone": "America/New_York", "tooltip-format": "{:%Y %B}\n{calendar}", "format-alt": "{:%Y-%m-%d}" }, "cpu": { "format": "{usage}% ", "tooltip": true }, "memory": { "format": "{}% " }, "temperature": { {{- if eq .chezmoi.hostname "helix" }} "thermal-zone": 0, "hwmon-path": "/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp1_input", "critical-threshold": 90, {{- else }} // "thermal-zone": 2, // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", // "critical-threshold": 80, {{- end }} // "format-critical": "{temperatureC}°C {icon}", "format": "{temperatureC}°C {icon}", "format-icons": ["", "", ""] }, "backlight": { // "device": "acpi_video1", "format": "{percent}% {icon}", "format-icons": ["", "", "", "", "", "", "", "", ""] }, "battery": { "states": { {{- if eq .chezmoi.hostname "helix"}} "good": 59, {{- end }} "warning": 30, "critical": 15 }, "format": "{capacity}% {icon}", "format-charging": "{capacity}% ", "format-plugged": "{capacity}% ", "format-alt": "{time} {icon}", // "format-good": "", // An empty format will hide the module // "format-full": "", "format-icons": ["", "", "", "", ""] }, "battery#bat2": { "bat": "BAT2" }, "network": { // "interface": "wlan0", {{- if eq .chezmoi.hostname "hydrus" }} "format-wifi": "{essid} ({signalStrength}%) ", {{- else }} "format-wifi": "{signalStrength}% ", {{- end }} "format-ethernet": "{ipaddr}/{cidr} ", "tooltip-format": "{ifname} via {gwaddr} ", "format-linked": "{ifname} (No IP) ", "format-disconnected": "Disconnected ⚠", "format-alt": "{ifname}: {ipaddr}/{cidr}" }, "pulseaudio": { "scroll-step": 1, "format": "{volume}% {icon} {format_source}", "format-bluetooth": "{volume}% {icon} {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": "pactl set-sink-mute @DEFAULT_SINK@ toggle" }, }