[colors] white = #ffffff black = #5c6773 grey = #eeeeee green = #a6cc70 red = #ff3333 [bar/bar] font-0 = "PT Sans:pixelsize=10:weight=bold;4" font-1 = "Noto Sans Mono CJK JP:pixelsize=10:weight=bold;3" font-2 = "FontAwesome:pixelsize=10;4" monitor = ${env:MON} scroll-up = i3wm-wsprev scroll-down = i3wm-wsnext fixed-center = true width = 100% height = 40 dpi = ${xrdb:Xft.dpi:-1} background = ${colors.black} foreground = ${colors.white} bottom = false screenchange-reload = true tray-position = ${env:TRAYPOS:right} tray-scale = 1.0 tray-maxsize = 25 line-size = 4 padding-left = 1 padding-right = 1 module-margin = 2 modules-left = logo i3 polywins sep spotify modules-center = modules-right = cpu sep cpu_temp sep temp sep ram sep backlight sep pulseaudio sep conservation sep battery sep date sep [module/i3] strip-wsnumbers = true pin-workspaces = true index-sort = true wrapping-scroll = false type = internal/i3 format = ws-icon-0 = 1;一 ws-icon-1 = 2;二 ws-icon-2 = 3;三 ws-icon-3 = 4;四 ws-icon-4 = 5;五 ws-icon-5 = 6;六 ws-icon-6 = 7;七 ws-icon-7 = 8;八 ws-icon-8 = 9;九 ws-icon-9 = 10;十 label-focused = %icon% label-focused-padding = 2 label-focused-overline = ${colors.green} label-unfocused = %icon% label-unfocused-padding = 2 label-visible = %icon% label-visible-padding = 2 label-urgent = %icon% label-urgent-overline = ${colors.red} label-urgent-padding = 2 [module/date] type = internal/date interval = 1.0 date = %a, %d %b time = %H:%M label =  %date% %time% [module/pulseaudio] type = internal/pulseaudio sink = master use-ui-max = true interval = 5 format-volume =  format-muted-foreground = ${colors.red} label-muted =  Muted click-right = pavucontrol [module/title] type = internal/xwindow format-padding = 1 label-maxlen = 100 [module/logo] type = custom/text content = "花" content-padding = 1 [module/battery] type = internal/battery battery = BAT1 adapter = ADP1 time-format = %H:%M # charging format-charging = label-charging = %percentage%%  # discharging format-discharging = label-discharging = %percentage%% - %time% ramp-capacity-0 =  ramp-capacity-1 =  ramp-capacity-2 =  ramp-capacity-3 =  ramp-capacity-4 =  # full label-full =  100% [module/conservation] type = custom/script exec = if [ /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode ]; then echo "On"; else echo "Off"; fi click-left = alacritty --command ~/dots/scripts/conservation_mode.sh format =