This repository has been archived by the owner on Aug 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
xmobarrc
40 lines (40 loc) · 2.16 KB
/
xmobarrc
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
Config { font = "xft:DejaVu Sans:size=15:bold:antialias=true"
--Icon folder
, iconRoot = "Images/Icônes/"
--Season theme : background
-- , bgColor = "#FF4BAC" --Thème Automne
-- , bgColor = "#146565" --Thème Été
-- , bgColor = "#F8FFF8" --Thème Hiver
-- , bgColor = "#B20019" --Thème Noel
, bgColor = "#20275e" --Thème Printemps
--Season theme : foreground
-- , fgColor = "black" --Thème Automne
-- , fgColor = "#FDFF7F" --Thème Été
-- , fgColor = "#333333" --Thème Hiver
-- , fgColor = "white" --Thème Noel
, fgColor = "#EEE8AA" --Thème Printemps
, alpha = 175
, position = TopW L 100
, commands = [ Run StdinReader
--CPU temp
, Run Com "/bin/bash" ["-c","sensors|grep id|cut -d + -f2|cut -d . -f1"] "tcpu" 50
--CPU %
, Run Cpu ["-t","<bar>","-L","40","-H","85","--normal","green","--high","red"] 30
--Memory %
, Run Memory ["-t","<usedratio>%","-H","90","--high","red"] 50
--Nvidia GPU#1 temp
, Run Com "nvidia-settings" ["-t","-q","[gpu:0]/GPUCoreTemp"] "tgt430" 50
--Nvidia GPU#2 temp
, Run Com "nvidia-settings" ["-t","-q","[gpu:1]/GPUCoreTemp"] "tgt750" 50
--Nvidia GPU#1 used %
, Run Com "/bin/bash" ["-c","nvidia-settings -t -q '[gpu:0]/GPUUtilization' | cut -d ',' -f1 | cut -d '=' -f2"] "pgt430" 50
--Nvidia GPU#2 used %
, Run Com "/bin/bash" ["-c","nvidia-settings -t -q '[gpu:1]/GPUUtilization' | cut -d ',' -f1 | cut -d '=' -f2"] "pgt750" 50
--My own script
, Run Com "/bin/bash" ["Documents/Scripts/Système/Réseau/Raspberry/Rpi/networkrpi"] "networkrpi" 600
, Run Com "/bin/bash" ["Documents/Scripts/Système/Réseau/Freebox/netfreebox"] "netfreebox" 300
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader% | <icon=cpu_intel_icon.xpm/>%tcpu%°C %cpu% | <icon=memory_icon.xpm/>%memory% | <icon=nvidia_icon.xpm/>▹%tgt430%°C %pgt430%٪ | <icon=cuda_icon.xpm/>▹%tgt750%°C %pgt750%٪ | <icon=Raspberry_Pi_Logo.xpm/>▹%networkrpi% | %netfreebox%}{"
}