all repos

dotfiles @ 246dc34d130d2b6d656dcaa382c5bb47b531b91c

i use rach linux btw

dotfiles/config/bspwm/polybar (view raw)

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