summaryrefslogtreecommitdiffstats
path: root/.config/polybar
diff options
context:
space:
mode:
authorYigit Sever2021-10-13 16:34:04 +0300
committerYigit Sever2021-10-13 16:34:04 +0300
commit0806b6150cab08cb0525eef337cd88c969054ae1 (patch)
tree5b7d5f6524b803242420605926b7f03653df2470 /.config/polybar
parent59f586eb1334c4d370ed5cb4bb59b13d95f22ec3 (diff)
downloaddotfiles-0806b6150cab08cb0525eef337cd88c969054ae1.tar.gz
dotfiles-0806b6150cab08cb0525eef337cd88c969054ae1.tar.bz2
dotfiles-0806b6150cab08cb0525eef337cd88c969054ae1.zip
lowe: setup
Diffstat (limited to '.config/polybar')
-rw-r--r--.config/polybar/config##h.lowe178
1 files changed, 41 insertions, 137 deletions
diff --git a/.config/polybar/config##h.lowe b/.config/polybar/config##h.lowe
index 8df5653..e31d3cc 100644
--- a/.config/polybar/config##h.lowe
+++ b/.config/polybar/config##h.lowe
@@ -10,26 +10,20 @@
10;========================================================== 10;==========================================================
11 11
12[colors] 12[colors]
13background = #0c1014 13background = #cc191724
14background_alt = #0a3749 14background_modules = #cce0def4
15background_modules = #fbf1c7 15foreground = #e0def4
16foreground = #d3ebe9 16foreground_modules = #1f1d2e
17foreground_alt = #99d1ce 17red = #eb6f92
18foreground_modules = #282828 18green = #9ccfd8
19red = #9d0006
20green = #427b58
21sold_out_green = #1DB954 19sold_out_green = #1DB954
22yellow = #b56714 20yellow = #f6c177
23blue = #458588 21blue = #31748f
24purple = #8f3f71 22purple = #ebbcba
25aqua = #689d6a 23pink = #c4a7e7
26orange = #d65d0e
27primary = #d26937
28secondary = #888ca6
29alert = #c23127
30 24
31[bar/top] 25[bar/top]
32monitor = DP-2 26monitor = VGA-1
33width = 100% 27width = 100%
34height = 20 28height = 20
35offset-x = 0 29offset-x = 0
@@ -48,14 +42,12 @@ border-bottom-color = ${colors.background}
48padding = 2 42padding = 2
49module-margin = 1 43module-margin = 1
50 44
51font-0 = Cozette:antialias=false;2 45font-0 = scientifica:antialias=false;1
52font-1 = Lato:size=10;1 46font-1 = Siji:size=20;1
53font-2 = Raleway:size=10;1
54font-3 = FuraCode Nerd Font:size=11;2
55 47
56modules-left = i3 pulseaudio-control spotify 48modules-left = i3 pulseaudio-control spotify
57modules-center = xwindow 49modules-center = xwindow
58modules-right = focus date time xkeyboard 50modules-right = focus date time
59 51
60tray-position = right 52tray-position = right
61 53
@@ -73,26 +65,9 @@ format-prefix-background = ${colors.sold_out_green}
73format-prefix-foreground = ${colors.foreground} 65format-prefix-foreground = ${colors.foreground}
74format = <label> 66format = <label>
75format-padding = 0 67format-padding = 0
76exec = python /home/yigit/.config/polybar/spotify_status.py -f '{play_pause} {artist} - {song}' -p ', ' 68exec = python /usr/share/polybar/scripts/spotify_status.py -f '{play_pause} {artist} - {song}' -p ', '
77;契 69;契
78 70
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] 71[module/xwindow]
97type = internal/xwindow 72type = internal/xwindow
98format = <label> 73format = <label>
@@ -100,103 +75,56 @@ label = %title:0:70:...%
100 75
101y-offset = 10 76y-offset = 10
102label-padding = 1 77label-padding = 1
103label-font = 1
104 78
105label-empty =  79label-empty = 
106label-empty-font = 3
107label-empty-padding = 5 80label-empty-padding = 5
108 81
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] 82[module/i3]
133type = internal/i3 83type = internal/i3
134format = <label-state> <label-mode> 84format = <label-state>
135index-sort = true 85index-sort = true
136wrapping-scroll = false 86wrapping-scroll = false
137strip-wsnumbers = true 87strip-wsnumbers = true
138 88
89ws-icon-default = 
90ws-icon-0 = 0;
91ws-icon-1 = 1;
92ws-icon-2 = 2;
93ws-icon-3 = 3;
94ws-icon-4 = 4;
95ws-icon-5 = 5;
96ws-icon-6 = 6;
97ws-icon-7 = 7;
98ws-icon-8 = 8;
99ws-icon-9 = 9;
100ws-icon-10 = zotero;
101ws-icon-11 = desktop;
102ws-icon-12 = browser;
103
139label-mode-background = ${colors.background_modules} 104label-mode-background = ${colors.background_modules}
140label-mode-foreground = ${colors.foreground_modules} 105label-mode-foreground = ${colors.foreground_modules}
141label-mode-padding = 2 106label-mode-padding = 2
142 107
143label-focused = %name% 108label-focused = %icon%
144label-focused-background = ${colors.red} 109label-focused-background = ${colors.blue}
145label-focused-foreground = ${colors.background_modules} 110label-focused-foreground = ${colors.background_modules}
146label-focused-padding = 1 111label-focused-padding = 1
147 112
148label-unfocused = %name% 113label-unfocused = %icon%
149label-unfocused-background = ${colors.background_modules} 114label-unfocused-background = ${colors.background_modules}
150label-unfocused-foreground = ${colors.foreground_modules} 115label-unfocused-foreground = ${colors.foreground_modules}
151label-unfocused-padding = 1 116label-unfocused-padding = 1
152 117
153label-visible = %name% 118label-visible = %icon%
154label-visible-background = ${colors.background_modules} 119label-visible-background = ${colors.background_modules}
155label-visible-foreground = ${colors.foreground_modules} 120label-visible-foreground = ${colors.foreground_modules}
156label-visible-padding = 1 121label-visible-padding = 1
157 122
158label-urgent = %index% 123label-urgent = %icon%
159label-urgent-background = ${colors.alert} 124label-urgent-background = ${colors.red}
160label-urgent-foreground = ${colors.background} 125label-urgent-foreground = ${colors.background}
161label-urgent-padding = 1 126label-urgent-padding = 1
162 127
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] 128[module/date]
201type = internal/date 129type = internal/date
202interval = 1 130interval = 1
@@ -205,10 +133,9 @@ date = %Y-%m-%d %A
205label = %date% 133label = %date%
206format = <label> 134format = <label>
207 135
208format-prefix = 136format-prefix =
209format-prefix-background = ${colors.orange} 137format-prefix-background = ${colors.yellow}
210format-prefix-foreground = ${colors.foreground} 138format-prefix-foreground = ${colors.foreground}
211format-prefix-font = 3
212format-prefix-padding = 1 139format-prefix-padding = 1
213 140
214label-background = ${colors.background_modules} 141label-background = ${colors.background_modules}
@@ -223,38 +150,15 @@ time = %H:%M
223label = %time% 150label = %time%
224format = <label> 151format = <label>
225 152
226format-prefix = 153format-prefix =
227format-prefix-background = ${colors.secondary} 154format-prefix-background = ${colors.blue}
228format-prefix-foreground = ${colors.foreground} 155format-prefix-foreground = ${colors.foreground}
229format-prefix-font = 3
230format-prefix-padding = 1 156format-prefix-padding = 1
231 157
232label-background = ${colors.background_modules} 158label-background = ${colors.background_modules}
233label-foreground = ${colors.foreground_modules} 159label-foreground = ${colors.foreground_modules}
234label-padding = 1 160label-padding = 1
235 161
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] 162[module/pulseaudio-control]
259type = custom/script 163type = custom/script
260tail = true 164tail = true