-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ini
149 lines (128 loc) · 4.02 KB
/
config.ini
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; To learn more about how to configure Polybar
; go to https://github.com/polybar/polybar
;
; The README contains a lot of information
;
;==========================================================
[colors]
background = #40
background-alt = #40
foreground = #ffffff
primary = #ffffff
secondary = #ffffff
alert = #ffffff
disabled = #ffffff
[bar/mybar]
width = 100%
height = 11pt
background = ${colors.background}
foreground = ${colors.foreground}
padding = 0
module-margin = 2
separator = |
separator-foreground = ${colors.disabled}
font-0 = DejaVu Sans:style=Normal:size=8
modules-left = text1 uptime fs-root fs-windows fs-seagate fs-d memory cpufreq cpu cputemperature gputemperature eth
modules-right = text2 systray date
enable-ipc = true
click-left = "orage -t"
click-right = "xdotool key ctrl+space"
double-click-left = "orage -t"
double-click-right = "xdotool key ctrl+space"
[module/text1]
type = custom/text
label = | archlinux
[module/text2]
type = custom/text
label = " "
[module/uptime]
type = custom/script
exec = awk '{print int($1/3600)":"int(($1%3600)/60)":"int($1%60)}' /proc/uptime
interval = 1
label = Uptime %output%
[module/systray]
type = internal/tray
format-margin = 0pt
tray-spacing = 4pt
tray-padding = 0pt
tray-size = 100%
[fs-base]
type = internal/fs
interval = 25
fixed-values = true
label-mounted = %mountpoint%: %percentage_used%% of %total%
[module/fs-root]
inherit = fs-base
mount-0 = /
[module/fs-windows]
inherit = fs-base
mount-0 = /home/danny/Windows
label-mounted = W: %percentage_used%% of %total%
[module/fs-seagate]
inherit = fs-base
mount-0 = /home/danny/Seagate
label-mounted = S: %percentage_used%% of %total%
[module/fs-d]
inherit = fs-base
mount-0 = /home/danny/D
label-mounted = D: %percentage_used%% of %total%
[module/memory]
type = internal/memory
interval = 2
format-prefix = "RAM"
format-prefix-foreground = ${colors.primary}
label = %percentage_used:2%%
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = "CPU"
format-prefix-foreground = ${colors.primary}
label = %percentage:2%%
[module/cpufreq]
type = custom/script
exec = sh ~/scripts/cpufreq.sh
#cpupower frequency-info | grep -i 'current CPU frequency' | grep -i 'Ghz\|Mhz'
interval = 2
label = CPU %output%
[module/cputemperature]
type = internal/temperature
interval = 2
thermal-zone = 0
hwmon-path = /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon2/temp1_input
label = CPU %temperature-c%
[module/gputemperature]
type = internal/temperature
interval = 2
thermal-zone = 0
hwmon-path = /sys/devices/pci0000:00/0000:00:03.1/0000:29:00.0/hwmon/hwmon1/temp1_input
label = GPU %temperature-c%
[network-base]
type = internal/network
interval = 2
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-disconnected = %{F}%ifname%%{F} disconnected
[module/eth]
inherit = network-base
interface-type = wired
label-connected = %local_ip% • %upspeed%↑ • %downspeed%↓ |
[module/date]
type = internal/date
interval = 1
date = "%H:%M:%S | %A %d/%m/%Y |"
label = %date%
label-foreground = ${colors.primary}
[settings]
screenchange-reload = true
pseudo-transparency = false