all repos

dotfiles @ 5cc8619

i use rach linux btw

dotfiles/config/bspwm/polybar/polybar (view raw)

1
# vim: ft=dosini
2
3
[settings]
4
enable-ipc = true
5
format-padding = 1
6
#screenchange-reload = true
7
#pseudo-transparency = true
8
9
[colors]
10
background = #262A2B
11
foreground = #DFDFDF
12
secondary  = #008DCD
13
alert      = #FF6C6B
14
15
[bar/bar]
16
width = 100%
17
height = 24
18
fixed-center = true
19
background = ${colors.background}
20
foreground = ${colors.foreground}
21
wm-restack = bspwm
22
font-0 = Iosevka Nerd Font:style=Medium:size=8;3
23
font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5
24
modules-left = bspwm windowname
25
modules-center = time date weather
26
modules-right = keyboard pulseaudio archupd wifi-signal
27
tray-position = right
28
tray-padding = 0
29
30
[bar/min]
31
width = 100%
32
height = 24
33
fixed-center = true
34
background = ${colors.background}
35
foreground = ${colors.foreground}
36
wm-restack = bspwm
37
font-0 = Iosevka Nerd Font:style=Medium:size=8;3
38
font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5
39
modules-left = bspwm
40
modules-right = keyboard pulseaudio archupd time wifi-signal
41
tray-position = right
42
43
[module/bspwm]
44
type = internal/bspwm
45
pin-workspaces = true
46
enable-click = true
47
fuzzy-match = true
48
enable-scroll = true
49
label-focused = 
50
label-focused-foreground = ${colors.secondary}
51
label-focused-padding = 2
52
label-occupied = 
53
label-occupied-foreground = ${colors.foreground}
54
label-occupied-padding = 2
55
label-urgent = 
56
label-urgent-foreground = ${colors.alert}
57
label-urgent-padding = 2
58
label-empty = 
59
label-empty-foreground = #58676C74
60
label-empty-padding = 2
61
62
[module/pulseaudio]
63
type = internal/pulseaudio
64
interval = 2
65
format-volume = <ramp-volume> <label-volume>
66
label-volume = %percentage%%
67
label-volume-foreground = ${root.foreground}
68
label-muted = 
69
ramp-volume-0 = 
70
71
[module/weather]
72
type = custom/script
73
exec = python3 ~/.config/bspwm/polybar/scripts/weather.py
74
interval = 60
75
76
[module/archupd]
77
type = custom/script
78
exec = ~/.config/bspwm/polybar/scripts/updates-pacman-aur.sh
79
click-left = kitty -e ~/bin/arch-upd
80
interval = 60
81
82
[module/wifi-signal]
83
type = custom/script
84
label =  %output:%%
85
exec = ~/.config/bspwm/polybar/scripts/wifi-signal.sh
86
interval = 3
87
88
[module/keyboard]
89
type = internal/xkeyboard
90
label-layout =  %layout%
91
blacklist-0 = num lock
92
blacklist-1 = scroll lock
93
blacklist-2= caps lock
94
95
[module/cpu]
96
type = internal/cpu
97
format-prefix = " "
98
interval = 2
99
100
[module/memory]
101
type = internal/memory
102
interval = 2
103
label = %percentage_used%%
104
format-prefix = " "
105
106
[module/windowname]
107
type = internal/xwindow
108
label = %title%
109
label-maxlen = 50
110
111
[module/date]
112
type = internal/date
113
interval = 600
114
date = %d.%m
115
label =  %date%
116
117
[module/time]
118
type = internal/date
119
time = %H:%M
120
label =  %time%