local config_dir = require("gears.filesystem").get_configuration_dir()

local M = {}

M.keys = {
	mod = "Mod4",
	alt = "Mod1",
}

M.apps = {
	terminal = "wezterm",
	launcher = "rofi -show drun",
	browser = "firefox",
	file_manager = "thunar",
	editor = os.getenv("EDITOR") or "nvim",
}

M.apps.start_editor = M.apps.terminal .. "-e" .. M.apps.editor
M.apps.music_player = M.apps.terminal .. "--class music -e ncmpcpp"

M.theme = {
	flavor = {{ .drapeau.colors.flavor | quote }},
	accent1 = "pink",
	accent2 = "rosewater",
  {{- if eq .chezmoi.hostname "archgirlie" -}}
	wallpaper = "~/data/photos/wallpaper/city.png",
  {{ else }}
	wallpaper = config_dir .. "themes/catppuccin/buttons.png",
  {{- end }}
	pfp = config_dir .. "themes/catppuccin/assets/pfp.jpg",
	icon_theme = "Papirus",
	font = {
		family = "FairiesevkaSans Nerd Font Propo",
		size = "10",
	},
}

M.icons = {
	menu = "󰜬",
	power = "",
	restart = "",
	sleep = "",
	exit = "󰗼",
	lock = "",
	music = {
		next = "󰒭",
		prev = "󰒮",
		pause = "󰏤",
		play = "󰐊",
	},
	tags = {
		general = " ",
		files = " ",
		media = " ",
		terminal = " ",
		coding = " ",
		misc = "󰍹 ",
	},
	cal = "",
	clock = "",
	arr = {
		r = "»",
		l = "«",
	},
	vol = {
		on = "󰕾",
		off = "󰖁",
		low = "󰕿",
		med = "󰖀",
		high = "󰕾",
	},
	mem = "󰍛",
	cpu = "",
	disk = "",
}

M.widget = {}

M.widget.clock = {
	format = "%I:%M %p",
}

M.widget.date = {
	format = "%a %b %d",
}

M.widget.weather = {
	api_key = "e894c3e6c1a9d2217eee94791e845c96",
	coordinates = { lat = "47.773140", lon = "-122.303660" },
	units = "imperial",
}

M.widget.github = {
	username = "punkfairie",
}

M.widget.mic = {
	name = "",
}

M.widget.disk = {
	name = "/dev/sdb3",
}

return M
