dotfiles/cg_opts.lua

47 lines
1.1 KiB
Lua

local opts = {}
-- Enable if you have good internet, used for stuff like making
-- streamlink use low-latency mode.
opts.good_internet = true
opts.font = "Iosevka Nerd Font"
opts.term_font = "IosevkaTerm Nerd Font Mono"
opts.term = {
name = "Wezterm",
command = "wezterm",
workdir_command = "wezterm-gui start --cwd",
icon_name = "org.wezfurlong.wezterm",
}
opts.cursor = {
theme = "LyraQ-cursors",
size = 24,
}
-- used in waybar config
opts.wayland_compositor = nil
opts.gtk_theme = "Catppuccin-Mocha-Standard-Red-dark"
opts.icon_theme = "candy-icons"
opts.commands = {
browser = "openbrowser",
email = "claws-mail",
calculator = "qalculate-gtk",
file_manager = "thunar",
file_manager_daemon = "thunar --daemon",
-- zenity-compatible dialoger
zenity = "yad",
notification_daemon = "wired",
screen_lock = string.format("i3lock -ti %s/.local/share/backgrounds/mzte.png", os.getenv "HOME"),
}
opts.gamemode = {
on_start = "notify-send 'Gamemode' 'Gamemode Active'",
on_stop = "notify-send 'Gamemode' 'Gamemode Inactive'",
}
opts.dev_dir = os.getenv "HOME" .. "/dev"
return opts