The bar can be themed either by specifying a pre-complied theme or overriding defaults in the configuration.
We differentiate between themes and icon sets.
To use a theme or icon set other than the default, add them to your configuration file like so:
theme = "solarized-dark"
icons = "awesome"
You can also use your own custom theme:
[theme]
file = "<file>"
where <file>
can be either a filename or a full path and will be checked in this order:
- If full path given, then use it as is:
/home/foo/custom_theme.toml
- If filename given, e.g. "custom_theme.toml", then first check
XDG_CONFIG_HOME/i3status-rust/themes
- Otherwise look for it in
/usr/share/i3status-rust/themes
Example theme file can be found in example/theme/solarized-dark.toml
.
plain
(default)solarized-dark
solarized-light
slick
modern
bad-wolf
gruvbox-light
gruvbox-dark
space-villain
none
(default)awesome
(Font Awesome 4.x)awesome5
(Font Awesome 5.x)material
Note: In order to use the material icon set, you need a patched material icons font which can be found here. Make sure to pass it in your i3 configuration bar block.
Create a block in the configuration called theme
or icons
like so:
[theme]
name = "solarized-dark"
[theme.overrides]
idle_bg = "#123456"
idle_fg = "#abcdef"
[icons]
name = "awesome"
[icons.overrides]
bat = " | | "
bat_full = " |X| "
bat_charging = " |^| "
bat_discharging = " |v| "
Example configurations can be found as example_theme.toml
and example_icon.toml
.
alternating_tint_bg
alternating_tint_fg
critical_bg
critical_fg
good_bg
good_fg
idle_bg
idle_fg
info_bg
info_fg
separator_bg
separator_fg
separator
warning_bg
warning_fg
backlight_empty
backlight_full
backlight_partial1
backlight_partial2
backlight_partial3
bat_charging
bat_discharging
bat_full
bat
cogs
cpu
gpu
mail
memory_mem
memory_swap
music_next
music_pause
music_play
music_prev
music
net_down
net_up
net_wired
net_wireless
ping
thermometer
time
toggle_off
toggle_on
update
uptime
volume_empty
volume_full
volume_half
volume_muted
weather_clouds
weather_default
weather_rain
weather_snow
weather_sun
weather_thunder
xrandr