// -*- mode: jsonc -*- { "layer": "top", "height": 34, "spacing": 5, "modules-left": ["river/tags"], "modules-center": ["river/window"], "modules-right": ["group/info-widgets", "group/tray"], "river/tags": { "num-tags": 9 }, "river/window": { "tooltip": true, "default-format": "river" }, "group/info-widgets": { "orientation": "inherit", "modules": [ "custom/swayidle", "river/mode", "custom/mail", "custom/ime", "custom/battery", "pulseaudio", "clock#date", "custom/time", "custom/network", "bluetooth" ] }, "custom/swayidle": { "exec": "pgrep swayidle >/dev/null 2>&1 || printf '󱙱 '", "interval": 10, "signal": 3, "tooltip": false, "hide-empty-text": true }, "river/mode": { "format": "󰩷 {}", "hidden-modes": ["normal"] }, "custom/mail": { "format": " {}", "exec": "~/scripts/status-bar/sb-mu4e-messages -g", "interval": 15, "signal": 2, "tooltip": false, "hide-empty-text": true }, "custom/ime": { "exec": "~/.config/river/waybar/fcitx5-state.el", "interval": 15, "signal": 1, "tooltip": false, "on-click": "~/scripts/status-bar/sb-fcitx5-toggle" }, "custom/battery": { "exec": "~/scripts/status-bar/sb-battery-monitor", "return-type": "json", "tooltip": true }, "pulseaudio": { "states": { "zero": 0, "low": 49, "high": 100 }, "format-zero": "󰕿{volume:3}%", "format-low": "󰖀{volume:3}%", "format-high": "󰕾{volume:3}%", "format-muted": "󰸈{volume:3}%", "format-bluetooth-zero": "󰕿{volume:3}%", "format-bluetooth-low": "󰖀{volume:3}%", "format-bluetooth-high": "󰕾{volume:3}%", "format-bluetooth-muted": "󰸈{volume:3}%", "scroll-step": 5.0, "on-click": "pamixer -t" }, "clock#date": { "on-click": "systemd-run --user --ignore-failure -- kitty -1 ikhal", "format": " {:%a %b %d}", "tooltip-format": "{calendar}", "calendar": { "mode": "month", "mode-mon-col": 3, "weeks-pos": "right", "on-scroll": 1, "format": { "months": "{}", "days": "{}", "weeks": "W{}", "weekdays": "{}", "today": "{}" } }, "actions": { "on-click-right": "mode", "on-scroll-up": "shift_up", "on-scroll-down": "shift_down" } }, "custom/time": { "exec": "~/.config/river/waybar/waybar-clock.py CA America/Los_Angeles JP Asia/Tokyo", "return-type": "json" }, "custom/network": { "exec": "~/.config/river/waybar/waybar-network.el", "tooltip": false, "on-click": "systemd-run --user --ignore-failure -- kitty -1 nmtui" }, "bluetooth": { "on-click": "systemd-run --user --ignore-failure -- blueman-manager", "format": " ", "format-off": "" }, "group/tray": { "orientation": "inherit", "modules": ["custom/empty", "tray"], "drawer": { "toggle-signal": 4, "transition-duration": 0 } }, "custom/empty": { "exec": "true", "format": "" }, "tray": { "icon-size": 24, "spacing": 5 } }