2023-01-20 22:30:45 +01:00
|
|
|
local opts = {}
|
|
|
|
|
2023-08-27 21:05:25 +02:00
|
|
|
opts.mzteinit_entries = {
|
2023-09-01 09:46:11 +02:00
|
|
|
{ key = "x", label = "startx", cmd = { "startx" } },
|
2023-09-10 15:04:16 +02:00
|
|
|
{ key = "h", label = "hyprland", cmd = { "Hyprland" } },
|
2023-08-27 21:05:25 +02:00
|
|
|
{ key = "s", label = "shell", cmd = { "fish" } },
|
|
|
|
{ key = "l", label = "logout", cmd = { "!quit" } },
|
|
|
|
{ key = "p", label = "shutdown", cmd = { "systemctl", "poweroff" }, quit = true },
|
|
|
|
{ key = "r", label = "reboot", cmd = { "systemctl", "reboot" }, quit = true },
|
|
|
|
}
|
|
|
|
|
2023-04-29 00:13:00 +02:00
|
|
|
-- Enable if you have good internet, used for stuff like making
|
|
|
|
-- streamlink use low-latency mode.
|
|
|
|
opts.good_internet = true
|
|
|
|
|
2023-08-27 17:01:31 +02:00
|
|
|
-- Enable if stuck on garbage hardware. Enables wayland-related workarounds.
|
|
|
|
opts.nvidia = false
|
|
|
|
|
2023-05-04 08:24:42 +02:00
|
|
|
opts.font = "Iosevka Nerd Font"
|
|
|
|
opts.term_font = "IosevkaTerm Nerd Font Mono"
|
2023-01-20 22:30:45 +01:00
|
|
|
|
2023-01-26 08:18:52 +01:00
|
|
|
opts.term = {
|
|
|
|
name = "Wezterm",
|
|
|
|
command = "wezterm",
|
|
|
|
workdir_command = "wezterm-gui start --cwd",
|
|
|
|
icon_name = "org.wezfurlong.wezterm",
|
|
|
|
}
|
2023-01-21 19:09:24 +01:00
|
|
|
|
2023-04-26 14:16:40 +02:00
|
|
|
opts.cursor = {
|
|
|
|
theme = "LyraQ-cursors",
|
|
|
|
size = 24,
|
|
|
|
}
|
|
|
|
|
2023-08-27 19:46:01 +02:00
|
|
|
-- hwmon temperature path for CPU temp used by waybar
|
|
|
|
opts.cpu_temp_hwmon = "/sys/class/hwmon/hwmon0/temp1_input"
|
|
|
|
|
2023-08-26 16:31:51 +02:00
|
|
|
-- used in waybar config
|
|
|
|
opts.wayland_compositor = nil
|
|
|
|
|
2023-09-26 00:05:22 +02:00
|
|
|
opts.gtk_theme = "Catppuccin-Mocha-Standard-Red-Dark"
|
2023-01-26 21:17:16 +01:00
|
|
|
opts.icon_theme = "candy-icons"
|
|
|
|
|
|
|
|
opts.commands = {
|
|
|
|
browser = "openbrowser",
|
|
|
|
email = "claws-mail",
|
|
|
|
calculator = "qalculate-gtk",
|
|
|
|
file_manager = "thunar",
|
2023-03-06 13:54:33 +01:00
|
|
|
file_manager_daemon = "thunar --daemon",
|
2023-02-11 13:24:42 +01:00
|
|
|
-- zenity-compatible dialoger
|
|
|
|
zenity = "yad",
|
2023-09-30 16:06:51 +02:00
|
|
|
notification_daemon = {
|
|
|
|
x = "wired",
|
|
|
|
wl = "mako",
|
|
|
|
},
|
2023-07-28 00:57:43 +02:00
|
|
|
screen_lock = string.format("i3lock -ti %s/.local/share/backgrounds/mzte.png", os.getenv "HOME"),
|
2023-01-26 21:17:16 +01:00
|
|
|
}
|
|
|
|
|
2023-06-04 19:13:07 +02:00
|
|
|
opts.gamemode = {
|
|
|
|
on_start = "notify-send 'Gamemode' 'Gamemode Active'",
|
|
|
|
on_stop = "notify-send 'Gamemode' 'Gamemode Inactive'",
|
|
|
|
}
|
|
|
|
|
2023-07-27 15:30:03 +02:00
|
|
|
opts.dev_dir = os.getenv "HOME" .. "/dev"
|
|
|
|
|
2023-09-30 16:06:51 +02:00
|
|
|
opts.catppuccin = {
|
|
|
|
base = "#1e1e2e",
|
|
|
|
blue = "#89b4fa",
|
|
|
|
crust = "#11111b",
|
|
|
|
flamingo = "#f2cdcd",
|
|
|
|
green = "#a6e3a1",
|
|
|
|
lavender = "#b4befe",
|
|
|
|
mantle = "#181825",
|
|
|
|
maroon = "#eba0ac",
|
|
|
|
mauve = "#cba6f7",
|
|
|
|
overlay0 = "#6c7086",
|
|
|
|
overlay1 = "#7f849c",
|
|
|
|
overlay2 = "#9399b2",
|
|
|
|
peach = "#fab387",
|
|
|
|
pink = "#f5c2e7",
|
|
|
|
red = "#f38ba8",
|
|
|
|
rosewater = "#f5e0dc",
|
|
|
|
sapphire = "#74c7ec",
|
|
|
|
sky = "#89dceb",
|
|
|
|
subtext0 = "#a6adc8",
|
|
|
|
subtext1 = "#bac2de",
|
|
|
|
surface0 = "#313244",
|
|
|
|
surface1 = "#45475a",
|
|
|
|
surface2 = "#585b70",
|
|
|
|
teal = "#94e2d5",
|
|
|
|
text = "#cdd6f4",
|
|
|
|
yellow = "#f9e2af",
|
|
|
|
}
|
|
|
|
|
2023-01-20 22:30:45 +01:00
|
|
|
return opts
|