all repos

dotfiles @ 8822c65

i use rach linux btw

dotfiles/config/polybar/config (view raw)

1
[settings]
2
screenchange-reload = true
3
pseudo-transparency = true
4
5
[colors]
6
background = #262A2B
7
foreground = #DFDFDF
8
secondary = #008DCD
9
alert = #FF6C6B
10
11
[bar/i3bar]
12
width = 100%
13
height = 24
14
fixed-center = true
15
wm-restack = i3
16
background = ${colors.background}
17
foreground = ${colors.foreground}
18
module-margin-left = 1
19
module-margin-right = 1
20
font-0 = Iosevka Nerd Font:style=Medium:size=8;3
21
font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5
22
font-2 = Weather Icons:size=7;2
23
modules-left =  i3 pacman-up
24
modules-right = keyboard pulseaudio backlight wifi-signal time date
25
tray-position = right
26
27
[module/i3]
28
type = internal/i3
29
format = <label-state><label-mode>
30
index-sort = false
31
wrapping-scroll = false
32
label-mode-padding = 1
33
label-mode-background = ${colors.alert}
34
35
label-focused = %icon%
36
label-focused-background =  ${colors.secondary}
37
label-focused-foreground = ${colors.foreground}
38
label-focused-padding = 1
39
label-focused-underline = ${colors.alert}
40
41
label-unfocused = %icon%
42
label-unfocused-foreground = ${colors.foreground}
43
label-unfocused-padding = 1
44
45
label-urgent = %icon%
46
label-urgent-background = ${colors.alert}
47
label-urgent-foreground = ${colors.foreground}
48
label-urgent-padding = 1
49
label-urgent-underline = ${colors.alert}
50
51
label-visible = %icon%
52
label-visible-background = ${colors.background}
53
label-visible-foreground = ${colors.foreground}
54
label-visible-padding = 1
55
label-visible-underline = ${colors.background}
56
57
ws-icon-0 = "1;1 "
58
ws-icon-1 = "2;2 "
59
ws-icon-2 = "3;3 "
60
ws-icon-3 = "4;4 "
61
ws-icon-4 = "5;5 "
62
ws-icon-5 = "6;6 "
63
ws-icon-6 = "7;7 "
64
ws-icon-7 = "8;8 "
65
ws-icon-8 = "9;9 "
66
67
[module/backlight]
68
type = internal/xbacklight
69
format = <ramp> <label>
70
label = %percentage%%
71
ramp-0 = 
72
73
[module/wifi-name]
74
type = internal/network
75
interface = wlp3s0
76
format-connected = <ramp-signal> <label-connected>
77
label-connected = %essid%
78
format-disconnected =
79
ramp-signal-0 = 
80
interval = 3
81
82
[module/wifi-signal]
83
type = custom/script
84
label =  %output:%%
85
exec = ~/.config/polybar/scripts/wifi-signal.sh
86
interval = 3
87
88
[module/pulseaudio]
89
type = internal/pulseaudio
90
interval = 2
91
format-volume = <ramp-volume> <label-volume> 
92
label-volume = %percentage%%
93
label-volume-foreground = ${root.foreground}
94
label-muted = 
95
ramp-volume-0 = 
96
97
[module/weather]
98
type = custom/script
99
exec = python3 ~/.config/polybar/scripts/weather.py
100
interval = 60
101
102
[module/pacman-up]
103
type = custom/script
104
exec = ~/.config/polybar/scripts/updates-pacman-aur.sh
105
interval = 60
106
107
[module/keyboard]
108
type = internal/xkeyboard
109
format-prefix = ""
110
label-layout =  %layout%
111
blacklist-0 = num lock
112
blacklist-1 = scroll lock
113
blacklist-2= caps lock
114
115
[module/date]
116
type = internal/date
117
interval = 600
118
date = %d.%m.%Y
119
label =  %date%
120
121
[module/time]
122
type = internal/date
123
time = %H:%M
124
label =  %time%