diff options
Diffstat (limited to 'files/.config/polybar/config.ini')
-rw-r--r-- | files/.config/polybar/config.ini | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/files/.config/polybar/config.ini b/files/.config/polybar/config.ini new file mode 100644 index 0000000..d43ee51 --- /dev/null +++ b/files/.config/polybar/config.ini | |||
@@ -0,0 +1,122 @@ | |||
1 | [settings] | ||
2 | screenchange-reload = true | ||
3 | |||
4 | [colors] | ||
5 | background = ${xrdb:emacs.background} | ||
6 | foreground = ${xrdb:emacs.foreground} | ||
7 | primary = #7fd962 | ||
8 | disabled = #707880 | ||
9 | |||
10 | [bar/example] | ||
11 | width = 100% | ||
12 | height = 18pt | ||
13 | |||
14 | background = ${colors.background} | ||
15 | foreground = ${colors.foreground} | ||
16 | |||
17 | line-size = 1.5pt | ||
18 | |||
19 | padding-left = 0 | ||
20 | padding-right = 1 | ||
21 | |||
22 | module-margin = 1 | ||
23 | |||
24 | separator = | | ||
25 | separator-foreground = ${colors.disabled} | ||
26 | |||
27 | font-0 = "Terminus:size=15" | ||
28 | font-1 = "FontAwesome" | ||
29 | |||
30 | modules-left = xworkspaces | ||
31 | modules-right = memory cpu battery date | ||
32 | |||
33 | cursor-click = pointer | ||
34 | cursor-scroll = ns-resize | ||
35 | |||
36 | enable-ipc = true | ||
37 | |||
38 | tray-position = right | ||
39 | |||
40 | [module/xworkspaces] | ||
41 | type = internal/xworkspaces | ||
42 | |||
43 | icon-0 = 1;0 | ||
44 | icon-1 = 2;1 | ||
45 | icon-2 = 3;2 | ||
46 | icon-3 = 4;3 | ||
47 | icon-4 = 5;4 | ||
48 | icon-5 = 6;5 | ||
49 | icon-6 = 7;6 | ||
50 | icon-7 = 8;7 | ||
51 | icon-8 = 9;8 | ||
52 | icon-9 = 10;9 | ||
53 | |||
54 | label-active = %icon% | ||
55 | label-active-background = ${colors.background-alt} | ||
56 | label-active-underline= ${colors.primary} | ||
57 | label-active-padding = 1 | ||
58 | |||
59 | label-occupied = %icon% | ||
60 | label-occupied-padding = 1 | ||
61 | |||
62 | label-urgent = %icon% | ||
63 | label-urgent-background = ${colors.alert} | ||
64 | label-urgent-padding = 1 | ||
65 | |||
66 | label-empty = %icon% | ||
67 | label-empty-foreground = ${colors.disabled} | ||
68 | label-empty-padding = 1 | ||
69 | |||
70 | [module/battery] | ||
71 | type = internal/battery | ||
72 | battery = BAT0 | ||
73 | adapter = ADP1 | ||
74 | |||
75 | format-charging = <animation-charging> <label-charging> | ||
76 | format-discharging = <ramp-capacity> <label-discharging> | ||
77 | format-low = <ramp-capacity> <label-low> | ||
78 | format-full = <ramp-capacity> <label-full> | ||
79 | |||
80 | label-charging = %percentage%% | ||
81 | label-discharging = %percentage%% | ||
82 | label-low = LOW %percentage%% | ||
83 | label-full = FULL %percentage%% | ||
84 | |||
85 | ramp-capacity-0 = | ||
86 | ramp-capacity-1 = | ||
87 | ramp-capacity-2 = | ||
88 | ramp-capacity-3 = | ||
89 | ramp-capacity-4 = | ||
90 | ramp-capacity-foreground = ${colors.primary} | ||
91 | |||
92 | animation-charging-0 = | ||
93 | animation-charging-1 = | ||
94 | animation-charging-2 = | ||
95 | animation-charging-3 = | ||
96 | animation-charging-4 = | ||
97 | animation-charging-foreground = ${colors.primary} | ||
98 | animation-charging-framerate = 750 | ||
99 | |||
100 | [module/memory] | ||
101 | type = internal/memory | ||
102 | interval = 2 | ||
103 | format-prefix = "RAM " | ||
104 | format-prefix-foreground = ${colors.primary} | ||
105 | label = %percentage_used:2%% | ||
106 | |||
107 | [module/cpu] | ||
108 | type = internal/cpu | ||
109 | interval = 2 | ||
110 | format-prefix = "CPU " | ||
111 | format-prefix-foreground = ${colors.primary} | ||
112 | label = %percentage:2%% | ||
113 | |||
114 | [module/date] | ||
115 | type = internal/date | ||
116 | interval = 1 | ||
117 | |||
118 | date = %H:%M | ||
119 | date-alt = %Y-%m-%d %H:%M:%S | ||
120 | |||
121 | label = %date% | ||
122 | label-foreground = ${colors.primary} | ||