You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
370 lines
8.9 KiB
INI
370 lines
8.9 KiB
INI
3 years ago
|
[colors]
|
||
|
background = #1e222a
|
||
|
foreground = #979eab
|
||
|
color0 = #282C34
|
||
|
color1 = #e06c75
|
||
|
color2 = #99c47a
|
||
|
color3 = #e3be79
|
||
|
color4 = #5dabeb
|
||
|
color5 = #c678dd
|
||
|
color6 = #56b6c2
|
||
|
color7 = #abb2bf
|
||
|
color8 = #282c35
|
||
|
color9 = #e06c75
|
||
|
color10 = #99c47a
|
||
|
color11 = #e3be79
|
||
|
color12 = #5dabeb
|
||
|
color13 = #c678dd
|
||
|
color14 = #56b6c2
|
||
|
color15 = #abb2bf
|
||
|
dark-light = #272A2B
|
||
|
active-light = #313435
|
||
|
|
||
|
[bar/example]
|
||
|
tray-position = right
|
||
|
width = 100%
|
||
|
height = 25
|
||
|
padding-left = 1
|
||
|
padding-right = 1
|
||
|
background = ${colors.background}
|
||
|
foreground = ${colors.foreground}
|
||
|
bottom = false
|
||
|
border-top-size = 5
|
||
|
border-bottom-size = 7
|
||
|
border-top-color = ${colors.background}
|
||
|
border-bottom-color = ${colors.background}
|
||
|
|
||
|
line-size = 1
|
||
|
wm-restack = i3
|
||
|
|
||
|
modules-left = i3
|
||
|
modules-center =
|
||
|
modules-right = round-left battery round-right alsa round-left cpu round-right temperature spaces round-left mem round-right backlight-acpi round-left wlan time round-right sysmenu
|
||
|
|
||
|
font-0 = JetBrainsMono Nerd Font:style=Bold:pixelsize=11;3
|
||
|
font-1 = JetBrainsMono Nerd Font:size=15;3
|
||
|
font-2 = Material Icons:style=Regular:size=13;3
|
||
|
font-3 = unifont:fontformat=truetype:size=13:antialias=true;
|
||
|
|
||
|
[module/mpd]
|
||
|
type = internal/mpd
|
||
|
interval = 2
|
||
|
format-online = <icon-prev><toggle><icon-next>
|
||
|
icon-play-foreground = ${colors.color1}
|
||
|
icon-play =
|
||
|
icon-pause-foreground = ${colors.color1}
|
||
|
icon-pause =
|
||
|
icon-stop-foreground = ${colors.color1}
|
||
|
icon-stop =
|
||
|
icon-prev-foreground = ${colors.color4}
|
||
|
icon-prev =
|
||
|
icon-next-foreground = ${colors.color4}
|
||
|
icon-next =
|
||
|
icon-play-underline = ${colors.color3}
|
||
|
icon-next-underline = ${colors.color5}
|
||
|
icon-pause-underline = ${colors.color3}
|
||
|
icon-prev-underline = ${colors.color3}
|
||
|
|
||
|
[module/alsa]
|
||
|
type = internal/alsa
|
||
|
format-volume = <label-volume> <bar-volume>
|
||
|
label-volume =
|
||
|
label-volume-foreground = ${colors.colors8}
|
||
|
|
||
|
format-muted-foreground = ${colors.foreground}
|
||
|
label-muted =
|
||
|
|
||
|
format-muted-padding = 1
|
||
|
format-muted-background = #2b2f37
|
||
|
|
||
|
bar-volume-width = 10
|
||
|
bar-volume-foreground-0 = #61afef
|
||
|
bar-volume-foreground-1 = #61afef
|
||
|
bar-volume-foreground-2 = #61afef
|
||
|
bar-volume-foreground-3 = #61afef
|
||
|
bar-volume-foreground-4 = #61afef
|
||
|
bar-volume-foreground-5 = #61afef
|
||
|
bar-volume-foreground-6 = #61afef
|
||
|
bar-volume-gradient = true
|
||
|
bar-volume-indicator =
|
||
|
bar-volume-indicator-foreground = #e06c75
|
||
|
bar-volume-indicator-font = 1
|
||
|
bar-volume-fill =
|
||
|
bar-volume-fill-foreground = #61afef
|
||
|
bar-volume-fill-font = 1
|
||
|
bar-volume-empty =
|
||
|
bar-volume-empty-font = 1
|
||
|
bar-volume-empty-foreground = ${colors.foreground}
|
||
|
format-volume-padding = 1
|
||
|
|
||
|
[module/temperature]
|
||
|
type = internal/temperature
|
||
|
thermal-zone = 0
|
||
|
warn-temperature = 65
|
||
|
label-foreground = ${colors.color7}
|
||
|
format = <ramp> <label>
|
||
|
;format-underline = #b48ead
|
||
|
format-warn = <ramp> <label-warn>
|
||
|
format-warn-underline = #b48ead
|
||
|
;format-background = ${colors.color8}
|
||
|
|
||
|
label = %{F#e06c75} %temperature-c%
|
||
|
label-warn = %temperature-c%
|
||
|
label-warn-backgroud = #b48ead
|
||
|
format-padding = 0
|
||
|
ramp-0 =
|
||
|
ramp-foreground = ${colors.color11}
|
||
|
|
||
|
[module/window]
|
||
|
type = custom/script
|
||
|
exec = ~/.config/polybar/scripts/window.sh 2>/dev/null
|
||
|
interval = 1
|
||
|
format = <label>
|
||
|
label = %output%
|
||
|
label-padding = 1
|
||
|
|
||
|
[module/polywins]
|
||
|
type = custom/script
|
||
|
exec = ~/.config/polybar/scripts/polywins.sh 2>/dev/null
|
||
|
format = <label>
|
||
|
label = %output%
|
||
|
;label-padding = 1
|
||
|
tail = true
|
||
|
label-background = ${colors.color8}
|
||
|
|
||
|
[module/spaces]
|
||
|
type = custom/text
|
||
|
content = %{T3} %{T-}
|
||
|
|
||
|
[module/i3]
|
||
|
type = internal/i3
|
||
|
|
||
|
#pin-workspaces = true
|
||
|
#inline-mode = true
|
||
|
enable-click = true
|
||
|
enable-scroll = true
|
||
|
reverse-scroll = true
|
||
|
|
||
|
format = <label-state> <label-mode>
|
||
|
|
||
|
label-mode-padding = 2
|
||
|
label-mode-background = ${colors.color8}
|
||
|
label-mode-foreground = ${colors.color2}
|
||
|
|
||
|
label-focused = %index%
|
||
|
label-focused-background = ${colors.color8}
|
||
|
label-focused-underline= #61afef
|
||
|
label-focused-padding = 1
|
||
|
|
||
|
label-unfocused = %index%
|
||
|
label-unfocused-background = ${colors.background}
|
||
|
label-unfocused-padding = 1
|
||
|
|
||
|
label-visible = %index%
|
||
|
label-visible-background = ${self.label-focused-background}
|
||
|
label-visible-underline = ${colors.color1}
|
||
|
label-visible-padding = 1
|
||
|
|
||
|
label-urgent = %index%
|
||
|
label-urgent-underline = ${colors.color5}
|
||
|
label-urgent-padding = 1
|
||
|
|
||
|
[module/round-left]
|
||
|
type = custom/text
|
||
|
content = %{T2}%{T-}
|
||
|
content-foreground = #2b2f37
|
||
|
|
||
|
[module/round-right]
|
||
|
type = custom/text
|
||
|
content = %{T2}%{T-}
|
||
|
content-foreground = #2b2f37
|
||
|
[module/pulseaudio]
|
||
|
type = internal/pulseaudio
|
||
|
|
||
|
;format-volume = <ramp-volume> <bar-volume>
|
||
|
format-volume = <label-volume> <bar-volume>
|
||
|
;label-volume = VOL %percentage%%
|
||
|
label-volume =
|
||
|
label-volume-foreground =${colors.color12}
|
||
|
;extra added
|
||
|
;format-volume-background = ${colors.yellow}
|
||
|
format-volume-background = ${colors.background}
|
||
|
format-volume-padding = 1
|
||
|
label-muted-padding = 1
|
||
|
;ramp-volume-0 =
|
||
|
;ramp-volume-1 =
|
||
|
;ramp-volume-2 =
|
||
|
;ramp-volume-foreground = ${colors.background}
|
||
|
;will remove
|
||
|
label-muted = muted
|
||
|
label-muted-foreground = #666
|
||
|
|
||
|
bar-volume-width = 10
|
||
|
bar-volume-foreground-0 =
|
||
|
bar-volume-foreground-1 = #61afef
|
||
|
bar-volume-foreground-2 = #61afef
|
||
|
bar-volume-foreground-3 = #61afef
|
||
|
bar-volume-foreground-4 = #61afef
|
||
|
bar-volume-foreground-5 = #61afef
|
||
|
bar-volume-foreground-6 = #61afef
|
||
|
bar-volume-gradient = false
|
||
|
bar-volume-indicator =
|
||
|
bar-volume-indicator-font = 4
|
||
|
bar-volume-fill = ─
|
||
|
bar-volume-fill-font = 4
|
||
|
bar-volume-empty = ─
|
||
|
bar-volume-empty-font = 4
|
||
|
bar-volume-empty-foreground = ${colors.foreground}
|
||
|
|
||
|
|
||
|
[module/time]
|
||
|
type = internal/date
|
||
|
interval = 60
|
||
|
|
||
|
format = <label>
|
||
|
format-background = ${colors.color8}
|
||
|
|
||
|
date = %{F#57b6c2} %{F-}%{F#abb2bf}%H:%M%{F-}
|
||
|
time-alt = %{F#56b6c2} %{F-}%{F#abb3bf}%a, %b %d%{F-}
|
||
|
|
||
|
label = %date%%time%
|
||
|
|
||
|
[module/updates]
|
||
|
type = custom/script
|
||
|
exec = ~/.config/polybar/scripts/xbps-updates
|
||
|
format = <label>
|
||
|
label = %output%
|
||
|
label-padding =1
|
||
|
label-background = ${colors.color8}
|
||
|
label-foreground = ${colors.color1}
|
||
|
[module/mem]
|
||
|
type = custom/script
|
||
|
exec = free -m | sed -n 's/^Mem:\s\+[0-9]\+\s\+\([0-9]\+\)\s.\+/\1/p'
|
||
|
format = <label>
|
||
|
format-prefix =
|
||
|
format-background = ${colors.color8}
|
||
|
format-padding = 0
|
||
|
label = %{F#5dabeb} %output%M used
|
||
|
label-padding = 1
|
||
|
format-prefix-foreground = ${colors.color4}
|
||
|
format-margin = 0
|
||
|
|
||
|
[module/menu]
|
||
|
type = custom/text
|
||
|
content =
|
||
|
;content-background = #81A1C1
|
||
|
content-foreground = #61afef
|
||
|
click-left = rofi -show drun
|
||
|
;content-underline = #4C566A
|
||
|
content-padding= 1
|
||
|
|
||
|
[module/powermenu]
|
||
|
type = custom/text
|
||
|
content =
|
||
|
click-left = ~/.config/polybar/scripts/dmenu.sh
|
||
|
;content-background = #81A1C1
|
||
|
content-foreground = ${colors.foreground}
|
||
|
content-padding = 1
|
||
|
content-margin = 0
|
||
|
|
||
|
[module/sysmenu]
|
||
|
type = custom/text
|
||
|
content =
|
||
|
content-foreground = ${colors.color13}
|
||
|
content-padding = 1
|
||
|
click-left = ~/.config/polybar/scripts/powermenu.sh
|
||
|
|
||
|
[module/xbacklight]
|
||
|
type = internal/xbacklight
|
||
|
format = <label>
|
||
|
format-prefix = " "
|
||
|
label = %{F#e5c07b}%percentage%
|
||
|
format-prefix-foreground = #e5c07b
|
||
|
label-foreground = #abb2bf
|
||
|
format-padding = 1
|
||
|
|
||
|
[module/backlight-acpi]
|
||
|
inherit = module/xbacklight
|
||
|
type = internal/backlight
|
||
|
card = intel_backlight
|
||
|
|
||
|
[module/wlan]
|
||
|
type = internal/network
|
||
|
interface = wlo1
|
||
|
interval = 3.0
|
||
|
format-connected = <label-connected>
|
||
|
label-connected = " "
|
||
|
label-connected-foreground = ${colors.color4}
|
||
|
label-disconnected = "睊 "
|
||
|
label-disconnedted-foreground = ${colors.color4}
|
||
|
label-connected-background = ${colors.color8}
|
||
|
label-disconnected-bacoground = ${colors.color8}
|
||
|
|
||
|
[module/battery]
|
||
|
type = internal/battery
|
||
|
battery = BAT0
|
||
|
adapter = AC0
|
||
|
full-at = 98
|
||
|
|
||
|
format-charging = <animation-charging> <label-charging>
|
||
|
label-charging = %percentage%%
|
||
|
format-charging-foreground = ${colors.color4}
|
||
|
format-charging-background = ${colors.color8}
|
||
|
|
||
|
format-discharging = <ramp-capacity> <label-discharging>
|
||
|
label-discharging = %percentage%%
|
||
|
format-discharging-foreground = ${colors.foreground}
|
||
|
format-discharging-background = ${colors.color8}
|
||
|
|
||
|
format-full-prefix = " "
|
||
|
format-full-prefix-foreground = ${colors.color4}
|
||
|
format-foreground = ${colors.color4}
|
||
|
format-background = ${colors.color8}
|
||
|
|
||
|
label-discharging-foreground = ${colors.foreground}
|
||
|
label-charging-foreground = ${colors.color4}
|
||
|
label-padding = 1
|
||
|
|
||
|
ramp-capacity-0 =
|
||
|
ramp-capacity-1 =
|
||
|
ramp-capacity-2 =
|
||
|
ramp-capacity-3 =
|
||
|
ramp-capacity-4 =
|
||
|
ramp-capacity-foreground = ${colors.foreground}
|
||
|
|
||
|
animation-charging-0 =
|
||
|
animation-charging-1 =
|
||
|
animation-charging-2 =
|
||
|
animation-charging-3 =
|
||
|
animation-charging-4 =
|
||
|
animation-charging-foreground = ${colors.color4}
|
||
|
animation-charging-framerate = 750
|
||
|
|
||
|
format-charging-padding = 1
|
||
|
format-discharging-padding = 1
|
||
|
|
||
|
[module/cpu]
|
||
|
type = internal/cpu
|
||
|
interval = 2.5
|
||
|
|
||
|
format = <label>
|
||
|
format-padding = 1
|
||
|
format-margin = 0
|
||
|
|
||
|
label = %{F#99c47a} %{F-}%percentage%%
|
||
|
format-background = ${colors.color8}
|
||
|
format-foreground = ${colors.color7}
|
||
|
|
||
|
[module/xwindow]
|
||
|
type = internal/xwindow
|
||
|
|
||
|
label = %title%
|
||
|
label-maxlen = 20
|
||
|
label-foreground = ${colors.foreground}
|
||
|
label-padding = 1
|
||
|
|
||
|
; Used instead of label when there is no window title
|
||
|
label-empty = ""
|
||
|
;label-empty-foreground = ${color.blue-light}
|
||
|
label-empty-padding = 2
|