aboutsummaryrefslogtreecommitdiff
path: root/polybar/config
blob: 59fbc3cda7b8bb379d5563f5349a48d9911ce7c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[bar/base]
monitor-strict = false
monitor-exact = true
override-redirect = false
bottom = false
height = 30
padding = 2
background = #000000
foreground = #ffffff
font-0 = "RobotoMono Nerd Font:size=12"
font-1 = "Inter Medium:size=12"
module-margin = 1
separator = |
separator-foreground = #919191
modules-left = bspwm title
modules-center =
modules-right = wlan0 eth0 pulseaudio battery date

[bar/bar1]
inherit = bar/base
monitor =
tray-position = right

[bar/bar2]
inherit = bar/base
monitor = DP1-2
monitor-fallback = DP3
tray-position = none

[module/bspwm]
type = internal/bspwm
pin-workspaces = true
format = <label-state>
label-dimmed-focused-background = ${bar/base.background}
label-focused = [ %name% ]
label-focused-foreground = ${bar/base.foreground}
label-focused-background = #3f3f3f
label-occupied = %name%
label-urgent = %name%
label-urgent-foreground = ${bar/base.foreground}
label-urgent-background = #bd2c40
label-empty = %name%
label-empty-foreground = #555555
label-separator = |
label-separator-padding = 2
label-separator-foreground = ${bar/base.separator-foreground}

[module/title]
type = internal/xwindow
label = %{T2}%title%
label-maxlen = 100

[module/wlan0]
type = internal/network
interface = wlan0
label-connected = 直 %essid% %local_ip%
label-connected-foreground = ${bar/base.foreground}
label-disconnected = 睊
label-disconnected-foreground = #66ffffff
click-right = connman-gtk &

[module/eth0]
type = internal/network
interface = eth0
label-connected = ﯱ %local_ip%
label-connected-foreground = ${bar/base.foreground}
label-disconnected = 
label-disconnected-foreground = #66ffffff
click-left = connman-gtk &

[module/pulseaudio]
type = internal/pulseaudio
use-ui-max = false
format-volume = <ramp-volume> <label-volume>
label-volume = %percentage:3%%
label-muted = 婢 muted
label-muted-foreground = #666
ramp-volume-0 = 奄
ramp-volume-1 = 奔
ramp-volume-2 = 墳
click-right = pavucontrol &

[module/battery]
type = internal/battery
label-charging =  %percentage:3%
label-discharging =  %percentage:3%
label-full =  %percentage:3%
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-3 = 
ramp-capacity-4 = 

[module/date]
type = internal/date
date =  %Y-%m-%d %H:%M