This commit is contained in:
ant 2024-03-31 07:54:18 +02:00
parent 7b9199c542
commit 0aac48f782
6 changed files with 101 additions and 79 deletions

View file

@ -76,7 +76,7 @@
},
"disk": {
"interval": 30,
"interval": 1,
"format": "󰋊 {free}",
"path": "/",
"on-click": "alacritty --class floating -e ncdu -x /"
@ -91,7 +91,7 @@
"memory": {
"interval": 1,
"format": "󰧑 {percentage}%",
"format": "󰧑 {percentage:2}%",
"tooltip-format": "{used:0.1f}G/{total:0.1f}G",
"states": { "low": 70 },
"on-click": "notify-send \"$(printf \"%-20s %10s\\n\" \"COMMAND\" \"MEMORY USAGE\"; ps axo comm,rss | awk '{mem[$1]+=$2} END {for (cmd in mem) printf \"%-20s %5.2f MiB\\n\", cmd, mem[cmd]/1024}' | sort -k2nr | head -n10)\""
@ -102,8 +102,8 @@
"format": "󰌙",
"format-disconnected": "󰌙",
"format-linked": "󰛵",
"format-ethernet": "󰓢 {bandwidthDownBytes} {bandwidthUpBytes}",
"format-wifi": "󰖩 {bandwidthDownBytes} {bandwidthUpBytes}",
"format-ethernet": "󰓢 {bandwidthDownBytes:>} {bandwidthUpBytes:>}",
"format-wifi": "󰖩 {bandwidthDownBytes:>} {bandwidthUpBytes:>}",
"on-click": "wifi-toggle",
"on-right-click": "$TERMINAL --class floating -e nmtui",
"tooltip-format-ethernet": "{ipaddr}",
@ -139,7 +139,7 @@
},
"cpu": {
"interval": 1,
"format": "󰘚 {usage}%",
"format": "󰘚 {usage:2}%",
"max-length": 10,
"on-click": "alacritty --class floating -e htop"
},
@ -154,8 +154,8 @@
"warning": 30,
"critical": 15
},
"format-charging": "󰂅 {capacity}%",
"format": "{icon} {capacity}%",
"format-charging": "󰂅 {capacity:2}%",
"format": "{icon} {capacity:2}%",
"format-icons": ["󰂎", "󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"],
"tooltip": true
},
@ -175,7 +175,7 @@
"min-length": 10,
"interval": 1,
"format": "{:%d/%m %H:%M:%S}",
"timezones": ["Asia/Ho_Chi_Minh", "Europe/Paris"],
"timezones": ["Europe/Paris"],
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"actions": {
"on-scroll-up": "tz_up",