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