first commit
This commit is contained in:
147
waybar/modules.jsonc
Executable file
147
waybar/modules.jsonc
Executable file
@@ -0,0 +1,147 @@
|
||||
{
|
||||
"hyprland/workspaces": {
|
||||
"active-only": false,
|
||||
"format": "{icon}",
|
||||
"disable-scroll": true,
|
||||
"on-click": "activate"
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": " {:%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": 12,
|
||||
"format": "{}"
|
||||
},
|
||||
"custom/gpu": {
|
||||
"exec": "~/.config/waybar/scripts/gpu_temp.sh",
|
||||
"interval": 12,
|
||||
"format": "{}"
|
||||
},
|
||||
"custom/xpuinfo": {
|
||||
"exec": "~/.config/waybar/scripts/xpu_info.sh",
|
||||
"interval": 15,
|
||||
"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": 300,
|
||||
"format": "時間 {}"
|
||||
},
|
||||
"custom/flagvpn": {
|
||||
"exec": "~/scripts/get_flag.sh",
|
||||
"interval": 60,
|
||||
"format":"{}",
|
||||
"tooltip" : true,
|
||||
"tooltip-format": "{}"
|
||||
},
|
||||
|
||||
"custom/steamhdd": {
|
||||
"exec": "~/.config/waybar/scripts/hdd_info.sh",
|
||||
"interval": 3600,
|
||||
"format":"{}",
|
||||
"tooltip" : true,
|
||||
"tooltip-format": "{}"
|
||||
},
|
||||
|
||||
|
||||
"custom/timer": {
|
||||
"exec": "/home/arthur/scripts/timer_module.sh",
|
||||
"interval": 1,
|
||||
"format":"{}",
|
||||
"return-type": "json"
|
||||
},
|
||||
|
||||
"custom/appicons": {
|
||||
"format": "{}",
|
||||
"exec": "~/.config/waybar/scripts/app-icons.sh",
|
||||
"interval": 5,
|
||||
"tooltip":"false"
|
||||
},
|
||||
|
||||
"custom/workspaces-icons": {
|
||||
"exec": "python ~/.config/waybar/scripts/workspaces_icons.py",
|
||||
"interval": 5,
|
||||
"format": "{}"
|
||||
},
|
||||
|
||||
"custom/menu1": {
|
||||
"format" : "⏻ ",
|
||||
"tooltip": false,
|
||||
"menu": "on-click",
|
||||
"menu-actions": {
|
||||
"shutdown": "shutdown",
|
||||
"reboot": "reboot",
|
||||
"suspend": "systemctl suspend",
|
||||
"hibernate": "systemctl hibernate"
|
||||
}
|
||||
}
|
||||
|
||||
,"bluetooth": {
|
||||
"interval": 30,
|
||||
"format": "BT {icon} ",
|
||||
"format-icons": {
|
||||
"enabled": "",
|
||||
"disabled": ""
|
||||
},
|
||||
"on-click": "blueberry"
|
||||
},
|
||||
"custom/notification": {
|
||||
"tooltip": false,
|
||||
"format": "| {icon} ~",
|
||||
"format-icons": {
|
||||
"notification": "<span foreground='red'><sup></sup></span>",
|
||||
"none": "",
|
||||
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-none": "",
|
||||
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"inhibited-none": "",
|
||||
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-inhibited-none": ""
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 21,
|
||||
"spacing": 10
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user