all repos

dotfiles @ 917b691

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