summaryrefslogtreecommitdiffstats
path: root/.config/polybar/config##c.desktop,h.Lowe
diff options
context:
space:
mode:
authorYigit Sever2019-11-23 16:24:43 +0300
committerYigit Sever2019-11-23 16:24:43 +0300
commit9e0348c7eebf0619bfc6906dcf85cac4137ab09c (patch)
treeb36b9f87d21599d71248973496fafeb89321d83c /.config/polybar/config##c.desktop,h.Lowe
parent2695fa11d655f5777838711c3351d909d5db117f (diff)
downloaddotfiles-9e0348c7eebf0619bfc6906dcf85cac4137ab09c.tar.gz
dotfiles-9e0348c7eebf0619bfc6906dcf85cac4137ab09c.tar.bz2
dotfiles-9e0348c7eebf0619bfc6906dcf85cac4137ab09c.zip
Migrate to yadm 2.0
https://yadm.io/docs/upgrade_from_1
Diffstat (limited to '.config/polybar/config##c.desktop,h.Lowe')
-rw-r--r--.config/polybar/config##c.desktop,h.Lowe285
1 files changed, 285 insertions, 0 deletions
diff --git a/.config/polybar/config##c.desktop,h.Lowe b/.config/polybar/config##c.desktop,h.Lowe
new file mode 100644
index 0000000..972e360
--- /dev/null
+++ b/.config/polybar/config##c.desktop,h.Lowe
@@ -0,0 +1,285 @@
1;==========================================================
2;
3; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
4; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
5; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
6; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
7; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
8; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
9;
10;==========================================================
11
12[colors]
13background = #0c1014
14background_alt = #0a3749
15background_modules = #fbf1c7
16foreground = #d3ebe9
17foreground_alt = #99d1ce
18foreground_modules = #282828
19red = #9d0006
20green = #427b58
21sold_out_green = #1DB954
22yellow = #b56714
23blue = #458588
24purple = #8f3f71
25aqua = #689d6a
26orange = #d65d0e
27primary = #d26937
28secondary = #888ca6
29alert = #c23127
30
31[bar/top]
32monitor = DP-2
33width = 100%
34height = 20
35offset-x = 0
36offset-y = 0
37radius = 0
38fixed-center = true
39
40background = ${colors.background}
41foreground = ${colors.foreground}
42
43border-top-size = 0
44border-bottom-size = 0
45border-top-color = ${colors.background}
46border-bottom-color = ${colors.background}
47
48padding = 2
49module-margin = 1
50
51font-0 = scientifica:antialias=false;0
52font-1 = Lato:size=10;1
53font-2 = Raleway:size=10;1
54font-3 = FuraCode Nerd Font:size=11;2
55
56modules-left = i3 pulseaudio-control spotify
57modules-center = xwindow
58modules-right = focus date time xkeyboard
59
60tray-position = right
61
62[module/focus]
63type = custom/script
64exec = ~/.config/polybar/focus
65interval = 10
66
67[module/spotify]
68type = custom/script
69interval = 1
70format-prefix = ""
71format-prefix-padding = 1
72format-prefix-background = ${colors.sold_out_green}
73format-prefix-foreground = ${colors.foreground}
74format = <label>
75format-padding = 0
76exec = python /home/yigit/.config/polybar/spotify_status.py -f '{play_pause} {artist} - {song}' -p ' , '
77;契
78
79; [module/dpmpd]
80; type = internal/mpd
81; host = 127.0.0.1
82; port = 6600
83
84; format-online = <toggle> <label-song> <icon-random>
85; label-song = %artist:0:24:...% - %title:0:24:...%
86; icon-pause = 
87; icon-play = 
88; icon-random = 咽
89
90; toggle-on-foreground = ${colors.background_modules}
91; toggle-off-foreground = ${colors.foreground_modules}
92
93; format-offline = <label-offline>
94; label-offline = mpd is offline
95
96[module/xwindow]
97type = internal/xwindow
98format = <label>
99label = %title:0:70:...%
100
101y-offset = 10
102label-padding = 1
103label-font = 1
104
105label-empty = 
106label-empty-font = 3
107label-empty-padding = 5
108
109[module/xkeyboard]
110type = internal/xkeyboard
111blacklist-0 = num lock
112blacklist-1 = scroll lock
113
114format = <label-layout> <label-indicator>
115format-spacing = 0
116
117format-prefix = 
118format-prefix-padding = 1
119format-prefix-background = ${colors.blue}
120format-prefix-foreground = ${colors.foreground}
121format-prefix-font = 3
122
123label-layout = %name%
124label-layout-padding = 1
125label-layout-background = ${colors.background_modules}
126label-layout-foreground = ${colors.foreground_modules}
127
128label-indicator-padding = 2
129label-indicator-margin =
130label-indicator-background = ${colors.alert}
131
132[module/i3]
133type = internal/i3
134format = <label-state> <label-mode>
135index-sort = true
136wrapping-scroll = false
137strip-wsnumbers = true
138
139label-mode-background = ${colors.background_modules}
140label-mode-foreground = ${colors.foreground_modules}
141label-mode-padding = 2
142
143label-focused = %name%
144label-focused-background = ${colors.red}
145label-focused-foreground = ${colors.background_modules}
146label-focused-padding = 1
147
148label-unfocused = %name%
149label-unfocused-background = ${colors.background_modules}
150label-unfocused-foreground = ${colors.foreground_modules}
151label-unfocused-padding = 1
152
153label-visible = %name%
154label-visible-background = ${colors.background_modules}
155label-visible-foreground = ${colors.foreground_modules}
156label-visible-padding = 1
157
158label-urgent = %index%
159label-urgent-background = ${colors.alert}
160label-urgent-foreground = ${colors.background}
161label-urgent-padding = 1
162
163[module/download]
164type = internal/network
165interface = enp1s0
166interval = 3.0
167
168format-connected = <label-connected>
169
170format-connected-prefix = 
171format-connected-prefix-padding = 1
172format-connected-prefix-background = ${colors.green}
173format-connected-prefix-foreground = ${colors.foreground}
174
175label-connected = %downspeed%
176label-connected-background = ${colors.background_modules}
177label-connected-foreground = ${colors.foreground_modules}
178label-connected-padding = 1
179
180format-disconnected = <label-disconnected>
181label-disconnected = %ifname% disconnected 
182
183[module/upload]
184type = internal/network
185interface = enp1s0
186interval = 3.0
187
188format-connected = <label-connected>
189
190format-connected-prefix = 
191format-connected-prefix-padding = 1
192format-connected-prefix-background = ${colors.yellow}
193format-connected-prefix-foreground = ${colors.foreground}
194
195label-connected = %upspeed%
196label-connected-background = ${colors.background_modules}
197label-connected-foreground = ${colors.foreground_modules}
198label-connected-padding = 1
199
200[module/date]
201type = internal/date
202interval = 1
203
204date = %Y-%m-%d %A
205label = %date%
206format = <label>
207
208format-prefix = 
209format-prefix-background = ${colors.orange}
210format-prefix-foreground = ${colors.foreground}
211format-prefix-font = 3
212format-prefix-padding = 1
213
214label-background = ${colors.background_modules}
215label-foreground = ${colors.foreground_modules}
216label-padding = 1
217
218[module/time]
219type = internal/date
220interval = 1
221
222time = %H:%M
223label = %time%
224format = <label>
225
226format-prefix = 
227format-prefix-background = ${colors.secondary}
228format-prefix-foreground = ${colors.foreground}
229format-prefix-font = 3
230format-prefix-padding = 1
231
232label-background = ${colors.background_modules}
233label-foreground = ${colors.foreground_modules}
234label-padding = 1
235
236[module/pulseaudio]
237type = internal/pulseaudio
238interval = 5
239
240format-volume = <label-volume>
241
242format-volume-prefix = 
243format-volume-prefix-background = ${colors.purple}
244format-volume-prefix-foreground = ${colors.background_modules}
245format-volume-prefix-font = 3
246format-volume-prefix-padding = 1
247
248label-volume = %percentage%
249label-volume-background = ${colors.background_modules}
250label-volume-foreground = ${colors.foreground_modules}
251label-volume-padding = 1
252
253label-muted = 
254label-muted-background = ${colors.purple}
255label-muted-foreground = ${colors.foreground}
256label-muted-padding = 2
257
258[module/pulseaudio-control]
259type = custom/script
260tail = true
261label = %output%
262interval = 5
263
264exec = ~/.config/polybar/pulseaudio-control.sh --listen
265click-right = exec pavucontrol &
266click-left = ~/.config/polybar/pulseaudio-control.sh --togmute
267click-middle = ~/.config/polybar/pulseaudio-control.sh --change
268scroll-up = ~/.config/polybar/pulseaudio-control.sh --up
269scroll-down = ~/.config/polybar/pulseaudio-control.sh --down
270label-padding = 2
271label-foreground = ${colors.foreground_modules}
272label-background = ${colors.background_modules}
273
274[settings]
275screenchange-reload = true
276compositing-background = source
277compositing-foreground = source
278compositing-border = over
279pseudo-transparency = false
280
281[global/wm]
282margin-top = 5
283margin-bottom = 5
284
285; vim:ft=dosini