{
	"layer": "top",
	// "position": "bottom",
	"height": 24,
	// "width": 1280,
	"spacing": 4,
	"modules-left": ["custom/menu", "custom/help", "custom/terminal", "custom/file-manager", "custom/firefox", "hyprland/workspaces"],
	"modules-center": ["hyprland/window"],
	"modules-right": ["wireplumber", "backlight", "battery", "clock", "custom/recording", "tray", "group/power"],
	"custom/menu": {
		"format": "   ",
		"tooltip": false,
		"on-click": "wofi --show drun --prompt '' --normal-window || true",
	},
	"custom/help": {
		"format": "  ",
		"tooltip": false,
		"on-click": "firefox Desktop/first-steps.html",
	},
	"custom/terminal": {
		"format": "  ",
		"tooltip": false,
		"on-click": "vte-2.91 -f 'mono 12'",
	},
	"custom/file-manager": {
		"format": "  ",
		"tooltip": false,
		"on-click": "exo-open $HOME",
	},
	"custom/geany": {
		"format": "  ",
		"tooltip": false,
		"on-click": "geany",
	},
	"custom/firefox": {
		"format": "  ",
		"tooltip": false,
		"on-click": "firefox",
	},
	"custom/thunderbird": {
		"format": "  ",
		"tooltip": false,
		"on-click": "thunderbird",
	},
	"custom/music": {
		"format": "    ",
		"tooltip": false,
		"on-click": "mpv --player-operation-mode=pseudo-gui",
	},
	"hyprland/workspaces": {
		"format": "{name}",
		"on-click": "activate",
	},
	"idle_inhibitor": {
		"format": "{icon}",
		"format-icons": {
		   "activated": "",
		   "deactivated": "",
		},
	},
	"tray": {
		"icon-size": 22,
		"spacing": 4,
	},
	"clock": {
		// "timezone": "America/New_York",
		"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
		"format": "{:%H:%M} ",
		"format-alt": "{:%Y-%m-%d} ",
	},
	"backlight": {
		"format": "{percent}% ", //""
		// "format": "{percent}% {icon}",
		// "format-icons": ["", "", "", "", "", "", "", "", ""],
	},
	"backlight/slider": {
		"min": 0,
		"max": 100,
		"orientation": "horizontal",
	},
	"battery": {
		"states": {
			"critical": 10,
		},
		"interval": 5,
		"format": "{capacity}% {icon}",
		"format-charging": "{capacity}% ",
		"format-full": "",
		"format-alt": "{time} {icon}",
		"format-icons": ["", "", "", "", ""],
	},
	"wireplumber": {
		"scroll-step": 5,
		"format": "{volume}% {icon}",
		"format-muted": "",
		"format-icons": {
			"default": ["", "", ""],
		},
		"on-click": "pavucontrol",
	},
	"pulseaudio/slider": {
		"min": 0,
		"max": 100,
		"orientation": "horizontal",
	},
	"custom/recording": {
		"format": "{}",
		"interval": 1,
		"tooltip" : false,
		"exec": "if [ -f $HOME/.local/state/screen-recorder.pid ]; then echo -e '\n\nrecording'; else echo ''; fi",
		"on-click": "screen-recorder.sh screen",
		"on-click-right": "screen-recorder.sh region",
	},
	"group/power": {
		"orientation": "inherit",
		"drawer": {
			"transition-duration": 500,
			"transition-left-to-right": false,
		},
		"modules": [
			"custom/quit",
			"custom/power",
			"custom/reboot",
			"custom/suspend",
			"custom/lock",
		]
	},
	"custom/quit": {
		"format": "{}",
		"interval": "once",
		"exec": "power-menu.sh logout",
		"on-click": "loginctl kill-user $USER",
	},
	"custom/lock": {
		"format": "{}",
		"interval": "once",
		"exec": "power-menu.sh lock",
		"on-click": "swaylock -f -c 000000",
	},
	"custom/suspend": {
		"format": "{}",
		"interval": "once",
		"exec": "power-menu.sh suspend",
		"on-click": "swaylock -f -c 000000 & systemctl suspend",
	},
	"custom/reboot": {
		"format": "{}",
		"interval": "once",
		"exec": "power-menu.sh reboot",
		"on-click": "reboot",
	},
	"custom/power": {
		"format": "{}",
		"interval": "once",
		"exec": "power-menu.sh poweroff",
		"on-click": "poweroff",
	}
}

