You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
244 lines
5.4 KiB
244 lines
5.4 KiB
|
|
[colors]
|
|
color0 = #0a0b08
|
|
color1 = #675638
|
|
color2 = #555B47
|
|
color3 = #5A6651
|
|
color4 = #6E6754
|
|
color5 = #656D56
|
|
color6 = #936D51
|
|
color7 = #ccc0ac
|
|
color8 = #8e8678
|
|
color9 = #675638
|
|
color10 = #555B47
|
|
color11 = #5A6651
|
|
color12 = #6E6754
|
|
color13 = #656D56
|
|
color14 = #936D51
|
|
color15 = #ccc0ac
|
|
background = #000000
|
|
;background = #0c0f10
|
|
background-alt = #ffb25a
|
|
foreground = #dfdfdf
|
|
foreground-alt = #bbb
|
|
;foreground-alt = #222
|
|
;primary = #ffb52a
|
|
;primary = #666666
|
|
primary = #abbcc8
|
|
secondary = #e60053
|
|
alert = #bd2c40
|
|
|
|
[bar/bar]
|
|
;monitor = ${env:MONITOR:HDMI-1}
|
|
width = 100%
|
|
height = 22
|
|
;offset-x = 1%
|
|
;offset-y = 1%
|
|
radius = 0.0
|
|
fixed-center = false
|
|
bottom = true
|
|
|
|
background = ${colors.color0}
|
|
foreground = ${colors.color15}
|
|
|
|
border-size = 1
|
|
border-color = #00000000
|
|
|
|
padding-left = 0
|
|
padding-right = 0
|
|
|
|
|
|
font-0 = terminessTTF Nerd Font Mono:size=12;3
|
|
font-1 = DejavuSansMono NF:style=Book:size=13;3
|
|
|
|
modules-left = i3
|
|
modules-center = media
|
|
modules-right = wlp2s0 pulseaudio battery cpu date time
|
|
|
|
tray-position = right
|
|
tray-padding = 1
|
|
tray-background = ${colors.color1}
|
|
|
|
;wm-restack = bspwm
|
|
wm-restack = i3
|
|
|
|
;override-redirect = true
|
|
|
|
;scroll-up = bspwm-desknext
|
|
;scroll-down = bspwm-deskprev
|
|
|
|
;scroll-up = i3wm-wsnext
|
|
;scroll-down = i3wm-wsprev
|
|
|
|
cursor-click = pointer
|
|
cursor-scroll = ns-resize
|
|
|
|
[module/i3]
|
|
type = internal/i3
|
|
format = <label-state> <label-mode>
|
|
index-sort = true
|
|
wrapping-scroll = false
|
|
|
|
label-mode = %mode%
|
|
|
|
; Only show workspaces on the same output as the bar
|
|
;pin-workspaces = true
|
|
|
|
label-mode-padding = 1
|
|
label-mode-foreground = ${colors.colors1}
|
|
label-mode-background = ${colors.colors0}
|
|
|
|
; focused = Active workspace on focused monitor
|
|
label-focused = %icon%
|
|
label-focused-foreground = ${colors.color0}
|
|
label-focused-background = ${colors.color1}
|
|
label-focused-padding = 1
|
|
|
|
; unfocused = Inactive workspace on any monitor
|
|
label-unfocused = %index%
|
|
label-unfocused-padding = 1
|
|
|
|
; visible = Active workspace on unfocused monitor
|
|
label-visible = %index%
|
|
label-visible-background = ${self.label-focused-background}
|
|
label-visible-padding = ${self.label-focused-padding}
|
|
|
|
; urgent = Workspace with urgency hint set
|
|
label-urgent = %icon%:%index%
|
|
label-urgent-background = ${colors.alert}
|
|
label-urgent-padding = 1
|
|
|
|
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;
|
|
|
|
[module/media]
|
|
type = custom/script
|
|
exec = ~/.config/polybar/scripts/music
|
|
interval = 1
|
|
tail = true
|
|
label = " %output% "
|
|
label-foreground = ${colors.color0}
|
|
label-background = ${colors.color3}
|
|
|
|
[module/wlp2s0]
|
|
type = internal/network
|
|
interface = wlp2s0
|
|
interval = 3.0
|
|
label-connected-background = ${colors.color5}
|
|
format-connected = <label-connected>
|
|
label-connected = " %signal%% %essid% %downspeed% "
|
|
label-connected-foreground = ${colors.color0}
|
|
format-disconnected = <label-disconnected>
|
|
;label-disconnected = " 睊 "
|
|
|
|
[module/eth]
|
|
type = internal/network
|
|
interface = eno0
|
|
interval = 3.0
|
|
|
|
format-connected-underline = #55aa55
|
|
format-connected-prefix = " "
|
|
format-connected-prefix-foreground = ${colors.color0}
|
|
label-connected = %essid%
|
|
format-disconnected =
|
|
|
|
[module/pulseaudio]
|
|
type = internal/pulseaudio
|
|
|
|
ramp-volume-background = ${colors.color7}
|
|
ramp-volume-foreground = ${colors.color0}
|
|
label-volume-background = ${colors.color7}
|
|
label-volume-foreground = ${colors.color0}
|
|
|
|
format-volume = <ramp-volume><label-volume>
|
|
label-volume = "%percentage% "
|
|
|
|
label-muted = 🔇 muted
|
|
label-muted-foreground = #666
|
|
ramp-volume-0 = " "
|
|
|
|
[module/battery]
|
|
type = internal/battery
|
|
battery = BAT0
|
|
adapter = AC
|
|
full-at = 98
|
|
label-charging = "%percentage% "
|
|
label-discharging = "%percentage% "
|
|
label-full = "%percentage_raw% "
|
|
format-charging = "<animation-charging><label-charging>"
|
|
format-discharging = "<ramp-capacity><label-discharging>"
|
|
format-full-prefix = " "
|
|
format-full-prefix-foreground = ${colors.color0}
|
|
format-full-prefix-background= ${colors.color9}
|
|
label-full-background = ${colors.color9}
|
|
label-full-foreground = ${colors.color0}
|
|
label-charging-background = ${colors.color9}
|
|
label-charging-foreground = ${colors.color0}
|
|
|
|
label-discharging-background = ${colors.color9}
|
|
label-discharging-foreground = ${colors.color0}
|
|
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-foreground = ${colors.color0}
|
|
ramp-capacity-background = ${colors.color9}
|
|
animation-charging-0 =" "
|
|
animation-charging-foreground = ${colors.color0}
|
|
animation-charging-background = ${colors.color9}
|
|
|
|
[module/cpu]
|
|
type = internal/cpu
|
|
interval = 2
|
|
padding = 2
|
|
format-prefix = " "
|
|
format-background = ${colors.color11}
|
|
format-prefix-foreground = ${colors.color0}
|
|
label-background = ${colors.color11}
|
|
label-foreground = ${colors.color0}
|
|
label = "%percentage% "
|
|
|
|
[module/date]
|
|
type=internal/date
|
|
date = " %d-%m-%Y "
|
|
label = %date%
|
|
label-background =${colors.color13}
|
|
label-foreground = ${colors.color0}
|
|
|
|
[module/time]
|
|
type = internal/date
|
|
interval = 5
|
|
time = " %H:%M "
|
|
time-alt = %H:%M:%S
|
|
label = %time%
|
|
label-background = ${colors.color14}
|
|
label-foreground = ${colors.color0}
|
|
|
|
[settings]
|
|
screenchange-reload = true
|
|
;compositing-background = xor
|
|
;compositing-background = screen
|
|
;compositing-foreground = source
|
|
;compositing-border = over
|
|
;pseudo-transparency = false
|
|
|
|
[global/wm]
|
|
margin-top = 1
|
|
margin-bottom = 1
|
|
|
|
|
|
|