wm-logs/home/config/polybar/config.ini

149 lines
2.2 KiB
INI

[colors]
xfs=#e1e1e1
xbs=#8c91cf
xbg=#80d0d0d0
xbg2=#00000000
xfg=#ffffff
color0=#282828
color1=#383838
color2=#4b4b4b
color3=#5b5b5b
color4=#bdbdbd
color5=#cecece
color6=#e0e0e0
color7=#f5f5f5
red=#eb0029
orange=#E85D00
yellow=#faa41a
green=#87a566
aqua=#00a489
blue=#4169e1
purple=#7851a9
brown=#574F4A
primary = #F0C674
secondary = #8ABEB7
alert = #A54242
disabled = #707880
[variables]
mpadding = 1
margin = 3
[bar/main]
;override-redirect = true
owm-restack = i3
locale = zh_CN.UTF-8
background = ${colors.xbg}
foreground = ${colors.xfg}
width = 100%
height = 30
border-top-size = 5
border-bottom-size = 5
border-top-color = ${colors.xbg}
border-bottom-color = ${colors.xbg}
padding-left = 0
padding-right = 2
offset-x = 0
offset-y = 0
;radius = 18
font-0 = "HarmonyOS Sans SC:size=11;3"
font-1 = "Symbols Nerd Font:size=16;4"
font-2 = "DejaVu Sans:size=16;4"
fixed-center = true
modules-left = logo i3
modules-center = date
modules-right = netspeed space space hibernate space logout
tray-position = right
tray-maxsize = 16
enable-ipc = true
[module/logo]
type = custom/text
content =
content-foreground = ${colors.red}
content-padding = 4
[module/i3]
type = internal/i3
enable-click = false
index-sort = true
label-focused = %index%
label-focused-background = ${colors.orange}
label-focused-padding = 3
label-unfocused = %index%
label-unfocused-padding = 3
label-unfocused-foreground = ${colors.color4}
label-visible= %index%
label-visible-padding = 3
label-visible-foreground = ${colors.color4}
[module/date]
type = internal/date
format-padding = ${variables.mpadding}
date = "%m月%d %A"
time = "%k:%M"
label = %date% %time%
label-font = 1
#click-left = alacritty -e "/usr/bin/cal"
[module/netspeed]
type = internal/network
interface = enp86s0
interval = 1.0
format-connected = <label-connected>
format-connected-padding = ${variables.mpadding}
label-connected = "↑%upspeed% ↓%downspeed%"
[module/hibernate]
type = custom/text
;click-left = lxsession-logout -p ""
content = %{T9}%{T-}
content-foreground = ${colors.yellow}
[module/logout]
type = custom/text
;click-left = lxsession-logout -p ""
content = %{T9}襤%{T-}
content-foreground = ${colors.red}
content-padding = 2
[module/space]
type = custom/text
content = %{T1} %{T-}
~~i3历险记~~, i3从入门到放弃, 转战bspwm
Shell 100%