diff --git a/_home/private_dot_poshtheme.omp.json b/_home/private_dot_poshtheme.omp.json index dc282a9..e2e4992 100644 --- a/_home/private_dot_poshtheme.omp.json +++ b/_home/private_dot_poshtheme.omp.json @@ -204,6 +204,21 @@ "trailing_diamond": "\ue0b0\u2500\u256e", "type": "session" }, + { + "background": "#81ff91", + "background_templates": [ + "{{ if gt .SwapPercentUsed 90.0 }}red{{ else if gt .SwapPercentUsed 75.0 }}lightRed{{ end }}" + ], + "foreground": "#000000", + "foreground_templates": [ + "{{ if gt .SwapPercentUsed 90.0 }}#d3d7cf{{ end }}" + ], + "invert_powerline": true, + "style": "powerline", + "powerline_symbol": "\ue0b2", + "template": "sw{{ printf \"%.0f%%\" .SwapPercentUsed }}", + "type": "sysinfo" + }, { "background": "#d3d7cf", "foreground": "#000000",