dotfiles/cg_opts.lua

54 lines
1.3 KiB
Lua
Raw Normal View History

local opts = {}
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-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-06-27 22:31:02 +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",
file_manager_daemon = "thunar --daemon",
2023-02-11 13:24:42 +01:00
-- zenity-compatible dialoger
zenity = "yad",
notification_daemon = "wired",
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"
return opts