Updated config
This commit is contained in:
101
.config/waybar/modules.jsonc
Normal file
101
.config/waybar/modules.jsonc
Normal file
@ -0,0 +1,101 @@
|
||||
{
|
||||
"clock": {
|
||||
"interval": 60,
|
||||
"format": "<span color='#ffffff7f'></span> {:%H : %M}",
|
||||
"tooltip-format": "{:%A, %Y-%m-%d}",
|
||||
"on-click": "gnome-clocks",
|
||||
"on-click-right": "date -u +'%Y-%m-%dT%H:%M:%SZ' | wl-copy",
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 2,
|
||||
"format": "<span color='#ffffff7f'>{icon}</span> {usage}%",
|
||||
"format-icons": ["", "", ""],
|
||||
"max-length": 10,
|
||||
"on-click": "$TERMINAL -e btop",
|
||||
},
|
||||
"custom/updates": {
|
||||
"interval": 300,
|
||||
"format": "<span color='#ffffff7f'> </span> {}",
|
||||
"exec": "~/.bin/updates",
|
||||
"return-type": "json",
|
||||
"on-click": "$TERMINAL -e yay",
|
||||
},
|
||||
"custom/gpu": {
|
||||
"interval": 2,
|
||||
"exec": "nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits",
|
||||
"format": "<span color='#ffffff7f'> </span> {}%",
|
||||
"return-type": "",
|
||||
"on-click": "$TERMINAL -e nvtop",
|
||||
"max-length": 10,
|
||||
},
|
||||
"memory": {
|
||||
"interval": 2,
|
||||
"format": "<span color='#ffffff7f'> </span>{used} GiB",
|
||||
"max-length": 10,
|
||||
"on-click": "$TERMINAL -e btop",
|
||||
},
|
||||
"network#up": {
|
||||
"interval": 2,
|
||||
"format": "<span color='#ffffff7f'> </span>{bandwidthUpBits}",
|
||||
"tooltip-format": " {ifname} upload",
|
||||
"max-length": 10,
|
||||
"on-click": "$TERMINAL -e nethogs",
|
||||
},
|
||||
"network#down": {
|
||||
"interval": 2,
|
||||
"format": "<span color='#ffffff7f'> </span>{bandwidthDownBits}",
|
||||
"tooltip-format": " {ifname} download",
|
||||
"max-length": 10,
|
||||
"on-click": "$TERMINAL -e nethogs",
|
||||
},
|
||||
"disk": {
|
||||
"interval": 30,
|
||||
"format": "<span color='#ffffff7f'> </span>{used}",
|
||||
"path": "/",
|
||||
"max-length": 10,
|
||||
"on-click": "$TERMINAL -e dua i",
|
||||
},
|
||||
"mpris": {
|
||||
"format": "<span color='#ffffff7f'>{player_icon}</span> {title}",
|
||||
"format-paused": "<span color='#ffffff7f'>{status_icon}</span> {title}",
|
||||
"player-icons": {
|
||||
"default": "",
|
||||
"mpv": ""
|
||||
},
|
||||
"status-icons": {
|
||||
"paused": ""
|
||||
},
|
||||
"title-len": 30,
|
||||
},
|
||||
"wireplumber": {
|
||||
"format": "<span color='#ffffff7f'>{icon}</span> {volume}%",
|
||||
"format-muted": "",
|
||||
"scroll-step": 5,
|
||||
"format-icons": ["", "", ""],
|
||||
"max-length": 10,
|
||||
"on-click": "helvum",
|
||||
},
|
||||
"hyprland/window": {
|
||||
"format": " {initialTitle}",
|
||||
"separate-outputs": true
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"persistent-workspaces": {
|
||||
"*": 9
|
||||
},
|
||||
"format-icons": {
|
||||
"default": "",
|
||||
"empty": "",
|
||||
"active": "",
|
||||
"urgent": "",
|
||||
},
|
||||
"sort-by-number": true,
|
||||
"on-click": "activate",
|
||||
},
|
||||
"custom/os":{
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"on-click": "$TERMINAL --hold -e neofetch",
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user