Update .config/waybar/config.jsonc
Update .config/waybar/modules.jsonc Update .config/waybar/style.css
This commit is contained in:
parent
a11ff813b7
commit
b82d88827c
3 changed files with 9 additions and 2 deletions
|
|
@ -28,7 +28,7 @@
|
||||||
"modules":["mpris", "cava"]
|
"modules":["mpris", "cava"]
|
||||||
},
|
},
|
||||||
"group/hardware":{
|
"group/hardware":{
|
||||||
"modules":["cpu","memory","disk"],
|
"modules":["cpu","custom/gpu-usage","memory","disk"],
|
||||||
"orientation":"horizontal"
|
"orientation":"horizontal"
|
||||||
},
|
},
|
||||||
"group/datetime":{
|
"group/datetime":{
|
||||||
|
|
|
||||||
|
|
@ -75,6 +75,12 @@
|
||||||
"format": "{usage:3d}% ",
|
"format": "{usage:3d}% ",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
"custom/gpu-usage": {
|
||||||
|
"exec": "python3 ~/.config/waybar/scripts/gpu-usage.py | jq --unbuffered --compact-output",//"nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits",
|
||||||
|
"format": "{percentage:3d}% ",
|
||||||
|
"return-type": "json",
|
||||||
|
"interval": 1
|
||||||
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"format": "{percentage:3d}% "
|
"format": "{percentage:3d}% "
|
||||||
|
|
@ -136,7 +142,7 @@
|
||||||
"framerate": 144,
|
"framerate": 144,
|
||||||
"autosens": 1,
|
"autosens": 1,
|
||||||
"sensitivity": 2,
|
"sensitivity": 2,
|
||||||
"bars": 32,
|
"bars": 48,
|
||||||
"lower_cutoff_freq": 50,
|
"lower_cutoff_freq": 50,
|
||||||
"higher_cutoff_freq": 10000,
|
"higher_cutoff_freq": 10000,
|
||||||
"hide_on_silence": false,
|
"hide_on_silence": false,
|
||||||
|
|
|
||||||
|
|
@ -83,6 +83,7 @@ button:hover {
|
||||||
#cpu,
|
#cpu,
|
||||||
#memory,
|
#memory,
|
||||||
#disk,
|
#disk,
|
||||||
|
#gpu-usage,
|
||||||
#privacy,
|
#privacy,
|
||||||
#cava,
|
#cava,
|
||||||
#mpris,
|
#mpris,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue