Files
dots/files/.config/polybar/config
2021-12-28 14:29:51 +01:00

102 lines
1.8 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[bar/bar]
font-0 = "JuliaMono:pixelsize=10;3"
font-1 = "Noto Sans Mono CJK JP:pixelsize=10;1"
scroll-up = i3wm-wsprev
scroll-down = i3wm-wsnext
fixed-center = true
width = 100%
height = 30
background = #ffffff
foreground = #5c6773
bottom = false
tray-position = right
line-size = 4
padding-left = 1
padding-right = 1
module-margin = 1
modules-left = logo i3 polywins
modules-center = date time
modules-right = backlight pulseaudio battery
[module/i3]
strip-wsnumbers = true
wrapping-scroll = false
type = internal/i3
format = <label-state> <label-mode>
label-focused = %index%
label-focused-background = #a6cc70
label-focused-padding = 1
label-unfocused = %index%
label-unfocused-padding = 1
label-visible = %index%
label-visible-padding = 1
label-urgent = %index%
label-urgent-overline = #ff3333
label-urgent-padding = 1
[module/date]
type = internal/date
interval = 1.0
date = %A, %B %d, %Y
[module/time]
type = internal/date
interval = 1.0
date = %H:%M:%S
[module/pulseaudio]
type = internal/pulseaudio
sink = master
use-ui-max = true
interval = 5
format-volume = 音 「<label-volume>」
label-muted = muted
click-right = pavucontrol
[module/title]
type = internal/xwindow
format-padding = 1
label-maxlen = 100
[module/logo]
type = custom/text
content = "花"
content-padding = 1
[module/battery]
type = internal/battery
full-at = 99
battery = BAT0
adapter = ADP1
time-format = %H:%M
label-charging = 電池 「charging %percentage%% - %time%」
label-discharging = 電池 「%percentage%%」
label-full = 電池 「full」
[module/backlight]
type = internal/backlight
card = amdgpu_bl0
label = 電気 「%percentage%%」
[module/polywins]
type = custom/script
exec = /home/marc/dots/files/polywins.sh 2>/dev/null
format = <label>
label = %output%
label-padding = 1
tail = true