Updated
This commit is contained in:
parent
3a71afc212
commit
af2bb91b85
6 changed files with 129 additions and 4 deletions
|
|
@ -12,6 +12,7 @@
|
|||
"tray",
|
||||
"cpu",
|
||||
"memory",
|
||||
"custom/gpu-usage",
|
||||
"pulseaudio",
|
||||
"custom/notification",
|
||||
"clock",
|
||||
|
|
@ -97,6 +98,13 @@
|
|||
"tooltip-format": "Network: {essid}\nSignal strength: {signaldBm}dBm ({signalStrength}%)\nFrequency: {frequency}MHz\nInterface: {ifname}",
|
||||
//"on-click": "nmtui"
|
||||
},
|
||||
"custom/gpu-usage": {
|
||||
"exec": "nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits",
|
||||
"format": "{}% {icon}",
|
||||
"format-icons": "",
|
||||
"on-click": "nvidia-settings",
|
||||
"interval": 1,
|
||||
},
|
||||
"pulseaudio": {
|
||||
"tooltip": false,
|
||||
//"scroll-step": 1,
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ window#waybar.hidden {
|
|||
#cpu,
|
||||
#memory,
|
||||
#network,
|
||||
#custom-gpu-usage,
|
||||
#pulseaudio,
|
||||
#custom-media,
|
||||
#tray,
|
||||
|
|
@ -125,6 +126,14 @@ tooltip label {
|
|||
color: rgba(245, 60, 60, 0.8);
|
||||
}
|
||||
|
||||
#custom-gpu-usage {
|
||||
/* background: #2980b9; */
|
||||
padding: 0.5rem 2rem;
|
||||
background: transparent;
|
||||
border: 2px solid rgba(159, 234, 21, 0.2);
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
/* background: #f1c40f; */
|
||||
padding: 0.5rem 2rem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue