all repos

dotfiles @ 99cc99c7d44dd1d6b40eee0ae9dfe16eb1d5a2ce

i use rach linux btw

dotfiles/config/polybar/config (view raw)

1
[settings]
2
pseudo-transparency = true
3
4
[colors]
5
background = #002B36
6
background-alt = #002236
7
foreground = #dfdfdf
8
foreground-alt = #f0f0f0
9
primary = #268bd2
10
secondary = #218DC8
11
alert = #268bd2
12
13
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14
[bar/bar]
15
;monitor = ${env:MONITOR:HDMI-1}
16
width = 100%
17
height = 25
18
fixed-center = true 
19
locale = en_US.UTF-8 
20
21
background = ${colors.background}
22
foreground = ${colors.foreground}
23
24
line-size = 2
25
line-color = #f00
26
27
padding-left = 0
28
padding-right = 0
29
module-margin-left = 1
30
module-margin-right = 1
31
32
font-0 = Iosevka Nerd Font:style=Medium:size=8;3
33
font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5
34
font-2 = Weather Icons:size=7;2
35
36
;; Modules position ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::;
37
modules-left =  i3 sp2 weather updates-pacman
38
modules-center =
39
modules-right = pulseaudio microphone backlight keyboard clipmenu wifi-signal date time sp2
40
tray-position = right
41
tray-padding = 2
42
tray-detached = false
43
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
44
[settings]
45
screenchange-reload = true
46
47
48
[global/wm]
49
margin-top = 5
50
margin-bottom = 5
51
cursor-click = pointer
52
cursor-scroll = ns-resize
53
wm-restack = i3
54
55
56
[module/i3]
57
type = internal/i3
58
format = <label-state><label-mode>
59
index-sort = true
60
wrapping-scroll = false
61
label-mode-padding = 1
62
label-mode-foreground = #000
63
label-mode-background = ${colors.primary}
64
65
label-focused = %icon%
66
label-focused-background =  073642
67
label-focused-foreground = ${colors.foreground}
68
label-focused-padding = 1
69
label-focused-underline = 268bd2
70
71
label-unfocused = %icon%
72
label-unfocused-foreground = ${colors.foreground}
73
label-unfocused-padding = 1
74
75
label-urgent = %icon%
76
label-urgent-background = ${colors.alert}
77
label-urgent-foreground = ${colors.foreground}
78
label-urgent-padding = 1
79
label-urgent-underline = ${colors.alert}
80
81
label-visible = %icon%
82
label-visible-background = ${colors.background}
83
label-visible-foreground = ${colors.foreground}
84
label-visible-padding = 1
85
label-visible-underline = ${colors.background}
86
87
ws-icon-0 = "1;1 "
88
ws-icon-1 = "2;2 "
89
ws-icon-2 = "3;3 "
90
ws-icon-3 = "4;4 "
91
ws-icon-4 = "5;5 "
92
ws-icon-5 = "6;6 "
93
ws-icon-6 = "7;7 "
94
ws-icon-7 = 8;8
95
ws-icon-8 = 9;9
96
ws-icon-9 = "10;10 "
97
;label-separator = |
98
99
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
100
;; INCLUDE MODULES
101
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
102
[module/backlight]
103
type = internal/xbacklight
104
format = <ramp> <label>
105
label = %percentage%%
106
ramp-0 = 
107
108
109
[module/wifi-name]
110
type = internal/network
111
interface = wlp3s0
112
format-connected = <ramp-signal> <label-connected>
113
label-connected = %essid%
114
format-disconnected =  No sing
115
ramp-signal-0 = 
116
interval = 3.0
117
118
119
[module/wifi-signal]
120
type = custom/script
121
label =  %output:%%
122
exec = ~/.config/polybar/scripts/wifi-signal.sh
123
interval = 3.0
124
125
126
[module/filesystem]
127
type = internal/fs
128
interval = 25
129
mount-0 = /
130
mount-1 = /home
131
label-mounted = %{F#c38611} %mountpoint%: %percentage_used%%
132
label-unmounted = %mountpoint% not mounted
133
label-unmounted-foreground = ${colors.foreground-alt}
134
135
136
[module/pulseaudio]
137
type = internal/pulseaudio
138
format-volume = <ramp-volume> <label-volume> 
139
label-volume = %percentage%%
140
label-volume-foreground = ${root.foreground}
141
label-muted = 
142
143
ramp-volume-0 = 
144
ramp-volume-1 = 
145
ramp-volume-2 = 
146
ramp-volume-3 = 
147
ramp-volume-4 = 
148
149
150
[module/cpu]
151
type = internal/cpu
152
interval = 2
153
format-prefix = " "
154
format-prefix-foreground = ${colors.foreground-alt}
155
label = %{F#1ecb0b} CPU %percentage%% 
156
157
158
[module/memory]
159
type = internal/memory
160
interval = 2
161
format-prefix = " "
162
label = %{F#8d61ff}  MEM %percentage_used%%
163
164
165
[module/weather]
166
type = custom/script
167
exec = python3 ~/.config/polybar/scripts/weather.py
168
interval = 60
169
label-font = 1
170
171
172
[module/spotify]
173
type = custom/script
174
interval = 1
175
format = <label>
176
exec = python ~/.config/polybar/scripts/spotify_status.py -f '{artist} - {song}'
177
format-underline = #1db954
178
179
180
[module/updates-pacman]
181
type = custom/script
182
exec = ~/.config/polybar/scripts/updates-pacman-aur.sh
183
interval = 60
184
185
186
[module/keyboard]
187
type = internal/xkeyboard
188
label-NAME-maxlen = 10
189
format-prefix = ""
190
label-layout =  %layout%
191
192
blacklist-0 = num lock
193
blacklist-1 = scroll lock
194
blacklist-2= caps lock
195
196
197
[module/microphone]
198
type = custom/script
199
label = %output:0:40:...%
200
exec = ~/.config/polybar/scripts/microphone.sh  
201
click-left = ~/.config/polybar/scripts/microphone.sh --click
202
interval = 0
203
204
205
[module/sp2]
206
type = custom/text
207
content = "┇"
208
209
210
[module/date]
211
type = internal/date
212
interval = 600
213
date = %b %e
214
label =  %date%
215
216
217
[module/time]
218
type = internal/date
219
interval = 0
220
time = %H:%M
221
label =  %time%
222
223
224
[module/title]
225
type = internal/xwindow
226
label = %{F#f0f0f0}%title:0:50:...%
227
label-empty = Empty
228
label-empty-foreground = #707880
229
label-maxlen = 30
230
231
[module/clipmenu]
232
type = custom/text
233
content = ""
234
click-left = "CM_LAUNCHER=rofi clipmenu"
235
interval = 0