aboutsummaryrefslogtreecommitdiffstats
path: root/dotconfig/polybar/config
blob: 144aefa89aa1d2d7a97baf22e299ee6db9a02daa (plain)
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
128
129
130
; Polybar config
;
; https://github.com/polybar/polybar/wiki

include-file = ~/.config/polybar/bars
include-file = ~/.config/polybar/modules

[color]
	background = #2f343f
	background-alt = #C4C7C5
	foreground = #1C1E20
	foreground-alt = #C4C7C5
	primary = #B4BC67

	white = #FFFFFF
	black = #000000
	red = #EC7875
	pink = #EC6798
	purple = #BE78D1
	blue = #75A4CD
	cyan = #00C7DF
	teal = #00B19F
	green = #61C766
	lime = #B9C244
	yellow = #EBD369
	amber = #EDB83F
	orange = #E57C46
	brown = #AC8476
	gray = #9E9E9E
	indigo = #6C77BB
	blue-gray = #6D8895

[bar/main]
	; Use either of the following command to list available outputs:
	; $ polybar -M | cut -d ':' -f 1
	; $ xrandr -q | grep " connected" | cut -d ' ' -f1
	; If no monitor is given, the primary monitor is used if it exists
	monitor =

	; Tell the Window Manager not to configure the window.
	; Use this to detach the bar if your WM is locking its size/position.
	override-redirect = false

	; Put the bar at the bottom of the screen
	bottom = false

	; Prefer fixed center position for the `modules-center` block
	; When false, the center position will be based on the size of the other blocks.
	fixed-center = true

	; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
	; the percentage can optionally be extended with a pixel offset like so:
	; 50%:-10, this will result in a width or height of 50% minus 10 pixels
	width = 100%
	height = 34

	; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
	; the percentage can optionally be extended with a pixel offset like so:
	; 50%:-10, this will result in an offset in the x or y direction 
	; of 50% minus 10 pixels
	offset-x = 0%
	offset-y = 0%

	; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
	background = ${color.background}

	; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
	foreground = ${color.foreground}

	; Value used for drawing rounded corners
	; Note: This shouldn't be used together with border-size because the border 
	; doesn't get rounded
	; Individual top/bottom values can be defined using:
	;   radius-{top,bottom}
	radius-top = 0.0
	radius-bottom = 0.0

	; Under-/overline pixel size and argb color
	; Individual values can be defined using:
	;   {overline,underline}-size
	;   {overline,underline}-color
	line-size = 5
	line-color = ${color.background}

	; Values applied to all borders
	; Individual side values can be defined using:
	;   border-{left,top,right,bottom}-size
	;   border-{left,top,right,bottom}-color
	; The top and bottom borders are added to the bar height, so the effective
	; window height is:
	;   height + border-top-size + border-bottom-size
	; Meanwhile the effective window width is defined entirely by the width key and
	; the border is placed withing this area. So you effectively only have the
	; following horizontal space on the bar:
	;   width - border-right-size - border-left-size
	border-bottom-size = 0
	border-bottom-color = ${color.primary}

	; Number of spaces to add at the beginning/end of the bar
	; Individual side values can be defined using:
	;   padding-{left,right}
	padding = 0

	; Number of spaces to add before/after each module
	; Individual side values can be defined using:
	;   module-margin-{left,right}
	module-margin = 0

	; Fonts are defined using <font-name>;<vertical-offset>
	; Font names are specified using a fontconfig pattern.
	;   font-0 = NotoSans-Regular:size=8;2
	;   font-1 = MaterialIcons:size=10
	;   font-2 = Termsynu:size=8;-1
	;   font-3 = FontAwesome:size=10
	; See the Fonts wiki page for more details
	font-0 = "Terminus:size=10;3"
	font-1 = "waffle:size=10;3"

	; Modules
	modules-left = sep workspaces sep network
	modules-center = title
	modules-right = cpu_bar sep memory_bar sep keyboard sep pulseaudio sep date sep

[global/wm]
	margin-top = 0
	margin-bottom = 0

[settings]
	; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
	screenchange-reload = true