294 lines
5.4 KiB
INI
294 lines
5.4 KiB
INI
[bar/main]
|
||
background = #aa005555
|
||
foreground = ${colors.white}
|
||
separator = " / "
|
||
|
||
modules-right = wired wireless ram cpu wattage life capacity
|
||
modules-center = playing
|
||
modules-left = i3 date audio backlight
|
||
radius = 5
|
||
|
||
font-0 = "Iosevka Nerd Font:pixelsize=10;4"
|
||
font-1 = "Iosevka Nerd Font:pixelsize=13;4"
|
||
|
||
[module/wired]
|
||
type = internal/network
|
||
interface = lan0
|
||
interface-type = wired
|
||
interval = 10
|
||
label-connected =
|
||
; %local_ip%
|
||
;format-connected = <ramp-signal> <label-connected>
|
||
format-connected = <label-connected>
|
||
;format-packetloss = <animation-packetloss> <label-connected>
|
||
format-packetloss = <label-connected> PL
|
||
format-disconnected = <label-disconnected>
|
||
|
||
|
||
[module/wireless]
|
||
type = internal/network
|
||
interface = wlan0
|
||
interface-type = wireless
|
||
interval = 5
|
||
format-foreground = #ffb52a
|
||
;${colors.cyan}
|
||
|
||
label-connected = %essid%
|
||
;-%signal% %local_ip%
|
||
format-connected = <label-connected>
|
||
;<ramp-signal> <label-connected>
|
||
format-packetloss = <label-connected> PL
|
||
;<animation-packetloss> <label-connected>
|
||
format-disconnected = <label-disconnected>
|
||
|
||
|
||
|
||
[module/cpu]
|
||
type = internal/cpu
|
||
interval = 0.5
|
||
warn-percentage = 50
|
||
|
||
;label-warn = ﲅ WCPU %percentage%%
|
||
label-warn = WCPU %percentage%%
|
||
label = CPU %percentage%%
|
||
|
||
format = <label> <ramp-load>
|
||
ramp-load-0-weight = 2
|
||
ramp-load-0 =
|
||
ramp-load-1 =
|
||
ramp-load-2 =
|
||
ramp-load-3 =
|
||
ramp-load-4 =
|
||
;format-background = ${colors.green}
|
||
|
||
[module/ram]
|
||
type = internal/memory
|
||
interval = 0.5
|
||
format = <label> <ramp-used>
|
||
label = RAM %percentage_used%%
|
||
#label = RAM %used%/%free%
|
||
#label = RAM %gb_used%/%gb_free%
|
||
|
||
ramp-used-0-weight = 2
|
||
ramp-used-0 =
|
||
ramp-used-1 =
|
||
ramp-used-2 =
|
||
ramp-used-3 =
|
||
ramp-used-4 =
|
||
|
||
|
||
[module/date]
|
||
type = internal/date
|
||
date = %m-%d %H:%M%
|
||
;format-foreground = ${colors.white}
|
||
|
||
|
||
[module/i3]
|
||
type = internal/xworkspaces
|
||
;pin-workspaces = true
|
||
enable-click = true
|
||
|
||
format = <label-state>
|
||
|
||
label-active = [%index%]
|
||
label-active-padding = 1
|
||
|
||
label-occupied = %icon%
|
||
label-occupied-padding = 1
|
||
|
||
label-urgent = %icon%
|
||
label-urgent-padding = 1
|
||
label-urgent-background = ${color.background}
|
||
label-urgent-foreground = #CC6666
|
||
|
||
label-empty = %icon%
|
||
label-empty-padding = 1
|
||
label-empty-background = ${color.background}
|
||
label-empty-foreground = ${color.foreground-alt}
|
||
|
||
icon-0 = 0;
|
||
icon-1 = 1;
|
||
icon-2 = 2;
|
||
icon-3 = 3;
|
||
icon-4 = 4;
|
||
icon-5 = 5;
|
||
icon-6 = 6;
|
||
icon-7 = 7;
|
||
icon-8 = 8;
|
||
icon-9 = 9;
|
||
icon-10 = 10;
|
||
icon-default =
|
||
|
||
|
||
|
||
[module/playing]
|
||
type = custom/script
|
||
exec = ~/.config/polybar/scripts/media/playing.sh
|
||
interval = 5
|
||
|
||
[module/audio]
|
||
type = internal/pulseaudio
|
||
|
||
use-ui-max = true
|
||
interval = 15
|
||
|
||
format-volume = <ramp-volume> <label-volume>
|
||
label-volume = %percentage%%
|
||
label-muted = 婢 %percentage%%
|
||
#墳奄奔婢
|
||
#label-muted-foreground = #666
|
||
ramp-volume-0-weight = 2
|
||
ramp-volume-0 = 奄
|
||
ramp-volume-1 = 奔
|
||
ramp-volume-2 =
|
||
|
||
#click-left = pavucontrol
|
||
click-right = pavucontrol
|
||
|
||
|
||
[module/wattage]
|
||
type = custom/script
|
||
exec = ~/.config/polybar/scripts/battery/wattage.sh
|
||
interval = 1
|
||
|
||
[module/life]
|
||
type = custom/script
|
||
exec = ~/.config/polybar/scripts/battery/life.sh
|
||
interval = 3
|
||
|
||
|
||
[module/capacity]
|
||
type = internal/battery
|
||
;interval = 10
|
||
|
||
battery = BAT0
|
||
adapter = ADP1
|
||
|
||
low-at = 20
|
||
full-at = 100
|
||
|
||
format-charging = <animation-charging> <label-charging> ㅤ
|
||
format-discharging = <ramp-capacity> <label-discharging> ㅤ
|
||
label-charging = %percentage%%
|
||
label-discharging = %percentage%%
|
||
label-full = Full
|
||
|
||
animation-charging-framerate = 500
|
||
animation-charging-0 =
|
||
animation-charging-1 =
|
||
animation-charging-2 =
|
||
animation-charging-3 =
|
||
animation-charging-4 =
|
||
animation-charging-5 =
|
||
animation-charging-6 =
|
||
|
||
|
||
bar-capacity-width = 5
|
||
ramp-capacity-0 =
|
||
ramp-capacity-1 =
|
||
ramp-capacity-2 =
|
||
ramp-capacity-3 =
|
||
ramp-capacity-4 =
|
||
ramp-capacity-5 =
|
||
ramp-capacity-6 =
|
||
ramp-capacity-7 =
|
||
ramp-capacity-8 =
|
||
ramp-capacity-9 =
|
||
ramp-capacity-10 =
|
||
|
||
|
||
[module/backlight]
|
||
;type = internal/xbacklight
|
||
type = internal/backlight
|
||
|
||
; Use the following command to list available cards:
|
||
; $ ls -1 /sys/class/backlight/
|
||
;card = intel_backlight
|
||
card = amdgpu_bl0
|
||
|
||
; Available tags:
|
||
; <label> (default)
|
||
; <ramp>
|
||
; <bar>
|
||
format = <ramp> <label>
|
||
format-background = ${color.shade3}
|
||
format-padding = 2
|
||
|
||
; Available tokens:
|
||
; %percentage% (default)
|
||
label = %percentage%%
|
||
|
||
; Only applies if <ramp> is used
|
||
ramp-0 =
|
||
ramp-1 =
|
||
ramp-2 =
|
||
ramp-3 =
|
||
ramp-4 =
|
||
ramp-font = 2
|
||
|
||
|
||
|
||
|
||
|
||
[settings]
|
||
screenchange-reload = true
|
||
|
||
|
||
[colors]
|
||
black = ${colors.color0}
|
||
black2 = ${colors.color8}
|
||
red = ${colors.color1}
|
||
red2 = ${colors.color9}
|
||
green = ${colors.color2}
|
||
green2 = ${colors.color10}
|
||
yellow = ${colors.color3}
|
||
yellow2 = ${colors.color11}
|
||
blue = ${colors.color4}
|
||
blue2 = ${colors.color12}
|
||
magenta = ${colors.color5}
|
||
magenta2 = ${colors.color13}
|
||
cyan = ${colors.color6}
|
||
cyan2 = ${colors.color14}
|
||
white = ${colors.color7}
|
||
white2 = ${colors.color15}
|
||
|
||
|
||
foregroundColor = #efefef
|
||
backgroundColor = #181818
|
||
cursorColor = #bbbbbb
|
||
|
||
; Black
|
||
color0 = #242424
|
||
color8 = #4b4b4b
|
||
|
||
; Red
|
||
color1 = #d71c15
|
||
color9 = #fc1c18
|
||
|
||
; Green
|
||
color2 = #5aa513
|
||
color10 = #6bc219
|
||
|
||
; Yellow
|
||
color3 = #fdb40c
|
||
color11 = #fec80e
|
||
|
||
; Blue
|
||
color4 = #063b8c
|
||
color12 = #0955ff
|
||
;
|
||
; Magenta
|
||
color5 = #e40038
|
||
color13 = #fb0050
|
||
|
||
; Cyan
|
||
color6 = #2595e1
|
||
color14 = #3ea8fc
|
||
|
||
; White
|
||
color7 = #efefef
|
||
color15 = #8c00ec
|
||
|
||
; Bold, Italic, Underline
|
||
colorBD = #ffffff
|