-
Notifications
You must be signed in to change notification settings - Fork 0
/
polybar_config
127 lines (98 loc) · 2.32 KB
/
polybar_config
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[colors]
background = #282828
foreground = #a89984
fg-1 = #ffaf5f
fg-2 = #ffd494
primary = #ffb52a
secondary = #e60053
underline = #fb4934
alert = #bd2c40
[font]
size = 18
[bar/main]
monitor = ${env:MONITOR:DP-2}
height = 64
bottom = false
top = true
fixed-center = true
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3
line-color = #f00
padding-left = 1
padding-right = 1
padding-top = 1
padding-bottom = 1
module-margin = 1
font-0 = "Source Code Pro:size=24;2"
font-1 = FontAwesome:size=24;2
font-2 = "Avenir:size=24:weight=bold;2"
; font-3 = "Material Design Icons:size=13;2"
modules-left = i3
modules-center = date
modules-right = polypomo cpu
tray-position = right
tray-detached = false
[module/i3]
type = internal/i3
pin-workspaces = true
index-sort = true
enable-click = true
enable-scroll = false
wrapping-scroll = false
reverse-scroll = false
strip-wsnumbers = true
format = <label-mode><label-state>
label-mode-padding = 1
label-mode-underline = ${colors.underline}
label-focused = %name%
label-focused-foreground = #f6eedb
label-focused-underline = ${colors.underline}
label-focused-padding = 1
label-unfocused = %name%
label-unfocused-padding = 1
label-visible = %name%
label-visible-underline = #555555
label-visible-padding = 1
label-urgent = %name%
label-urgent-foreground = #000000
label-urgent-background = ${colors.underline}
label-urgent-padding = 1
[module/cpu]
format-label = internal/cpu
format = <label>
ramp-coreload-0 = ▁
ramp-coreload-1 = ▂
ramp-coreload-2 = ▃
ramp-coreload-3 = ▄
ramp-coreload-4 = ▅
ramp-coreload-5 = ▆
ramp-coreload-6 = ▇
ramp-coreload-7 = █
type = internal/cpu
interval = 2
label = %{F${colors.foreground} %percentage% %{F-}%
padding = 2
label-background = ${colors.background}
[module/date]
type = internal/date
interval = 1
date = %B %d %Y,
time = %H:%M
label = %date% %time%
[settings]
screenchange-reload = true
; Polybar Pomodoro Plugin
; https://github.com/unode/polypomo
; and add a polypomo module
[module/polypomo]
type = custom/script
; ${env:HOME:/home/horace}
exec = ~/dotfiles/bin/polypomo
tail = true
label = %output%
click-left = ~/dotfiles/bin/polypomo toggle
click-right = ~/dotfiles/bin/polypomo end
click-middle = ~/dotfiles/bin/polypomo lock
scroll-up = ~/dotfiles/bin/polypomo time +60
scroll-down = ~/dotfiles/bin/polypomo time -60