all repos

dotfiles @ 07805d44aa3c3f35866164242baaaad3fa20a745

i use rach linux btw

dotfiles/config/polybar/config (view raw)

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