all repos

dotfiles @ 53d009b67149cc355a1286494ecb955845ed6424

my dotfiles

config/bspwm/polybar (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# vim: ft=dosini

[settings]
enable-ipc = true
format-padding = 1
screenchange-reload = true
pseudo-transparency = true

[colors]
background = #262A2B
foreground = #DFDFDF
secondary  = #008DCD
alert      = #FF6C6B

[bar/bar]
width = 100%
height = 24
fixed-center = true
background = ${colors.background}
foreground = ${colors.foreground}
wm-restack = bspwm
font-0 = Iosevka Nerd Font:style=Medium:size=8;3
font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5
modules-left = bspwm
modules-center = windowname
modules-right = keyboard pulseaudio weather wifi-signal archupd time
tray-position = right
tray-padding = 0

[module/bspwm]
type = internal/bspwm
pin-workspaces = true
enable-click = true
fuzzy-match = true
enable-scroll = true
label-focused = 
label-focused-foreground = ${colors.secondary}
label-focused-padding = 2
label-occupied = 
label-occupied-foreground = ${colors.foreground}
label-occupied-padding = 2
label-urgent = 
label-urgent-foreground = ${colors.alert}
label-urgent-padding = 2
label-empty = 
label-empty-foreground = #58676C74
label-empty-padding = 2

[module/pulseaudio]
type = internal/pulseaudio
interval = 2
format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%%
label-volume-foreground = ${root.foreground}
label-muted = 
ramp-volume-0 = 

[module/weather]
type = custom/script
exec = python3 ~/.config/polybar/scripts/weather.py
interval = 60

[module/archupd]
type = custom/script
exec = ~/.config/polybar/scripts/updates-pacman-aur.sh
interval = 60

[module/wifi-signal]
type = custom/script
label =  %output:%%
exec = ~/.config/polybar/scripts/wifi-signal.sh
interval = 3

[module/keyboard]
type = internal/xkeyboard
format-prefix = ""
label-layout =  %layout%
blacklist-0 = num lock
blacklist-1 = scroll lock
blacklist-2= caps lock

[module/cpu]
type = internal/cpu
format-prefix = " "
interval = 2

[module/memory]
type = internal/memory
interval = 2
label = %percentage_used%%
format-prefix = " "

[module/windowname]
type = internal/xwindow
label = %title%
label-maxlen = 90

[module/date]
type = internal/date
interval = 600
date = %d.%m.%Y
label =  %date%

[module/time]
type = internal/date
time = %H:%M
label =  %time%