updated example conf with new formatting options

This commit is contained in:
2026-03-17 11:21:00 +01:00
parent 98e45150b3
commit d2ebe0b800

View File

@@ -1,79 +0,0 @@
# fluxo-rs example configuration
# place this at ~/.config/fluxo/config.toml
# Note: All tokens support standard alignment, padding, and precision specifiers dynamically.
# For example, you can change {rx:>5.2} to {rx:<8.1} or {used} to {used:^4.0} directly here.
[general]
# command used for interactive menus (e.g., bluetooth device selection)
# tokens: {prompt}
menu_command = "fuzzel --dmenu --prompt '{prompt}'"
# network module (net)
# tokens: {interface}, {ip}, {rx}, {tx}, {rx:>5.2}, {tx:>5.2}
[network]
format = "{interface} ({ip}):  {rx:>5.2} MB/s  {tx:>5.2} MB/s"
# cpu module (cpu)
# tokens: {usage}, {temp}, {usage:>4.1}, {temp:>4.1}
[cpu]
format = "CPU: {usage:>4.1}% {temp:>4.1}C"
# memory module (mem)
# tokens: {used}, {total}, {used:>5.2}, {total:>5.2}
[memory]
format = "{used:>5.2}/{total:>5.2}GB"
# gpu module (gpu)
# tokens: {usage}, {vram_used}, {vram_total}, {temp}, {usage:>3.0}, {vram_used:>4.1}, {vram_total:>4.1}, {temp:>4.1}
[gpu]
format_amd = "AMD: {usage:>3.0}% {vram_used:>4.1}/{vram_total:>4.1}GB {temp:>4.1}C"
format_intel = "iGPU: {usage:>3.0}%"
format_nvidia = "NV: {usage:>3.0}% {vram_used:>4.1}/{vram_total:>4.1}GB {temp:>4.1}C"
# system module (sys)
# tokens: {uptime}, {load1}, {load5}, {load15}, {load1:>4.2}, {load5:>4.2}, {load15:>4.2}
[sys]
format = "UP: {uptime} | LOAD: {load1:>4.2} {load5:>4.2} {load15:>4.2}"
# disk module (disk <path>)
# tokens: {mount}, {used}, {total}, {used:>5.1}, {total:>5.1}
[disk]
format = "{mount} {used:>5.1}/{total:>5.1}G"
# pool module (pool / btrfs)
# tokens: {used}, {total}, {used:>4.0}, {total:>4.0}
[pool]
format = "{used:>4.0}G / {total:>4.0}G"
# power/battery module (power)
# tokens: {percentage}, {icon}, {percentage:>3}
[power]
format = "{percentage:>3}% {icon}"
# audio module (vol / mic)
# tokens: {name}, {volume}, {icon}, {volume:>3}
[audio]
format_sink_unmuted = "{name} {volume:>3}% {icon}"
format_sink_muted = "{name} {icon}"
format_source_unmuted = "{name} {volume:>3}% {icon}"
format_source_muted = "{name} {icon}"
# bluetooth module (bt)
# tokens: {alias}
[bt]
format_connected = "{alias} 󰂰"
format_disconnected = "󰂯"
format_disabled = "󰂲 Off"
# pixel buds module (buds)
# tokens: {left}, {right}, {anc}
[buds]
mac = "B4:23:A2:09:D3:53"
format = "{left} | {right} | {anc}"
format_disconnected = "<span size='large'></span>"
# gamemode module (game)
[game]
format_active = "<span size='large'>󰊖</span>"
format_inactive = "<span size='large'></span>"