dotfiles/dot_config/awesome/config.lua.tmpl

106 lines
1.7 KiB
Cheetah
Raw Permalink Normal View History

2024-04-14 18:41:15 -07:00
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 = {
2024-04-19 18:16:52 -07:00
flavor = {{ .drapeau.colors.flavor | quote }},
2024-04-14 18:41:15 -07:00
accent1 = "pink",
accent2 = "rosewater",
2024-04-19 18:24:05 -07:00
{{- if eq .chezmoi.hostname "archgirlie" -}}
2024-04-14 18:41:15 -07:00
wallpaper = "~/data/photos/wallpaper/city.png",
2024-04-19 18:23:36 -07:00
{{ else }}
2024-04-19 18:22:00 -07:00
wallpaper = config_dir .. "themes/catppuccin/buttons.png",
2024-04-19 18:23:36 -07:00
{{- end }}
2024-04-14 18:41:15 -07:00
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