all repos

dotfiles @ 6e3359255f445af9167b42367d9014da31ee0f6c

my dotfiles

config/bspwm/polybar/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
; # vim: ft=dosini
[settings]
enable-ipc = true
format-padding = 1

[colors]
background = #1f2227
foreground = #abb2bf
cyan  = #61AFEF
alert = #e06c75
empty = #5c6370


[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 archupd
modules-center = time wifi-signal
modules-right = pulseaudio keyboard
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.cyan}
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 = ${colors.empty}
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/archupd]
type = custom/script
exec = ~/.config/bspwm/polybar/scripts/updates-pacman-aur.sh
click-left = kitty -e ~/bin/arch-upd
interval = 60

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

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

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

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