init
This commit is contained in:
107
modules/home/amfora.nix
Normal file
107
modules/home/amfora.nix
Normal file
@@ -0,0 +1,107 @@
|
||||
_: {
|
||||
home.file = {
|
||||
".config/amfora/config.toml".text = ''
|
||||
[a-general]
|
||||
home = "gemini://gem.zaney.org"
|
||||
color = true
|
||||
ansi = true
|
||||
bullets = true
|
||||
show_link = false
|
||||
scrollbar = "never"
|
||||
auto_redirect = false
|
||||
http = 'brave'
|
||||
search = "gemini://gus.guru/search"
|
||||
max_width = 140
|
||||
page_max_size = 2097152 # 2 MiB
|
||||
page_max_time = 10
|
||||
highlight_code = true
|
||||
highlight_style = "dracula"
|
||||
downloads = '~/Downloads/'
|
||||
underline = true
|
||||
[auth]
|
||||
[auth.certs]
|
||||
[auth.keys]
|
||||
[commands]
|
||||
[keybindings]
|
||||
bind_bottom = ":"
|
||||
bind_quit = "Q"
|
||||
bind_reload = "R"
|
||||
bind_back = "h"
|
||||
bind_forward = "l"
|
||||
bind_moveup = "k"
|
||||
bind_movedown = "j"
|
||||
bind_moveleft = "H"
|
||||
bind_moveright = "L"
|
||||
bind_next_tab = "J"
|
||||
bind_prev_tab = "K"
|
||||
bind_edit = "o"
|
||||
bind_new_tab = "O"
|
||||
bind_close_tab = "q"
|
||||
bind_save = "S"
|
||||
bind_home = "Ctrl-h"
|
||||
bind_bookmarks = "b"
|
||||
bind_add_bookmark = "B"
|
||||
bind_copy_page_url = "c"
|
||||
bind_copy_target_url = "C"
|
||||
bind_search = "/"
|
||||
bind_next_match = "n"
|
||||
bind_prev_match = "N"
|
||||
[url-handlers]
|
||||
[url-prompts]
|
||||
[cache]
|
||||
max_size = 0 # Size in bytes
|
||||
max_pages = 30 # The maximum number of pages the cache will store
|
||||
timeout = 1800 # 30 mins
|
||||
[proxies]
|
||||
[subscriptions]
|
||||
popup = true
|
||||
update_interval = 1800 # 30 mins
|
||||
workers = 3
|
||||
entries_per_page = 20
|
||||
header = true
|
||||
[theme]
|
||||
bg = "#282a36"
|
||||
tab_num = "#bd93f9"
|
||||
tab_divider = "#f8f8f2"
|
||||
bottombar_label = "#bd93f9"
|
||||
bottombar_text = "#8be9fd"
|
||||
bottombar_bg = "#44475a"
|
||||
scrollbar = "#44475a"
|
||||
hdg_1 = "#bd93f9"
|
||||
hdg_2 = "#7cafc2"
|
||||
hdg_3 = "#a16946"
|
||||
amfora_link = "#ff79c6"
|
||||
foreign_link = "#ffb86c"
|
||||
link_number = "#8be9fd"
|
||||
regular_text = "#f8f8f2"
|
||||
quote_text = "#f1fa8c"
|
||||
preformatted_text = "#ffb86c"
|
||||
list_text = "#f8f8f2"
|
||||
btn_bg = "#44475a"
|
||||
btn_text = "#f8f8f2"
|
||||
dl_choice_modal_bg = "#6272a4"
|
||||
dl_choice_modal_text = "#f8f8f2"
|
||||
dl_modal_bg = "#6272a4"
|
||||
dl_modal_text = "#f8f8f2"
|
||||
info_modal_bg = "#6272a4"
|
||||
info_modal_text = "#f8f8f2"
|
||||
error_modal_bg = "#ff5555"
|
||||
error_modal_text = "#f8f8f2"
|
||||
yesno_modal_bg = "#6272a4"
|
||||
yesno_modal_text = "#f8f8f2"
|
||||
tofu_modal_bg = "#6272a4"
|
||||
tofu_modal_text = "#f8f8f2"
|
||||
subscription_modal_bg = "#6272a4"
|
||||
subscription_modal_text = "#f8f8f2"
|
||||
input_modal_bg = "#6272a4"
|
||||
input_modal_text = "#f8f8f2"
|
||||
input_modal_field_bg = "#44475a"
|
||||
input_modal_field_text = "#f8f8f2"
|
||||
bkmk_modal_bg = "#6272a4"
|
||||
bkmk_modal_text = "#f8f8f2"
|
||||
bkmk_modal_label = "#f8f8f2"
|
||||
bkmk_modal_field_bg = "#44475a"
|
||||
bkmk_modal_field_text = "#f8f8f2"
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user