我目前正在学习如何定制我的 Ubuntu (20.04) 笔记本电脑,我目前使用 i3、i3status 和 Polybar。但是我在状态栏中看到状态图标,但我没有这样配置它们。 (有时在 i3status 中,但大多数在 Polybar 中)。
最右边的网络图标是我得到的,而我的配置文件中没有与该(或其他)图标相关的内容。
I3状态配置
general {
output_format = "dzen2"
colors = true
interval = 5
}
order += "tztime local"
tztime local {
format = "%Y-%m-%d %H:%M:%S"
timezone = "Europe/Amsterdam"
}
多边形杆配置
[bar/mybar]
modules-center = date
modules-right = battery
background = ${colors.base}
font-0 = JetBrainsMono Nerd Font:style=Regular:size=12
[global/wm]
include-file = ~/.config/polybar/macchiato.ini
[module/date]
type = internal/date
interval = 5.0
date = " %Y-%m-%d %H:%M "
[module/battery]
label-full = " %percentage%% "
label-charging = " %percentage%% "
type = internal/battery
full-at = 99
low-at = 10
format-full-background = ${colors.pink}
format-full-foreground = ${colors.base}
format-charging-background = ${colors.pink}
format-charging-foreground = ${colors.base}
[settings]
screenchange-reload = true
Macchiato.ini 仅填充颜色。
;-------------------------
; Catppuccin Macchiato Palette
; Maintainer: justTOBBI
;--------------------------
[colors]
base = #24273a
mantle = #1e2030
crust = #181926
text = #cad3f5
subtext0 = #a5adcb
subtext1 = #b8c0e0
surface0 = #363a4f
surface1 = #494d64
surface2 = #5b6078
overlay0 = #6e738d
overlay1 = #8087a2
overlay2 = #939ab7
blue = #8aadf4
lavender = #b7bdf8
sapphire = #7dc4e4
sky = #91d7e3
teal = #8bd5ca
green = #a6da95
yellow = #eed49f
peach = #f5a97f
maroon = #ee99a0
red = #ed8796
mauve = #c6a0f6
pink = #f5bde6
flamingo = #f0c6c6
rosewater = #f4dbd6
transparent = #FF00000