
{
  "layer": "bottom",
  "position": "top", 
  "height": 28,
  "reload_style_on_change": true,
  "height": 4,
  "margin-top": 4,
  "margin-left": 10,
  "margin-right": 10,
  "modules-left": [ "custom/spotify", "custom/cpu", "memory", "disk" ],
  "modules-center": [ "hyprland/workspaces" ],
  "modules-right": [ "battery", "clock#time", "tray", "idle_inhibitor" ],

  "custom/spotify": {
    "exec": "$HOME/.config/waybar/scripts/spotify.py --player spotify",
	"format": "<span size='10000' foreground='#98971a'> </span>{}",
    "return-type": "json",
    "on-click": "playerctl -p spotify play-pause",
    "on-scroll-up": "playerctl -p spotify next",
    "on-scroll-down": "playerctl -p spotify previous",
	"on-click-right-release": "hyprctl dispatch workspace 6",
	"tooltip": false
  },
  
  "memory": {
    "interval": 1,
    "format": "<span foreground='#d79921'>   </span>{used:0.1f}GiB"
  },

  "disk": {
	"interval": 60,
	"format": "<span foreground='#d79921'>   </span>{used}",
	"tooltip": false
  },

  "hyprland/workspaces": {
      "format": "{icon}",
      "on-click-release": "activate",
      "sort-by-numbers": false,
	  "on-scroll-up": "hyprctl dispatch workspace e+1",
      "on-scroll-down": "hyprctl dispatch workspace e-1",
      "format-icons": {
		  "1": "I",
		  "2": "II",
		  "3": "III",
		  "4": "IV",
		  "5": "V",
		  "6": "VI",
		  "7": "VII",
		  "8": "VIII",
		  "9": "IX",
		  "10": "X"
      }
  },

 /* "network": {
	"interval": 1,
	"format-wifi": "<span foreground='#d79921'>{icon}  </span>{essid}<span foreground='#d79921'>      </span>{bandwidthUpBytes}<span foreground='#d79921'>     </span>{bandwidthDownBytes} ",
    "format-disconnected": "",
	"format-ethernet": "<span foreground='#d79921'>  </span>Connected",
	"on-click-right-release": "alacritty --class nmtui -T 'Network Settings' -e nmtui",
	"on-click-release": "$HOME/.config/waybar/scripts/network.sh",
	"format-icons": [
		"󰤯 ",
		"󰤟 ",
		"󰤢 ",
		"󰤥 ", 
		"󰤨 "
	]
  },
*/
  "clock#time": {
    "interval": 1,
    "format": "<span foreground='#d79921' size='10000'> </span>{:%I:%M %p} ",
    "tooltip": false,
	"on-click-release": "bash $HOME/.config/waybar/scripts/date.sh"

  },

  "custom/cpu": {
    "exec": "$HOME/.config/waybar/scripts/monitoring/cpu-temp.c",
    "format": "<span foreground='#d79921'>  </span>{}",
    "tooltip": false
  },

  "idle_inhibitor": {
  	"format": "{icon}",
  	"format-icons": {
	    "activated": "󰆪 ", 
	    "deactivated":"󰗥 " 
    }
  },
  "battery": {
    "states": {
      "good": 95,
      "warning": 30,
      "critical": 20
    },
    "format": "{icon} {capacity}%",
    "format-charging": "\udb80\udc84 {capacity}%",
    "format-plugged": "\udb81\udea5 {capacity}%",
    "format-alt": "{time} {icon}",
    "format-icons": ["\udb80\udc7a", "\udb80\udc7b", "\udb80\udc7c", "\udb80\udc7d", "\udb80\udc7e", "\udb80\udc7f", "\udb80\udc80", "\udb80\udc81", "\udb80\udc82", "\udb80\udc79"]
  },

  "tray": {
    "icon-size": 14,
    "spacing": 10,
	"show-passive-items": true
  }

}

// vim:ft=jsonc
