Files
scripts-bash/waybar/modules.jsonc.catpu
2026-03-30 15:48:25 -06:00

80 lines
1.7 KiB
Plaintext
Executable File

{
"hyprland/workspaces": {
"active-only": false,
"all-outputs": false,
"format": "{icon}",
"persistent_workspaces": {
"2": [],
"3": [],
"4": [],
"5": []
},
"disable-scroll": true,
"on-click": "activate"
},
"clock": {
"format": "<span foreground='#f9f5d7'>  </span>{:%a [%d/%m] ~ [%H:%M]} ~",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small> {calendar} </small></tt>"
},
"network": {
"interface": "enp111s0",
"format": "↗{bandwidthUpBytes} ↘ {bandwidthDownBytes}"
},
"pulseaudio": {
"format": " {icon} {volume}% ",
"format-muted": "",
"format-icons": {
"default": ["", "", " "]
},
"on-click": "pavucontrol"
},
"custom/cpuinfo": {
"exec": "~/.config/waybar/scripts/cpu_info.sh",
"interval": 2,
"format": "{}"
},
"custom/gpu": {
"exec": "~/.config/waybar/scripts/gpu_temp.sh",
"interval": 2,
"format": "{}"
},
"mpris": {
"format": "{player_icon} [{title} - {artist}]",
"format-paused": " [ {title} - {artist}] ",
"player-icons": {
"default": " ",
"firefox": " "
},
"max-length": 70,
"scroll": true
},
"custom/weather": {
"exec": "~/.config/waybar/scripts/weather.sh",
"interval": 600,
"return-type": "text"
},
"custom/uptime": {
"exec": "~/.config/waybar/scripts/uptime.sh",
"interval": 60,
"format": "時間 {}"
},
"custom/flagvpn": {
"exec": "~/scripts/get_flag.sh",
"interval": 60,
"format": "{}"
},
"custom/timer": {
"exec": "/home/arthur/scripts/timer_module.sh",
"interval": 1,
"format":"{}",
"return-type": "json"
}
}