Updated config

This commit is contained in:
2024-03-02 23:49:00 +01:00
parent 2569e705ed
commit 632694bbcd
10 changed files with 71 additions and 33 deletions

View File

@ -2,39 +2,51 @@
"layer": "top",
"modules-left": ["custom/os","hyprland/workspaces"],
"modules-center": ["clock"],
"modules-right": ["cpu","memory","disk","network","custom/power"],
"modules-right": ["cpu","custom/gpu","memory","disk","network","custom/power"],
"clock": {
"interval": 60,
"format": "{:%a %H : %M}",
"tooltip-format": "{:%Y-%m-%d}"
"format": "{:%H : %M}",
"tooltip-format": "{:%A, %Y-%m-%d}",
"on-click": "date -u +'%Y-%m-%dT%H:%M:%SZ' | wl-copy"
},
"cpu": {
"interval": 2,
"format": "{icon} {usage}%",
"format-icons": ["󰾆", "󰾅", "󰓅"],
"max-length": 10
"max-length": 10,
"on-click": "$TERMINAL -e btop",
},
"custom/gpu": {
"exec": "nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits",
"format": " {}%",
"return-type": "",
"interval": 2,
"on-click": "$TERMINAL -e nvtop",
},
"memory": {
"interval": 2,
"format": " {used} GiB",
"max-length": 10
"max-length": 10,
"on-click": "$TERMINAL -e btop",
},
"network": {
"interval": 2,
"format": " {ifname}",
"format-wifi": " {essid}",
"format-ethernet": " {bandwidthUpBits}  {bandwidthDownBits}",
"format-ethernet": " {bandwidthUpBits}  {bandwidthDownBits}",
"format-disconnected": "",
"tooltip-format": "{ifname} via {gwaddr}",
"tooltip-format-wifi": " {essid} ({signalStrength}%)",
"tooltip-format-ethernet": " {ifname}",
"tooltip-format-disconnected": "",
"max-length": 50
"max-length": 50,
"on-click": "$TERMINAL -e nethogs",
},
"disk": {
"interval": 30,
"format": "󰋊 {used}",
"path": "/"
"path": "/",
"on-click": "$TERMINAL -e dua i",
},
"mpris": {
"format": "{player_icon} {title}",
@ -53,7 +65,7 @@
"format-muted": "",
"scroll-step": 5,
"on-click": "helvum",
"format-icons": ["", "", ""]
"format-icons": ["", "", ""],
},
"hyprland/workspaces": {
"format": "{icon}",
@ -66,11 +78,11 @@
"active": "",
"default": ""
},
"sort-by-number": true
"sort-by-number": true,
},
"custom/os":{
"format": "",
"tooltip": false,
"on-click": "alacritty --hold -e neofetch",
}
"on-click": "$TERMINAL --hold -e neofetch",
},
}