535 lines
		
	
	
		
			15 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			535 lines
		
	
	
		
			15 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
;=====================================================
 | 
						|
;
 | 
						|
;   To learn more about how to configure Polybar
 | 
						|
;   go to https://github.com/jaagr/polybar
 | 
						|
;
 | 
						|
;   The README contains alot of information
 | 
						|
;
 | 
						|
;=====================================================
 | 
						|
 | 
						|
[colors]
 | 
						|
background = ${xrdb:color1:#50000000}
 | 
						|
background-alt = ${xrdb:color2:#444}
 | 
						|
foreground = ${xrdb:color7:#dfdfdf}
 | 
						|
foreground-alt = ${xrdb:color6:#555}
 | 
						|
primary = #ffb52a
 | 
						|
secondary = #e60053
 | 
						|
alert = #bd2c40
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[bar/bottom]
 | 
						|
monitor= ${env:MONITOR}
 | 
						|
 | 
						|
bottom = true
 | 
						|
width = 100%
 | 
						|
height = 22
 | 
						|
radius = 0.0
 | 
						|
fixed-center = true
 | 
						|
 | 
						|
background = ${colors.background}
 | 
						|
foreground = ${colors.foreground}
 | 
						|
 | 
						|
line-size = 3
 | 
						|
line-color = #f00
 | 
						|
 | 
						|
border-size = 0
 | 
						|
border-color = #00000000
 | 
						|
 | 
						|
padding-left = 2
 | 
						|
padding-right = 4
 | 
						|
 | 
						|
locale=ja_JP.UTF-8
 | 
						|
 | 
						|
module-margin-left = 1
 | 
						|
module-margin-right = 2
 | 
						|
 | 
						|
font-0 = fixed:pixelsize=8
 | 
						|
font-1 = unifont:fontformat=truetype:size=6:antialias=false
 | 
						|
font-2 = "Siji:pixelsize=8"
 | 
						|
font-3 = "IPAMincho:style=regular:pixelsize=8"
 | 
						|
 | 
						|
modules-left = powermenu mpd
 | 
						|
modules-center =
 | 
						|
modules-right = filesystem wlan eth volume backlight-acpi cpu memory temperature custom-battery
 | 
						|
 | 
						|
tray-position = none
 | 
						|
tray-padding = 0
 | 
						|
tray-detached = false
 | 
						|
tray-maxsize = 15
 | 
						|
tray-transparent = false
 | 
						|
tray-background = ${colors.background}
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[bar/top]
 | 
						|
monitor= ${env:MONITOR}
 | 
						|
 | 
						|
bottom = false
 | 
						|
width = 100%
 | 
						|
height = 22
 | 
						|
radius = 10.0
 | 
						|
fixed-center = true
 | 
						|
 | 
						|
background = ${colors.background}
 | 
						|
foreground = ${colors.foreground}
 | 
						|
 | 
						|
line-size = 3
 | 
						|
line-color = #f00
 | 
						|
 | 
						|
border-size = 5
 | 
						|
border-color = #00000000
 | 
						|
 | 
						|
padding-left = 2
 | 
						|
padding-right = 4
 | 
						|
 | 
						|
locale=ja_JP.UTF-8
 | 
						|
 | 
						|
module-margin-left = 1
 | 
						|
module-margin-right = 2
 | 
						|
 | 
						|
font-0 = fixed:pixelsize=8
 | 
						|
font-1 = unifont:fontformat=truetype:size=6:antialias=false
 | 
						|
font-2 = "Siji:pixelsize=8"
 | 
						|
font-3 = "IPAMincho:style=regular:pixelsize=8"
 | 
						|
 | 
						|
modules-left = i3
 | 
						|
modules-center = xwindow
 | 
						|
modules-right = date
 | 
						|
 | 
						|
tray-position = none
 | 
						|
tray-padding = 0
 | 
						|
tray-detached = false
 | 
						|
tray-maxsize = 15
 | 
						|
tray-transparent = false
 | 
						|
tray-background = ${colors.background}
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/custom-battery]
 | 
						|
type = custom/script
 | 
						|
exec = polybar-ab -polybar -thr 10
 | 
						|
tail = true
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/xwindow]
 | 
						|
type = internal/xwindow
 | 
						|
 | 
						|
format-prefix-foreground = ${colors.foreground-alt}
 | 
						|
format-prefix-underline = ${colors.secondary}
 | 
						|
format-underline = ${colors.secondary}
 | 
						|
format-padding = 1
 | 
						|
 | 
						|
label = %title%
 | 
						|
label-maxlen = 70
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/xkeyboard]
 | 
						|
type = internal/xkeyboard
 | 
						|
blacklist-0 = num lock
 | 
						|
 | 
						|
format = <label-layout> <label-indicator>
 | 
						|
format-prefix = " "
 | 
						|
format-prefix-foreground = ${colors.foreground}
 | 
						|
format-prefix-underline = ${colors.secondary}
 | 
						|
format-underline = ${colors.secondary}
 | 
						|
format-padding = 1
 | 
						|
 | 
						|
label-layout = %layout% %number%
 | 
						|
label-layout-padding = 1
 | 
						|
label-layout-underline = ${colors.secondary}
 | 
						|
 | 
						|
label-indicator = %name%
 | 
						|
label-indicator-padding = 2
 | 
						|
label-indicator-margin = 1
 | 
						|
label-indicator-background = ${colors.secondary}
 | 
						|
label-indicator-underline = ${colors.secondary}
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/filesystem]
 | 
						|
type = internal/fs
 | 
						|
interval = 20
 | 
						|
 | 
						|
mount-0 = /
 | 
						|
mount-1 = /home
 | 
						|
 | 
						|
format-mounted = <label-mounted>
 | 
						|
label-mounted-underline = ${colors.secondary}
 | 
						|
format-unmounted = <label-unmounted>
 | 
						|
 | 
						|
label-mounted =  %mountpoint%: %used%/%total% (%percentage_used%%)
 | 
						|
label-unmounted = %mountpoint% not mounted
 | 
						|
label-unmounted-foreground = ${colors.foreground-alt}
 | 
						|
label-mounted-foreground = ${colors.foreground}
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/i3]
 | 
						|
type = internal/i3
 | 
						|
index-sort = true
 | 
						|
enable-scroll = false
 | 
						|
wrapping-scroll = false
 | 
						|
strip-wsnumbers = false
 | 
						|
pin-workspaces = true
 | 
						|
fuzzy-match = true
 | 
						|
 | 
						|
label-focused = %icon%
 | 
						|
label-focused-background = ${colors.background-alt}
 | 
						|
label-focused-underline = ${xrdb:color8:#ffff00}
 | 
						|
label-focused-padding = 2
 | 
						|
 | 
						|
label-unfocused = %icon%
 | 
						|
label-unfocused-padding = 2
 | 
						|
 | 
						|
label-visible = %icon%
 | 
						|
label-visible-background = ${self.label-focused-background}
 | 
						|
label-visible-underline = ${self.label-focused-underline}
 | 
						|
label-visible-padding = ${self.label-focused-padding}
 | 
						|
 | 
						|
label-urgent = %icon%
 | 
						|
label-urgent-background = ${xrdb:color0:#bd2c40}
 | 
						|
label-urgent-padding = 2
 | 
						|
 | 
						|
ws-icon-0 = 1;一
 | 
						|
ws-icon-1 = 2;二
 | 
						|
ws-icon-2 = 3;三
 | 
						|
ws-icon-3 = 4;四
 | 
						|
ws-icon-4 = 5;五
 | 
						|
ws-icon-5 = 6;六
 | 
						|
ws-icon-6 = 7;七
 | 
						|
ws-icon-7 = 8;八
 | 
						|
ws-icon-8 = 9;九
 | 
						|
ws-icon-9 = 0;十
 | 
						|
ws-icon-default = %index%
 | 
						|
format = <label-state> <label-mode>
 | 
						|
 | 
						|
label-mode = %mode%
 | 
						|
label-mode-padding = 2
 | 
						|
label-mode-foreground = #000
 | 
						|
label-mode-background = ${colors.background-alt}
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/mpd]
 | 
						|
type = internal/mpd
 | 
						|
 | 
						|
label-song =   %title% - %artist%
 | 
						|
label-song-maxlen = 50
 | 
						|
label-song-ellipsis = true
 | 
						|
 | 
						|
label-offline =  mpd is offline
 | 
						|
format-online = <icon-prev> <toggle> <icon-next> <label-song>
 | 
						|
format-offline = <label-offline>
 | 
						|
 | 
						|
icon-prev = 
 | 
						|
icon-stop = 
 | 
						|
icon-play = 
 | 
						|
icon-pause = 
 | 
						|
icon-next = 
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/backlight-acpi]
 | 
						|
inherit = module/xbacklight
 | 
						|
type = internal/backlight
 | 
						|
card = intel_backlight
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/cpu]
 | 
						|
type = internal/cpu
 | 
						|
interval = 2
 | 
						|
format = <label> <ramp-coreload>
 | 
						|
format-prefix = " "
 | 
						|
format-underline = #f90000
 | 
						|
 | 
						|
label = %percentage%%
 | 
						|
 | 
						|
ramp-coreload-0 = ▁
 | 
						|
ramp-coreload-1 = ▂
 | 
						|
ramp-coreload-2 = ▃
 | 
						|
ramp-coreload-3 = ▄
 | 
						|
ramp-coreload-4 = ▅
 | 
						|
ramp-coreload-5 = ▆
 | 
						|
ramp-coreload-6 = ▇
 | 
						|
ramp-coreload-7 = █
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/memory]
 | 
						|
type = internal/memory
 | 
						|
interval = 2
 | 
						|
 | 
						|
format = <label>
 | 
						|
format-prefix = " "
 | 
						|
format-underline = #4bffdc
 | 
						|
 | 
						|
label = %gb_used%
 | 
						|
 | 
						|
ramp-used-0 = ▁
 | 
						|
ramp-used-1 = ▂
 | 
						|
ramp-used-2 = ▃
 | 
						|
ramp-used-3 = ▄
 | 
						|
ramp-used-4 = ▅
 | 
						|
ramp-used-5 = ▆
 | 
						|
ramp-used-6 = ▇
 | 
						|
ramp-used-7 = █
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/wlan]
 | 
						|
type = internal/network
 | 
						|
interface = wlp3s0
 | 
						|
interval = 3.0
 | 
						|
 | 
						|
format-connected = <ramp-signal> <label-connected>
 | 
						|
format-connected-underline = #9f78e1
 | 
						|
label-connected = %essid%
 | 
						|
 | 
						|
format-disconnected =
 | 
						|
format-disconnected-underline = ${self.format-connected-underline}
 | 
						|
label-disconnected = wifi-none
 | 
						|
 | 
						|
ramp-signal-0 = 
 | 
						|
ramp-signal-1 = 
 | 
						|
ramp-signal-2 = 
 | 
						|
ramp-signal-3 = 
 | 
						|
ramp-signal-4 = 
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/eth]
 | 
						|
type = internal/network
 | 
						|
interface = enp0s25
 | 
						|
interval = 3.0
 | 
						|
 | 
						|
format-connected-underline = #55aa55
 | 
						|
format-connected-prefix = " "
 | 
						|
label-connected = %local_ip%
 | 
						|
 | 
						|
format-disconnected =
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/date]
 | 
						|
type = internal/date
 | 
						|
interval = 1
 | 
						|
 | 
						|
date = %Y-%m-%d
 | 
						|
date-alt = %A %d, %B
 | 
						|
 | 
						|
time = %H:%M:%S
 | 
						|
time-alt = %H:%M:%S
 | 
						|
 | 
						|
format-prefix = 
 | 
						|
format-underline = #0a6cf5
 | 
						|
 | 
						|
label = %date% %time%
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/volume]
 | 
						|
type = internal/alsa
 | 
						|
 | 
						|
format-volume = <label-volume>
 | 
						|
format-volume-prefix = " "
 | 
						|
format-volume-underline = #55aa55
 | 
						|
label-volume = %percentage%%
 | 
						|
 | 
						|
format-muted-prefix = " "
 | 
						|
label-muted = muted
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/xbacklight]
 | 
						|
type = internal/xbacklight
 | 
						|
 | 
						|
format = <label>
 | 
						|
label = %percentage%%
 | 
						|
format-prefix = " "
 | 
						|
format-underline = #9f78e1
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/battery]
 | 
						|
type = internal/battery
 | 
						|
battery = BAT0
 | 
						|
adapter = ACAD
 | 
						|
full-at = 95
 | 
						|
 | 
						|
format-charging = <animation-charging> <label-charging>
 | 
						|
format-charging-underline = #ffb52a
 | 
						|
 | 
						|
format-discharging = <ramp-capacity> <label-discharging>
 | 
						|
format-discharging-underline = ${self.format-charging-underline}
 | 
						|
 | 
						|
format-full-prefix = " "
 | 
						|
format-full-underline = ${self.format-charging-underline}
 | 
						|
; 0-10
 | 
						|
ramp-capacity-0 = 
 | 
						|
ramp-capacity-0-foreground = #f44336
 | 
						|
; 11-20
 | 
						|
ramp-capacity-1 = 
 | 
						|
ramp-capacity-1-foreground = #ff9800
 | 
						|
; 21-30
 | 
						|
ramp-capacity-2 = 
 | 
						|
ramp-capacity-2-foreground = #ffc107
 | 
						|
; 31-40
 | 
						|
ramp-capacity-3 = 
 | 
						|
; 41-50
 | 
						|
ramp-capacity-4 = 
 | 
						|
; 51-60
 | 
						|
ramp-capacity-5 = 
 | 
						|
; 61-70
 | 
						|
ramp-capacity-6 = 
 | 
						|
; 71-80
 | 
						|
ramp-capacity-7 = 
 | 
						|
; 81-90
 | 
						|
ramp-capacity-8 = 
 | 
						|
; 91-100
 | 
						|
ramp-capacity-9 = 
 | 
						|
 | 
						|
animation-charging-0 = 
 | 
						|
animation-charging-1 = 
 | 
						|
animation-charging-2 = 
 | 
						|
animation-charging-3 = 
 | 
						|
animation-charging-4 = 
 | 
						|
animation-charging-5 = 
 | 
						|
animation-charging-6 = 
 | 
						|
animation-charging-7 = 
 | 
						|
animation-charging-8 = 
 | 
						|
animation-charging-9 = 
 | 
						|
animation-charging-framerate = 100
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/temperature]
 | 
						|
type = internal/temperature
 | 
						|
thermal-zone = 0
 | 
						|
warn-temperature = 60
 | 
						|
 | 
						|
format = <ramp> <label>
 | 
						|
format-underline = #f50a4d
 | 
						|
format-warn = <ramp> <label-warn>
 | 
						|
format-warn-underline = ${self.format-underline}
 | 
						|
 | 
						|
label = %temperature-c%
 | 
						|
label-warn = %temperature-c%
 | 
						|
label-warn-foreground = ${colors.secondary}
 | 
						|
 | 
						|
ramp-0 = 
 | 
						|
ramp-1 = 
 | 
						|
ramp-2 = 
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/powermenu]
 | 
						|
type = custom/menu
 | 
						|
 | 
						|
format-spacing = 1
 | 
						|
 | 
						|
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 = poweroff
 | 
						|
menu-0-1-exec = menu-open-2
 | 
						|
menu-0-2 = suspend
 | 
						|
menu-0-2-exec = menu-open-3
 | 
						|
 | 
						|
menu-1-0 = cancel
 | 
						|
menu-1-0-exec = menu-open-0
 | 
						|
menu-1-1 = reboot
 | 
						|
menu-1-1-exec = reboot
 | 
						|
 | 
						|
menu-2-0 = poweroff
 | 
						|
menu-2-0-exec = poweroff
 | 
						|
menu-2-1 = cancel
 | 
						|
menu-2-1-exec = menu-open-0
 | 
						|
 | 
						|
menu-3-0 = suspend
 | 
						|
menu-3-0-exec = "systemctl suspend"
 | 
						|
menu-3-1 = cancel
 | 
						|
menu-3-1-exec = menu-open-0
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/pkg]
 | 
						|
type = custom/script
 | 
						|
interval = 1200
 | 
						|
format = <label>
 | 
						|
format-underline = #dc322f
 | 
						|
label = "%output:0:30%"
 | 
						|
exec = .config/polybar/pkg.sh
 | 
						|
exec-if = "ping -q -w 3 -c 1 176.34.135.167 > /dev/null"
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/mpv]
 | 
						|
type = custom/script
 | 
						|
 | 
						|
exec = sh ~/.config/polybar/mpv.sh
 | 
						|
exec-if = pgrep -x mpv
 | 
						|
interval = 1
 | 
						|
 | 
						|
format = <label>
 | 
						|
label = %output%
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[module/bluetooth]
 | 
						|
type = custom/script
 | 
						|
interval = 5
 | 
						|
 | 
						|
exec = ~/.config/polybar/bluetooth.sh
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[settings]
 | 
						|
screenchange-reload = true
 | 
						|
; compositing-background = xor
 | 
						|
; compositing-background = over
 | 
						|
; compositing-foreground = xor
 | 
						|
; compositing-foreground = source
 | 
						|
; compositing-border = over
 | 
						|
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
;;                                                                            ;;
 | 
						|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
						|
[global/wm]
 | 
						|
margin-top = 5
 | 
						|
margin-bottom = 5
 | 
						|
 | 
						|
; vim:ft=dosini
 |