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