summaryrefslogtreecommitdiffstats
path: root/.config/polybar
diff options
context:
space:
mode:
authorYigit Sever2021-10-12 00:00:06 +0300
committerYigit Sever2021-10-12 00:00:06 +0300
commit59ff76ddcebecb38114631811ac9a84d56ef0322 (patch)
treed778776782c9f78b64e83fa3c492d753a6b345af /.config/polybar
parentc1642f7bb58226ee1497064b85c4037e7e9c9be3 (diff)
downloaddotfiles-59ff76ddcebecb38114631811ac9a84d56ef0322.tar.gz
dotfiles-59ff76ddcebecb38114631811ac9a84d56ef0322.tar.bz2
dotfiles-59ff76ddcebecb38114631811ac9a84d56ef0322.zip
polybar, luchs: modernize
diffstat (limited to '.config/polybar')
-rw-r--r--.config/polybar/config##h.luchs90
1 files changed, 43 insertions, 47 deletions
diff --git a/.config/polybar/config##h.luchs b/.config/polybar/config##h.luchs
index cb8757b..efea4d1 100644
--- a/.config/polybar/config##h.luchs
+++ b/.config/polybar/config##h.luchs
@@ -53,7 +53,7 @@ font-1 = Siji:size=20;1
53 53
54modules-left = i3 pulseaudio-control spotify 54modules-left = i3 pulseaudio-control spotify
55modules-center = xwindow 55modules-center = xwindow
56modules-right = backlight battery date time xkeyboard 56modules-right = backlight battery date time
57 57
58tray-position = right 58tray-position = right
59 59
@@ -77,28 +77,19 @@ exec = python /usr/share/polybar/scripts/spotify_status.py -f '{play_pause} {art
77[module/backlight] 77[module/backlight]
78type = internal/xbacklight 78type = internal/xbacklight
79 79
80; Available tags:
81; <label> (default)
82; <ramp>
83; <bar>
84format = <ramp><label> 80format = <ramp><label>
85;format-background = ${colors.background_modules}
86;format-foreground = ${colors.foreground_modules}
87 81
88; Available tokens:
89; %percentage% (default)
90label = %percentage%% 82label = %percentage%%
91 83
92; Only applies if <ramp> is used
93ramp-font = 4 84ramp-font = 4
94ramp-background = ${colors.primary} 85ramp-background = ${colors.primary}
95ramp-foreground = ${colors.foreground} 86ramp-foreground = ${colors.foreground}
96ramp-padding = 1 87ramp-padding = 1
97ramp-0 =  88ramp-0 = ξ€₯
98ramp-1 =  89ramp-1 = ξ€£
99ramp-2 =  90ramp-2 = ξ€€
100ramp-3 =  91ramp-3 = ξ€£
101ramp-4 =  92ramp-4 = 
102 93
103label-padding = 1 94label-padding = 1
104label-background = ${colors.background_modules} 95label-background = ${colors.background_modules}
@@ -122,47 +113,33 @@ animation-charging-background = ${colors.green}
122animation-charging-foreground = ${colors.foreground} 113animation-charging-foreground = ${colors.foreground}
123animation-charging-padding = 1 114animation-charging-padding = 1
124 115
125; Available tags:
126; <label-full> (default)
127; <bar-capacity>
128; <ramp-capacity>
129;format-full = <ramp-capacity> <label-full>
130
131; Available tokens:
132; %percentage% (default)
133; %time%
134; %consumption% (shows current charge rate in watts)
135label-charging = %percentage%% %time% 116label-charging = %percentage%% %time%
136label-charging-background = ${colors.background_modules} 117label-charging-background = ${colors.background_modules}
137label-charging-foreground = ${colors.foreground_modules} 118label-charging-foreground = ${colors.foreground_modules}
138label-charging-padding = 1 119label-charging-padding = 1
139 120
140; Available tokens:
141; %percentage% (default)
142; %time%
143; %consumption% (shows current discharge rate in watts)
144label-discharging = %percentage%% %time% 121label-discharging = %percentage%% %time%
145label-discharging-background = ${colors.background_modules} 122label-discharging-background = ${colors.background_modules}
146label-discharging-foreground = ${colors.foreground_modules} 123label-discharging-foreground = ${colors.foreground_modules}
147label-discharging-padding = 1 124label-discharging-padding = 1
148 125
149; Available tokens: 126label-full = ξ€Ώ
150; %percentage% (default) 127label-full-background = ${colors.green}
151label-full = full 128label-full-foreground = ${colors.foreground_modules}
129label-full-padding = 1
152 130
153; Only applies if <ramp-capacity> is used 131; Only applies if <ramp-capacity> is used
154ramp-capacity-0 =  132ramp-capacity-0 = 
155ramp-capacity-1 =  133ramp-capacity-1 = 
156ramp-capacity-2 =  134ramp-capacity-2 = ξ€Ά
157ramp-capacity-3 =  135ramp-capacity-3 = ξ€·
158ramp-capacity-4 = 
159 136
160; Only applies if <animation-charging> is used 137; Only applies if <animation-charging> is used
161animation-charging-0 =  138animation-charging-0 = 
162animation-charging-1 =  139animation-charging-1 = 
163animation-charging-2 =  140animation-charging-2 = ξ€Ά
164animation-charging-3 =  141animation-charging-3 = ξ€·
165animation-charging-4 =  142
166; Framerate in milliseconds 143; Framerate in milliseconds
167animation-charging-framerate = 750 144animation-charging-framerate = 750
168 145
@@ -204,35 +181,54 @@ label-indicator-background = ${colors.alert}
204 181
205[module/i3] 182[module/i3]
206type = internal/i3 183type = internal/i3
207format = <label-state> <label-mode> 184format = <label-state>
208index-sort = true 185index-sort = true
209wrapping-scroll = false 186wrapping-scroll = false
210strip-wsnumbers = true 187strip-wsnumbers = true
211 188
189ws-icon-default = 
190ws-icon-0 = 0;ξ…Ÿ
191ws-icon-1 = 1;ξ… 
192ws-icon-2 = 2;ξ…‘
193ws-icon-3 = 3;ξ…’
194ws-icon-4 = 4;ξ…£
195ws-icon-5 = 5;ξ…€
196ws-icon-6 = 6;ξ…₯
197ws-icon-7 = 7;ξ…¦
198ws-icon-8 = 8;ξ…§
199ws-icon-9 = 9;ξ…¨
200ws-icon-10 = zotero;ξ‡œ
201ws-icon-11 = desktop;ξ‡Ά
202ws-icon-12 = browser;ξ† 
203
212label-mode-background = ${colors.background_modules} 204label-mode-background = ${colors.background_modules}
213label-mode-foreground = ${colors.foreground_modules} 205label-mode-foreground = ${colors.foreground_modules}
214label-mode-padding = 2 206label-mode-padding = 2
215 207
216label-focused = %name% 208label-focused = %icon%
217label-focused-background = ${colors.red} 209label-focused-background = ${colors.red}
218label-focused-foreground = ${colors.background_modules} 210label-focused-foreground = ${colors.background_modules}
219label-focused-padding = 1 211label-focused-padding = 1
220 212
221label-unfocused = %name% 213label-unfocused = %icon%
222label-unfocused-background = ${colors.background_modules} 214label-unfocused-background = ${colors.background_modules}
223label-unfocused-foreground = ${colors.foreground_modules} 215label-unfocused-foreground = ${colors.foreground_modules}
224label-unfocused-padding = 1 216label-unfocused-padding = 1
225 217
226label-visible = %name% 218label-visible = %icon%
227label-visible-background = ${colors.background_modules} 219label-visible-background = ${colors.background_modules}
228label-visible-foreground = ${colors.foreground_modules} 220label-visible-foreground = ${colors.foreground_modules}
229label-visible-padding = 1 221label-visible-padding = 1
230 222
231label-urgent = %index% 223label-urgent = %icon%
232label-urgent-background = ${colors.alert} 224label-urgent-background = ${colors.alert}
233label-urgent-foreground = ${colors.background} 225label-urgent-foreground = ${colors.background}
234label-urgent-padding = 1 226label-urgent-padding = 1
235 227
228label-separator = " "
229label-separator-foreground = ${colors.foreground}
230label-separator-background = #504945
231
236[module/download] 232[module/download]
237type = internal/network 233type = internal/network
238interface = wlp2s0 234interface = wlp2s0