leftwm-skylark/polybar.config

191 lines
4.5 KiB
INI

;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; To learn more about how to configure Polybar
; go to https://github.com/polybar/polybar
;
; The README contains a lot of information
;
;==========================================================
[global/wm]
include-file = $SCRIPTPATH/mocha.ini
[colors]
background = ${colors.mantle}
foreground = ${colors.text}
primary = #F0C674
secondary = #8ABEB7
alert = #A54242
disabled = #707880
[module/round-left]
type = custom/text
format = %{O-1}
format-foreground = ${colors.background}
[module/round-right]
type = custom/text
format =
format-foreground = ${colors.background}
[bar/example]
width = 100%
height = 16pt
radius = 0
; dpi = 96
background = ${colors.transparent}
foreground = ${colors.foreground}
line-size = 3pt
border-size = 8pt
border-color = #00000000
padding-left = 0
padding-right = 0
module-margin = 0
font-0 = JetBrainsMono Nerd Font:size=12;3
modules-left = round-left filesystem pulseaudio memory cpu round-right
modules-center = round-left xworkspaces round-right
modules-right = round-left mpd date round-right
cursor-click = pointer
cursor-scroll = ns-resize
enable-ipc = true
; wm-restack = generic
; wm-restack = bspwm
; wm-restack = i3
; override-redirect = true
[module/systray]
type = internal/tray
format-margin = 8pt
tray-spacing = 16pt
[module/xworkspaces]
type = internal/xworkspaces
format-background = ${colors.background}
label-active = %name%
label-active-foreground = ${colors.rosewater}
label-active-padding = 5px
label-occupied = %name%
label-occupied-foreground= ${colors.overlay0}
label-occupied-padding = 5px
label-urgent = %name%
label-urgent-foreground= ${colors.red}
label-urgent-padding = 5px
label-empty =
label-empty-padding = 0
[module/xwindow]
type = internal/xwindow
label = %title:0:60:...%
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /
label-mounted = "󰋊 %percentage_used%% "
label-mounted-background = ${colors.background}
label-mounted-foreground = ${colors.rosewater}
[module/pulseaudio]
type = internal/pulseaudio
format-volume-prefix = "󰕾 "
format-volume = <label-volume>
format-volume-background = ${colors.background}
format-volume-foreground = ${colors.teal}
format-muted-background = ${colors.background}
format-muted-foreground = ${colors.red}
label-volume = "%percentage%% "
label-muted = "󰖁 mute "
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
label-layout = %layout%
label-layout-foreground = ${colors.primary}
label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-foreground = ${colors.background}
label-indicator-background = ${colors.secondary}
[module/memory]
type = internal/memory
interval = 2
format-background = ${colors.background}
format-foreground = ${colors.peach}
format-prefix = "󰆼 "
label = "%percentage_used:2%% "
[module/cpu]
type = internal/cpu
interval = 2
format-background = ${colors.background}
format-foreground = ${colors.green}
format-prefix = " "
label = "%percentage:2%% "
[network-base]
type = internal/network
interval = 5
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
[module/wlan]
inherit = network-base
interface-type = wireless
label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
[module/eth]
inherit = network-base
interface-type = wired
label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
[module/date]
type = internal/date
interval = 1
format-background = ${colors.background}
date = "󰥔 %H:%M"
date-alt = "󰃭 %Y-%m-%d %H:%M:%S"
label = %date%
[settings]
screenchange-reload = true
pseudo-transparency = true
; vim:ft=dosini