236 lines
5.3 KiB
INI
236 lines
5.3 KiB
INI
;==========================================================
|
|
;
|
|
;
|
|
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
|
|
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
|
|
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
|
|
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
|
|
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
|
|
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
|
|
;
|
|
;
|
|
; To learn more about how to configure Polybar
|
|
; go to https://github.com/polybar/polybar
|
|
;
|
|
; The README contains a lot of information
|
|
;
|
|
;==========================================================
|
|
|
|
[colors]
|
|
background = #303446
|
|
background-alt = #232634
|
|
foreground = #c6d0f5
|
|
primary = #8caaee
|
|
alert = #e78284
|
|
disabled = #737994
|
|
|
|
[bar/HDMI-0]
|
|
monitor = Virtual-1
|
|
|
|
width = 100%
|
|
height = 30px
|
|
radius = 0
|
|
|
|
background = ${colors.background}
|
|
foreground = ${colors.foreground}
|
|
|
|
line-size = 3px
|
|
|
|
border-size = 0pt
|
|
|
|
padding-left = 10px
|
|
padding-right = 0px
|
|
|
|
font-0 = ComicShannsMono Nerd Font:pixelsize=14;2
|
|
font-1 = Polybar:pixelsize=20;2
|
|
|
|
fixed-center = true
|
|
modules-left = cpu separator memory separator filesystem separator eth separator ethspeed separator pulseaudio
|
|
modules-center = i3
|
|
modules-right = xkeyboard separator dateprefix date
|
|
|
|
cursor-click = pointer
|
|
cursor-scroll = ns-resize
|
|
|
|
enable-ipc = true
|
|
|
|
[bar/HDMI-1]
|
|
monitor = HDMI-1
|
|
|
|
width = 100%
|
|
height = 30px
|
|
radius = 0
|
|
|
|
background = ${colors.background}
|
|
foreground = ${colors.foreground}
|
|
|
|
line-size = 3px
|
|
|
|
border-size = 0pt
|
|
|
|
padding-left = 10px
|
|
padding-right = 0px
|
|
|
|
font-0 = ComicShannsMono Nerd Font:pixelsize=14;2
|
|
font-1 = Polybar:pixelsize=20;2
|
|
|
|
fixed-center = true
|
|
modules-left = cpu separator memory separator filesystem separator eth separator ethspeed separator pulseaudio
|
|
modules-center = i3
|
|
modules-right = pacman separator xkeyboard separator dateprefix date systray
|
|
|
|
cursor-click = pointer
|
|
cursor-scroll = ns-resize
|
|
|
|
enable-ipc = true
|
|
|
|
[module/separator]
|
|
type = custom/text
|
|
|
|
format = <label>
|
|
format-padding = 6px
|
|
|
|
label = |
|
|
|
|
[module/systray]
|
|
type = internal/tray
|
|
|
|
format-margin = 0px
|
|
tray-spacing = 5px
|
|
tray-padding = 0px
|
|
tray-size = 90%
|
|
|
|
[module/i3]
|
|
type = internal/i3
|
|
|
|
pin-workspaces = true
|
|
show-urgent = true
|
|
enable-scroll = false
|
|
|
|
format = <label-state>
|
|
|
|
label-focused = %name%
|
|
label-focused-background = ${colors.background-alt}
|
|
label-focused-underline= ${colors.primary}
|
|
label-focused-padding = 15px
|
|
|
|
label-unfocused = %name%
|
|
label-unfocused-background = ${colors.background-alt}
|
|
label-unfocused-padding = 15px
|
|
|
|
label-urgent = %name%
|
|
label-urgent-background = ${colors.alert}
|
|
label-urgent-padding = 15px
|
|
|
|
label-separator = " "
|
|
label-separator-padding = 0px
|
|
label-separator-foreground = #ffb52a
|
|
|
|
[module/filesystem]
|
|
type = internal/fs
|
|
interval = 25
|
|
|
|
mount-0 = /
|
|
|
|
label-mounted = %{F#8caaee} %{F-} %percentage_used%%
|
|
label-mounted-font = 1
|
|
|
|
label-unmounted = %mountpoint% not mounted
|
|
label-unmounted-foreground = ${colors.disabled}
|
|
|
|
[module/pulseaudio]
|
|
type = internal/pulseaudio
|
|
|
|
format-volume = <label-volume>
|
|
format-volume-prefix-font = 1
|
|
format-volume-prefix = " "
|
|
format-volume-prefix-foreground = ${colors.primary}
|
|
|
|
label-volume = "%percentage%%"
|
|
label-volume-font = 1
|
|
|
|
label-muted = %{F#8caaee}%{F-} mute
|
|
|
|
[module/xkeyboard]
|
|
type = internal/xkeyboard
|
|
blacklist-0 = num lock
|
|
|
|
label-layout = %layout%
|
|
label-layout-foreground = ${colors.primary}
|
|
|
|
label-indicator-foreground = ${colors.background}
|
|
label-indicator-background = ${colors.primary}
|
|
|
|
[module/memory]
|
|
type = internal/memory
|
|
interval = 2
|
|
format-prefix = " "
|
|
format-prefix-foreground = ${colors.primary}
|
|
label = %percentage_used:2%%
|
|
|
|
[module/cpu]
|
|
type = internal/cpu
|
|
interval = 2
|
|
format-prefix = " "
|
|
format-prefix-foreground = ${colors.primary}
|
|
label = %percentage%%
|
|
|
|
[module/eth]
|
|
type = internal/network
|
|
interface-type = wired
|
|
interval = 5
|
|
format-connected = <label-connected>
|
|
format-connected-prefix = " "
|
|
format-connected-prefix-foreground = ${colors.primary}
|
|
|
|
label-connected = %ifname% %local_ip%
|
|
|
|
[module/ethspeed]
|
|
type = internal/network
|
|
interface-type = wired
|
|
interval = 5
|
|
format-connected = <label-connected>
|
|
format-connected-prefix = " "
|
|
format-connected-prefix-foreground = ${colors.primary}
|
|
|
|
label-connected = %upspeed% %downspeed%
|
|
[module/pacman]
|
|
type = custom/script
|
|
exec = pacman -Syup | head -n -4 | wc -l
|
|
interval = 600
|
|
|
|
format = <label>
|
|
format-prefix = " "
|
|
format-prefix-foreground=${colors.primary}
|
|
|
|
|
|
[module/dateprefix]
|
|
type = custom/text
|
|
exec = date +"%a %Y-%m-%d %H:%M:%S"
|
|
;interval = 1
|
|
|
|
format = <label>
|
|
format-foreground=${colors.primary}
|
|
|
|
label = " "
|
|
label-padding-right = 5px
|
|
|
|
click-left = /etc/polybar/calendar.sh
|
|
|
|
[module/date]
|
|
type = internal/date
|
|
interval = 1.0
|
|
|
|
date = %a %Y-%m-%d %H:%M
|
|
date-alt = %H:%M:%S
|
|
|
|
format = <label>
|
|
|
|
label = %date%
|
|
label-padding-right = 10px
|
|
|
|
[settings]
|
|
screenchange-reload = true
|
|
pseudo-transparency = false
|
|
|