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.
316 lines
7.4 KiB
316 lines
7.4 KiB
;==========================================================
|
|
;
|
|
;
|
|
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
|
|
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
|
|
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
|
|
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
|
|
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
|
|
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
|
|
;
|
|
;
|
|
; To learn more about how to configure Polybar
|
|
; go to https://github.com/polybar/polybar
|
|
;
|
|
; The README contains a lot of information
|
|
;
|
|
;==========================================================
|
|
|
|
[colors]
|
|
#background = #1E1E2E
|
|
background = #11111b
|
|
background-alt = #313244
|
|
foreground = #cdd6f4
|
|
#primary = #89b4fc
|
|
#primary-underline = #1e66f5
|
|
primary = #fab387
|
|
primary-underline = #fe640b
|
|
secondary = #a6e3a1
|
|
secondary-underline = #40a02b
|
|
alert = #f38ba8
|
|
disabled = #707880
|
|
|
|
[bar/base]
|
|
width = 100%
|
|
height = 34pt
|
|
radius = 10
|
|
|
|
background = ${colors.background}
|
|
foreground = ${colors.foreground}
|
|
|
|
line-size = 6pt
|
|
|
|
border-size = 4pt
|
|
border-color = #00000000
|
|
|
|
padding-left = 0
|
|
padding-right = 1
|
|
module-margin = 1
|
|
|
|
#separator = |
|
|
separator-foreground = ${colors.disabled}
|
|
|
|
font-0 = JetBrains Mono Nerd Font Mono:size=14;2
|
|
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
|
font-2 = siji:pixelsize=10;1
|
|
font-3 = "Arimo:pixelsize=12;0"
|
|
cursor-click = pointer
|
|
cursor-scroll = ns-resize
|
|
enable-ipc = true
|
|
|
|
[bar/workspaces]
|
|
width = 350
|
|
inherit = bar/base
|
|
modules-left = xworkspaces-roleless
|
|
|
|
[bar/top]
|
|
width = 500
|
|
offset-x = 100%:-500
|
|
inherit = bar/base
|
|
modules-left = date eth wlan
|
|
|
|
[bar/bottom]
|
|
inherit = bar/base
|
|
bottom = true
|
|
width = 100%
|
|
modules-left = pulseaudio backlight
|
|
modules-center = xwindow
|
|
modules-right = filesystem memory cpu
|
|
|
|
padding-left = 0
|
|
padding-right = 0
|
|
|
|
[section/prefixed-module]
|
|
format-prefix-background = ${colors.primary}
|
|
format-prefix-underline = ${colors.primary-underline}
|
|
format-prefix-foreground = ${colors.background}
|
|
format-prefix-padding = 1
|
|
format-prefix-alignment = center
|
|
|
|
[section/decorated-module]
|
|
format-prefix-background = ${colors.primary}
|
|
format-prefix-underline = ${colors.primary-underline}
|
|
format-prefix-foreground = ${colors.background}
|
|
format-prefix-padding = 1
|
|
format-prefix-alignment = center
|
|
|
|
[module/xworkspaces-roleless]
|
|
type = internal/xworkspaces
|
|
inherit = section/prefixed-module
|
|
|
|
format-prefix =
|
|
|
|
label-active =
|
|
label-active-background = ${colors.background-alt}
|
|
label-active-padding = 1
|
|
|
|
label-occupied =
|
|
label-occupied-padding = 1
|
|
|
|
label-urgent =
|
|
label-urgent-background = ${colors.alert}
|
|
label-urgent-padding = 1
|
|
|
|
label-empty =
|
|
label-empty-foreground = ${colors.disabled}
|
|
label-empty-padding = 1
|
|
|
|
[module/xworkspaces-role]
|
|
type = internal/xworkspaces
|
|
|
|
inherit = section/prefixed-module
|
|
format-prefix =
|
|
|
|
label-active = %icon%
|
|
label-active-background = ${colors.background-alt}
|
|
label-active-underline= ${colors.primary}
|
|
label-active-padding = 1
|
|
|
|
label-occupied = %icon%
|
|
label-occupied-padding = 1
|
|
|
|
label-urgent = %icon%
|
|
label-urgent-background = ${colors.alert}
|
|
label-urgent-padding = 1
|
|
|
|
label-empty = %icon%
|
|
label-empty-foreground = ${colors.disabled}
|
|
label-empty-padding = 1
|
|
|
|
icon-0 = 0;
|
|
icon-1 = 1;爵
|
|
icon-2 = 2;
|
|
icon-3 = 3;
|
|
icon-4 = 4;
|
|
icon-5 = 5;
|
|
icon-6 = 6;
|
|
icon-7 = 7;8
|
|
icon-8 = 8;9
|
|
|
|
[module/xwindow]
|
|
type = internal/xwindow
|
|
label = %title:0:30:...%
|
|
label-padding = 1
|
|
|
|
[module/filesystem]
|
|
type = internal/fs
|
|
interval = 25
|
|
|
|
|
|
format-mounted-prefix =
|
|
format-mounted-prefix-background = ${colors.primary}
|
|
format-mounted-prefix-underline = ${colors.primary-underline}
|
|
format-mounted-prefix-foreground = ${colors.background}
|
|
format-mounted-prefix-padding = 1
|
|
format-mounted-prefix-alignment = center
|
|
|
|
mount-0 = /
|
|
label-mounted = %{F#40a02b}%mountpoint%%{F-} %percentage_used%%
|
|
label-unmounted = %mountpoint% not mounted
|
|
label-unmounted-foreground = ${colors.disabled}
|
|
label-mounted-padding = 1
|
|
|
|
[module/pulseaudio]
|
|
type = internal/pulseaudio
|
|
format-volume-prefix =
|
|
format-volume-prefix-background = ${colors.primary}
|
|
format-volume-prefix-underline = ${colors.primary-underline}
|
|
format-volume-prefix-foreground = ${colors.background}
|
|
format-volume-prefix-padding = 1
|
|
format-volume-prefix-alignment = center
|
|
|
|
#format-volume-prefix = "VOL "
|
|
#format-volume-prefix-foreground = ${colors.primary}
|
|
|
|
format-volume = <label-volume>
|
|
|
|
label-volume = %percentage%%
|
|
label-volume-padding = 1
|
|
label-muted = muted
|
|
label-muted-foreground = ${colors.disabled}
|
|
|
|
[module/backlight]
|
|
type = internal/xbacklight
|
|
|
|
inherit = section/prefixed-module
|
|
format-prefix =
|
|
format = <ramp>
|
|
|
|
; Available tokens:
|
|
; %percentage% (default)
|
|
label = %percentage%%
|
|
label-padding = 1
|
|
|
|
; Only applies if <ramp> is used
|
|
ramp-0 = 🌕
|
|
ramp-1 = 🌔
|
|
ramp-2 = 🌓
|
|
ramp-3 = 🌒
|
|
ramp-4 = 🌑
|
|
|
|
[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-prefix =
|
|
inherit = section/prefixed-module
|
|
label-padding = 1
|
|
label = %percentage_used:2%%
|
|
|
|
[module/cpu]
|
|
type = internal/cpu
|
|
interval = 2
|
|
inherit = section/prefixed-module
|
|
format-prefix =
|
|
label = %percentage:2%%
|
|
label-padding = 1
|
|
|
|
[network-base]
|
|
type = internal/network
|
|
interval = 5
|
|
|
|
format-connected-prefix =
|
|
format-connected-prefix-background = ${colors.primary}
|
|
format-connected-prefix-underline = ${colors.primary-underline}
|
|
format-connected-prefix-foreground = ${colors.background}
|
|
format-connected-prefix-padding = 1
|
|
format-connected-prefix-alignment = center
|
|
|
|
format-connected = <label-connected>
|
|
label-connected-padding = 1
|
|
|
|
format-disconnected-prefix =
|
|
format-disconnected = <label-disconnected>
|
|
label-disconnected = %{F#a6e3a1}%ifname%%{F#707880} disconnected
|
|
|
|
[module/wlan]
|
|
inherit = network-base
|
|
interface-type = wireless
|
|
label-connected = %{F#a6e3a1}%essid%%{F-} %local_ip%
|
|
|
|
[module/eth]
|
|
inherit = network-base
|
|
interface-type = wired
|
|
interface = enp1s0
|
|
label-connected = %{F#a6e3a1}%local_ip%%{F-}
|
|
|
|
[module/date]
|
|
type = internal/date
|
|
interval = 1
|
|
inherit = section/prefixed-module
|
|
format-prefix =
|
|
|
|
format = <label>
|
|
|
|
date = %OI:%M %p
|
|
date-alt = %m-%d-%Y
|
|
|
|
label = %date%
|
|
label-padding = 1
|
|
|
|
[module/powermenu]
|
|
type = custom/menu
|
|
|
|
expand-right = true
|
|
|
|
format-spacing = 1
|
|
|
|
#label-open =
|
|
label-open = ⏻
|
|
label-open-foreground = ${colors.secondary}
|
|
label-close = cancel
|
|
label-close-foreground = ${colors.secondary}
|
|
#label-separator = |
|
|
label-separator-foreground = ${colors.foreground-alt}
|
|
|
|
menu-0-0 = reboot
|
|
menu-0-0-exec = menu-open-1
|
|
menu-0-1 = power off
|
|
menu-0-1-exec = menu-open-2
|
|
|
|
menu-1-0 = cancel
|
|
menu-1-0-exec = menu-open-0
|
|
menu-1-1 = reboot
|
|
menu-1-1-exec = sudo reboot
|
|
|
|
menu-2-0 = power off
|
|
menu-2-0-exec = sudo shutdown now
|
|
menu-2-1 = cancel
|
|
menu-2-1-exec = menu-open-0
|
|
|
|
[settings]
|
|
screenchange-reload = true
|
|
pseudo-transparency = true
|
|
|
|
; vim:ft=dosini
|