230 lines
5.7 KiB
INI
230 lines
5.7 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 bat0 bat1 round-right
|
|
modules-center = round-left xworkspaces round-right
|
|
modules-right = round-left mpd date systray 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/bat0]
|
|
type = internal/battery
|
|
battery = BAT0
|
|
label-charging = %percentage%%
|
|
format-charging-background = ${colors.background}
|
|
format-charging-foreground = ${colors.yellow}
|
|
label-discharging = %percentage%%
|
|
format-discharging-background = ${colors.background}
|
|
format-discharging-foreground = ${colors.flamingo}
|
|
label-full = %percentage%%
|
|
format-full-background = ${colors.background}
|
|
format-full-foreground = ${colors.flamingo}
|
|
|
|
[module/bat1]
|
|
full-at = 99
|
|
type = internal/battery
|
|
battery = BAT1
|
|
label-charging = %percentage%%
|
|
format-charging-background = ${colors.background}
|
|
format-charging-foreground = ${colors.yellow}
|
|
label-discharging = %percentage%%
|
|
format-discharging-background = ${colors.background}
|
|
format-discharging-foreground = ${colors.flamingo}
|
|
label-full = %percentage%%
|
|
format-full-background = ${colors.background}
|
|
format-full-foreground = ${colors.flamingo}
|
|
|
|
[module/mpd]
|
|
type = internal/mpd
|
|
host = 127.0.0.1
|
|
port = 6600
|
|
format-online-background = ${colors.background}
|
|
format-online-foreground = ${colors.teal}
|
|
format-playing = " <label-song>"
|
|
format-paused = " <label-song>"
|
|
format-stopped =
|
|
|
|
label-song = "%artist% - %title% "
|
|
|
|
[module/systray]
|
|
format-background = ${colors.background}
|
|
type = internal/tray
|
|
|
|
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
|