[
	{
		"layer": "top",
		"position": "bottom",
		"height": 40,
		"modules-center": ["wlr/taskbar"],

		"wlr/taskbar": {
		    "format": "{icon}",
		    "icon-size": 30,
		    "icon-theme": "Gruvbox-Dark",
		    "tooltip-format": "{title}",
		    "on-click": "activate",
		    "on-click-right": "minimize",
		    "on-click-middle": "close",
		    "ignore-list": [
		       "Alacritty"
		    ],
		    "app_ids-mapping": {
		      "firefoxdeveloperedition": "firefox-developer-edition"
		    },
		    "rewrite": {
			"Firefox Web Browser": "Firefox",
			"Foot Server": "Terminal"
		    }
		}
	},
	{
		"layer": "top",
		"position": "top",
		"height": 30,
		"modules-left": ["hyprland/workspaces", "custom/temperature", "cpu", "memory", "custom/time"],
		"modules-center": ["clock"],
		"modules-right": ["pulseaudio/slider","pulseaudio", "tray"],
		"hyprland/workspaces": {
			"disable-scroll": true,
			"show-special": true,
			"all-outputs": true,
			"move-to-monitor": true,
			"wrap-on-scroll": false,
			"format": "{icon}{name}",
			"format-active": "[{name}]",
			"format-icons": {
				"urgent": "!",
				"active": "",
				"default": ""
			}
		},
		"pulseaudio/slider": {
		    "min": 0,
		    "max": 100,
		    "orientation": "horizontal"
		},
		"pulseaudio": {
		    "format": "{icon}",
		    "format-bluetooth": "{volume}% {icon}",
		    "format-muted": "",
		    "format-icons": {
			"alsa_output.pci-0000_00_1f.3.analog-stereo": "",
			"alsa_output.pci-0000_00_1f.3.analog-stereo-muted": "",
			"headphone": "",
			"hands-free": "",
			"headset": "",
			"phone": "",
			"phone-muted": "",
			"portable": "",
			"car": "",
			"default": ["", ""]
		    },
		    "scroll-step": 5,
		    "on-click": "pavucontrol",
		    "ignored-sinks": ["Easy Effects Sink"]
		},
		"clock": {
			"format": "{:%a, %d %b %Y %H:%M:%S %p}",
			"interval": 1
		},
		"custom/temperature": {
			"format": "{} ",
			"exec": "sensors | grep 'Tctl:' | sed -E 's/Tctl:[ ]+//' | sed -E 's/[ ]+//'",
			"interval": 1,
		},
		"cpu": {
			"format": "{}% "
		},
		"memory": {
			"format": "{}% "
		},
		"custom/time": {
			"exec": "bash $HOME/scripts/time.sh --hex",
			"format": "{}",
			"interval": 1,
		},
		"custom/lock": {
			"on-click": "hyprlock",
			"format": "",
		},
		"custom/shutdown": {
			"on-click": "shutdown now",
			"format": "",
		},
		"custom/reboot": {
			"on-click": "reboot",
			"format": "",
		},
		"custom/server-cava": {
			"exec": "ssh max@192.168.1.193 bash /home/max/caway.sh",
			"format": "{}",
			"interval": 1,
		},
	}
]