Pygments style + notmuch + fix some issues in fish theme

This commit is contained in:
Kujiu 2023-09-27 03:29:50 +02:00
parent 2e9fc5f476
commit 45b99b6b82
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
30 changed files with 1859 additions and 85 deletions

View file

@ -10,7 +10,7 @@ Some tools have their upstream licenses.
Some configurations for these tools:
- Passwords in KeePassXC (access by keyring)
- Neomutt + Aerc (mail)
- Neomutt + Aerc + notmuch + afew (mail)
- vdirsyncer + khal + khard (calendar and contacts)
- fish
- poezio (XMPP)
@ -24,10 +24,12 @@ Some configurations for these tools:
- pms
- lazygit and tig (git)
- lazydocker
- asciinema
You need to install:
- aerc
- asciinema
- browsh
- colordiff
- colormake
@ -36,6 +38,7 @@ You need to install:
- elinks
- fish
- grammalecte-cli
- isync
- KeePassXC
- khal
- khard
@ -48,11 +51,11 @@ You need to install:
- newsboat
- notmuch
- nvm
- offlineimap3
- pandoc (>= v3.0)
- pms
- poezio
- pyinotify
- pylint
- python3-pygments
- rbenv
- scdoc (debian only)
@ -71,4 +74,5 @@ You need to install:
- pms - recent version in go (but installed by script on debian)
- poezio-omemo (but installed by script on debian)
- poezio-plugins (but installed by script on debian)
- pyright (but installed by script on debian)
- virtualfish (but installed by script on debian)

View file

@ -13,6 +13,7 @@ set -x EDITOR "lvim"
set -x PAGER "nvimpager"
set -x BROWSER "firefox"
set -x PATH ~/.local/bin ~/.cargo/bin ~/go/bin /usr/sbin /sbin /usr/local/sbin /usr/local/bin /usr/bin /bin /usr/games
set -x NOTMUCH_CONFIG ~/.config/notmuch/notmuch-config
set -x KEYRING_PROPERTY_SCHEME KeePassXC

View file

@ -2,7 +2,7 @@
# VERSION: 3.0
SETUVAR VIRTUAL_ENV_DISABLE_PROMPT:true
SETUVAR __fish_initialized:3400
SETUVAR fish_color_autosuggestion:738091
SETUVAR fish_color_autosuggestion:81b29a
SETUVAR fish_color_cancel:9d79d6
SETUVAR fish_color_command:63cdcf
SETUVAR fish_color_comment:738091
@ -26,7 +26,7 @@ SETUVAR fish_color_host_remote:f4a261
SETUVAR fish_color_keyword:9d79d6
SETUVAR fish_color_match:dbc074
SETUVAR fish_color_normal:cdcecf
SETUVAR fish_color_operator:81b29a
SETUVAR fish_color_operator:aeafb0
SETUVAR fish_color_option:dfdfe0
SETUVAR fish_color_param:71839b
SETUVAR fish_color_quote:dbc074

View file

@ -2,5 +2,5 @@
#
function newsboat -d "Newsboat RSS Reader"
TERM=xterm-256color command newsboat $argv
TERM=tmux-256color command newsboat $argv
end

View file

@ -2,5 +2,5 @@
#
function poezio -d "Poezio XMPP client"
TERM=xterm-256color command poezio $argv
TERM=tmux-256color command poezio $argv
end

View file

@ -2,5 +2,5 @@
#
function tig -d "Tig git client"
TERM=xterm-256color command tig $argv
TERM=tmux-256color command tig $argv
end

View file

@ -95,6 +95,12 @@ function update-homes -d "Update homes configuration"
echo (set_color 719cd6)"*** Install virtualfish ***"(set_color normal)
echo
pip install --user --upgrade --break-system-packages virtualfish
echo
echo
echo (set_color 719cd6)"*** Install pyright ***"(set_color normal)
echo
pip install --user --upgrade --break-system-packages -U pyright
end
if set -q _flag_desktop && set -q _flag_fix_debian
@ -154,6 +160,12 @@ function update-homes -d "Update homes configuration"
echo
fundle install
fundle update
echo
echo
echo (set_color 719cd6)"*** Install pygments style ***"(set_color normal)
echo
pip install "git+https://procrastinator.nerv-project.eu/kujiu/pygments_nightfox_style" --user --break-system-packages
end
if set -q _flag_remove
@ -179,6 +191,9 @@ function update-homes -d "Update homes configuration"
rm -rf ~/.config/tmuxinator
rm -rf ~/.config/toot
rm -rf ~/.config/vdirsyncer
rm -rf ~/.local/share/json-fortune
rm ~/.fortunes.json
rm ~/.wikiquote-sources.json
end
if set -q _flag_git
@ -216,6 +231,17 @@ function update-homes -d "Update homes configuration"
popd
end
if set -q _flag_install
echo
echo
echo (set_color 719cd6)"*** Install json-fortune deps ***"(set_color normal)
echo
pip install --user --upgrade --break-system-packages wikiquote
if not test -f ~/.local/share/json-fortune/fortunes.json
update-quotes
end
end
if set -q _flag_root
echo
echo

View file

@ -18,12 +18,12 @@ fish_color_match dbc074
fish_color_selection --bold --background=2b3b51
fish_color_search_match --background=2b3b51
fish_color_history_current --bold
fish_color_operator 81b29a
fish_color_operator aeafb0
fish_color_escape d67ad2
fish_color_cwd 81b29a
fish_color_cwd_root c94f6d
fish_color_valid_path 719cd6 --underline
fish_color_autosuggestion 738091
fish_color_autosuggestion 81b29a
fish_color_user 63cdcf
fish_color_host 719cd6
fish_color_cancel 9d79d6

View file

@ -4,7 +4,7 @@
"J. K. Rowling",
"Harry Potter",
"Harry Potter (films)",
"Harry Potter et le Prince de sang-mêlé"
"Harry Potter et le Prince de sang-mêlé (film)"
],
"star_trek": [
"Star Trek",
@ -24,18 +24,20 @@
],
"starwars": [
"Star Wars",
"Star Wars : The Clone Wars (série, 2008)",
"Star Wars, épisode I : La Menace fantôme (film)",
"Star Wars, épisode II : L'Attaque des clones (film)",
"Star Wars, épisode III : La Revanche des Sith (film)",
"Star Wars, épisode IV : Un nouvel espoir (film)",
"Star Wars, épisode V : L'Empire contre-attaque (film)",
"Star Wars, épisode VI : Le Retour du Jedi (film)",
"Star Wars, épisode VI : Le Retour du Jedi (livre)"
"Star Wars : The Clone Wars (série, 2008-2020)",
"Star Wars, épisode I : La Menace fantôme",
"Star Wars, épisode II : L'Attaque des clones",
"Star Wars, épisode III : La Revanche des Sith",
"Star Wars, épisode IV : Un nouvel espoir",
"Star Wars, épisode V : L'Empire contre-attaque",
"Star Wars, épisode VI : Le Retour du Jedi",
"Star Wars, épisode VI : Le Retour du Jedi (livre)",
"Star Wars, épisode VII : Le Réveil de la Force"
],
"kaamelott": [
"Kaamelott",
"Kaamelott/Bandes dessinées",
"Kaamelott : Premier Volet",
"Kaamelott/Dialogues",
"Kaamelott/Dialogues/Absurdités de la vie quotidienne",
"Kaamelott/Arthur",
@ -78,7 +80,10 @@
"Hero Corp",
"Reflets d'Acide",
"Terry Pratchett",
"H. P. Lovecraft"
"H. P. Lovecraft",
"Ursula K. Le Guin",
"Lanfeust de Troy",
"Le Donjon de Naheulbeuk"
],
"science-fiction": [
"Short Circuit",
@ -88,17 +93,18 @@
"L'Échiquier du mal",
"Robert Silverberg",
"Starship Troopers (film)",
"Ghost in the Shell",
"Hypérion",
"La Chute d'Hypérion",
"Jules Verne",
"1984",
"Retour vers le futur",
"Douglas Adams"
"Douglas Adams",
"Hunger Games"
],
"dune": [
"Frank Herbert",
"Dune (film)",
"Dune (film, 1984)",
"Dune (film, 2021)",
"Dune",
"Le Messie de Dune",
"Les Enfants de Dune",
@ -132,7 +138,6 @@
"Les Robots de l'aube",
"Les Robots et l'Empire",
"Tyrann",
"Poussière d'étoiles",
"Les Courants de l'espace",
"Cailloux dans le ciel",
"Fondation (livre)",
@ -153,7 +158,6 @@
"La Tour sombre"
],
"detective": [
"Détective Conan",
"La Cité de la peur",
"Le Pacte des loups",
"Gaston Leroux",
@ -164,13 +168,37 @@
"Fred Vargas",
"Agatha Christie"
],
"manga": [
"Détective Conan",
"Saiyuki - Chronique de l'Extrême Voyage",
"Death Note",
"Ghost in the Shell",
"Gunnm",
"Ranma ½"
],
"ghibli": [
"Le Voyage de Chihiro",
"Princesse Mononoké",
"Porco Rosso"
"Porco Rosso",
"Le Royaume des chats",
"Souvenirs de Marnie",
"Les Contes de Terremer",
"Le Château dans le ciel",
"Si tu tends l'oreille",
"La Tortue rouge",
"Kiki la petite sorcière",
"Nausicaä de la Vallée du Vent (film d'animation)",
"Mes voisins les Yamada (film)",
"Mon voisin Totoro",
"Pompoko",
"La Colline aux coquelicots (film)",
"Le Château ambulant",
"Le Tombeau des lucioles",
"Arrietty : Le Petit Monde des Chapardeurs",
"Le Conte de la princesse Kaguya",
"Le vent se lève (film, 2013)"
],
"adventure": [
"Saiyuki - Chronique de l'Extrême Voyage",
"Prince of Persia : Les Sables du temps",
"Astérix",
"Les Aventures de Tintin",
@ -190,13 +218,14 @@
"Grand Corps Malade",
"Émile Zola",
"Amélie Nothomb",
"Coluche"
"Coluche",
"Le Chat"
]
},
"en": {
"harry_potter": [
"Harry Potter and the Chamber of Secrets",
"Harry Potter and the Sorcerer's Stone",
"Harry Potter and the Philosopher's Stone",
"Harry Potter and the Prisoner of Azkaban",
"Harry Potter and the Goblet of Fire",
"Harry Potter and the Order of the Phoenix",
@ -214,7 +243,6 @@
"J. K. Rowling"
],
"starwars": [
"Star Wars",
"The Empire Strikes Back",
"Return of the Jedi",
"Rogue One",
@ -226,10 +254,10 @@
"Star Wars: The Clone Wars (film)",
"Star Wars: The Force Awakens",
"Star Wars: The Last Jedi",
"Star Wars Rebels"
"Star Wars Rebels",
"Star Wars: The Rise of Skywalker"
],
"star_trek": [
"Star Trek",
"Star Trek: Discovery",
"Jean-Luc Picard",
"Klingon proverbs",
@ -278,7 +306,9 @@
"Terry Pratchett",
"Discworld",
"Good Omens",
"Terry Pratchett's Hogfather"
"Ursula K. Le Guin",
"Terry Pratchett's Hogfather",
"Your Name"
],
"science-fiction":[
"Back to the Future",
@ -310,6 +340,8 @@
"Stephen King"
],
"disney": [
"An American Tail: Fievel Goes West",
"An American Tail",
"The Lion King",
"The Fox and the Hound",
"Fantasia (1940 film)",
@ -321,7 +353,9 @@
"Wreck-It Ralph",
"One Hundred and One Dalmatians",
"The Black Cauldron (film)",
"The Land Before Time",
"The Land Before Time (film)",
"The Land Before Time II: The Great Valley Adventure",
"The Land Before Time III: The Time of the Great Giving",
"Dumbo",
"Cinderella (1950 film)",
"Aladdin (1992 Disney film)",
@ -380,7 +414,7 @@
"Black Butler",
"Buso Renkin",
"Berserk (anime)",
"Akira (film)",
"Akira (1988 film)",
"Wolf's Rain",
"Megatokyo",
"InuYasha",
@ -403,15 +437,13 @@
"Mobile Suit Gundam: Char's Counterattack",
"Gundam Wing",
"Mobile Fighter G Gundam",
"Gundam Seed",
"Gundam 00"
"Gundam Seed"
],
"final_fantasy": [
"Auron",
"Final Fantasy VII: Crisis Core",
"Dissidia: Final Fantasy",
"Final Fantasy (video game)",
"Final Fantasy",
"Final Fantasy II",
"Final Fantasy III",
"Final Fantasy IV",
@ -438,22 +470,13 @@
],
"kingdom_hearts": [
"Kingdom Hearts",
"Kingdom Hearts (series)",
"Kingdom Hearts 3D: Dream Drop Distance",
"Kingdom Hearts Birth by Sleep",
"Kingdom Hearts coded",
"Kingdom Hearts II",
"Kingdom Hearts: 358/2 Days",
"Kingdom Hearts: Chain of Memories"
],
"ghibli": [
"Your Name",
"Porco Rosso",
"Spirited Away",
"Howl's Moving Castle",
"Nausicaä of the Valley of the Wind",
"Kiki's Delivery Service",
"Princess Mononoke"
"Kingdom Hearts: Chain of Memories",
"Kingdom Hearts III"
],
"detective": [
"Who Framed Roger Rabbit",
@ -477,7 +500,7 @@
"Pirates of the Caribbean: On Stranger Tides",
"Pirates of the Caribbean: Dead Men Tell No Tales",
"Willow (film)",
"Stardust (novel)",
"Stardust (Gaiman novel)",
"Stardust (2007 film)",
"Prince of Persia",
"Reservoir Dogs",
@ -509,7 +532,7 @@
"Indiana Jones and the Fate of Atlantis",
"Return to Zork",
"Zork",
"Zork Grand Inquisitor",
"Zork: Grand Inquisitor",
"The Legend of Spyro: A New Beginning",
"The Elder Scrolls V: Skyrim",
"Rayman",

View file

@ -50,8 +50,17 @@ vim.g.languagetool_jar = '~/.bin/languagetool-commandline.jar'
opts = {noremap=true, silent=true}
vim.keymap.set('n', '<tab>', "gt", opts)
vim.keymap.set('n', '<S-tab>', "gT", opts)
vim.keymap.set('v', 'gl', ":'<,'>!lou_translate en-us-brf.dis,fr-bfu-comp6.utb,braille-patterns.cti<CR>", opts)
vim.keymap.set('v', 'gL', ":'<,'>!lou_translate --backward en-us-brf.dis,fr-bfu-comp6.utb,braille-patterns.cti<CR>", opts)
vim.keymap.set('v', 'gle', ":'<,'>!lou_translate en-us-brf.dis,braille-patterns.cti<CR>", opts)
vim.keymap.set('v', 'gLe', ":'<,'>!lou_translate --backward en-us-brf.dis,braille-patterns.cti<CR>", opts)
vim.keymap.set('v', 'glf', ":'<,'>!lou_translate fr-bfu-comp6.utb,braille-patterns.cti<CR>", opts)
vim.keymap.set('v', 'gLf', ":'<,'>!lou_translate --backward fr-bfu-comp6.utb,braille-patterns.cti<CR>", opts)
lvim.colorscheme="nightfox"
lvim.transparent_window = true
vim.diagnostic.config({
virtual_text = false
})
vim.o.updatetime = 2500
vim.cmd [[autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false})]]

View file

@ -58,10 +58,19 @@ vim.g.languagetool_jar = '~/.bin/languagetool-commandline.jar'
opts = {noremap=true, silent=true}
vim.keymap.set('n', '<tab>', "gt", opts)
vim.keymap.set('n', '<S-tab>', "gT", opts)
vim.keymap.set('v', 'gl', ":'<,'>!lou_translate en-us-brf.dis,fr-bfu-comp6.utb,braille-patterns.cti<CR>", opts)
vim.keymap.set('v', 'gL', ":'<,'>!lou_translate --backward en-us-brf.dis,fr-bfu-comp6.utb,braille-patterns.cti<CR>", opts)
vim.keymap.set('v', 'gle', ":'<,'>!lou_translate en-us-brf.dis,braille-patterns.cti<CR>", opts)
vim.keymap.set('v', 'gLe', ":'<,'>!lou_translate --backward en-us-brf.dis,braille-patterns.cti<CR>", opts)
vim.keymap.set('v', 'glf', ":'<,'>!lou_translate fr-bfu-comp6.utb,braille-patterns.cti<CR>", opts)
vim.keymap.set('v', 'gLf', ":'<,'>!lou_translate --backward fr-bfu-comp6.utb,braille-patterns.cti<CR>", opts)
vim.cmd 'colorscheme nightfox'
vim.transparent_window = true
vim.cmd 'highlight Normal ctermbg=none guibg=none'
vim.diagnostic.config({
virtual_text = false
})
vim.o.updatetime = 2500
vim.cmd [[autocmd CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false})]]

File diff suppressed because it is too large Load diff

View file

@ -61,6 +61,8 @@ class JsonFortune:
"""
by_category = getattr(options, 'by_category', False)
quote = ""
author = ""
lang = ""
count = 0
while not quote and count < 50:
count += 1
@ -140,7 +142,7 @@ class JsonFortune:
if __name__ == '__main__':
parser = argparse.ArgumentParser(description="Print/say a quote from JSON file.")
parser.add_argument(
'-s', '--source', default='~/.fortunes.json',
'-s', '--source', default='~/.local/share/json-fortune/fortunes.json',
help='JSON file with quotes')
parser.add_argument(
'-b', '--by_category', default=False, action='store_true',

View file

@ -12,6 +12,7 @@ import json
import argparse
import logging
import pathlib
import sys
import os.path
import wikiquote
@ -35,6 +36,7 @@ def generate_quotes(srcfile):
for category in sources_dict[lang]:
quotes[lang].setdefault(category, {})
for author in sources_dict[lang][category]:
print(f"\n***** Retrieving {author} from {lang}/{category} *****")
try:
quotes[lang][category][author] = wikiquote.quotes(
author, lang=lang
@ -69,10 +71,10 @@ Source file must be a JSON in this format:\n
}\n
""")
parser.add_argument(
'--source', default='~/.wikiquote-sources.json',
'--source', default='~/.config/json-fortune/wikiquote-sources.json',
help='JSON file with sources')
parser.add_argument(
'--dest', default='~/.fortunes.json',
'--dest', default='~/.local/share/json-fortune/fortunes.json',
help='Destination file')
parser.add_argument(
'-d', '--debug', action='store_true', help="Debug mode")
@ -108,5 +110,7 @@ Source file must be a JSON in this format:\n
os.path.expandvars(options.dest)
)
pathlib.Path(dest).parent.mkdir(parents=True, exist_ok=True)
with open(dest, 'w') as fout:
json.dump(generate_quotes(source), fout, indent=4)

View file

@ -445,7 +445,7 @@ address-book-cmd=khard email --parsable --remove-first-line %s
# accepted. The commands are invoked with sh -c and are expected to output
# valid UTF-8 text.
#
text/html=pandoc -f html -t rst --list-tables=true | pygmentize -l rst | colorize
text/html=elinks -dump 1 | pygmentize -l rst -O style=nightfox_transparent | colorize
[filters]
#
@ -479,7 +479,7 @@ text/plain=colorize
text/calendar=calendar
message/delivery-status=colorize
message/rfc822=colorize
text/html=pandoc -f html -t rst --list-tables=true | pygmentize -l rst | colorize
text/html=elinks -dump 1 | colorize
#text/html=html | colorize
#text/*=bat -fP --file-name="$AERC_FILENAME"
#application/x-sh=bat -fP -l sh

View file

@ -0,0 +1,45 @@
[global]
[FolderNameFilter]
folder_transforms = Junk:spam Drafts:draft Sent:sent INBOX:inbox Trash:deleted
maildir_separator = /
[SpamFilter]
[KillThreadsFilter]
[ListMailsFilter]
[SentMailsFilter]
[ArchiveSentMailsFilter]
sent_tag = sent
[DMARCReportInspectionFilter]
[DKIMValidityFilter]
[HeaderMatchingFilter.0]
header = List-Id
pattern = <(?P<list_id>.*)>
tags = +lists;+{list_id}
[HeaderMatchingFilter.1]
header = To
pattern = .*[-+](?P<autotag>\w*)@.*
tags = -nodelimiter;+dtr:{autotag}
[HeaderMatchingFilter.2]
header = Cc
pattern = .*[-+](?P<autotag>\w*)@.*
tags = -nodelimiter;+dtr:{autotag}
[HeaderMatchingFilter.3]
header = Bcc
pattern = .*[-+](?P<autotag>\w*)@.*
tags = -nodelimiter;+dtr:{autotag}
[HeaderMatchingFilter.4]
header = X-Mailer
pattern = (?P<mailer>.*)
tags = +mailer:{mailer}
[HeaderMatchingFilter.5]
header = X-Operating-System
pattern = (?P<os>.*)
tags = +os:{os}

View file

@ -0,0 +1,6 @@
#!/usr/bin/env fish
#
function mbsync -d "mbsync with config file in ~/.config/mbsync"
command mbsync -c ~/.config/mbsync/mbsyncrc $argv
end

View file

@ -0,0 +1,30 @@
[calendars]
[[calendars]]
path = ~/.local/share/calendars/*/*
type = discover
timedelta = 7d
[locale]
timeformat = %H:%M
dateformat = %d/%m
longdateformat = %d/%m/%y
datetimeformat = %d/%m %H:%M
longdatetimeformat = %d/%m/%y %H:%M
local_timezone = Europe/Brussels
default_timezone = Europe/Brussels
firstweekday = 0
weeknumbers = left
[default]
default_calendar = IRL
highlight_event_days = true
[highlight_days]
method = fg
[view]
event_format = "{calendar-color}{cancelled}{start}-{end} {repeat-symbol}{alarm-symbol}{title}{description-separator}{description}{reset}"
agenda_day_format = "{bold}{name}, {date-long}{reset}"
agenda_event_format = "{calendar-color}{cancelled}{start-end-time-style}{repeat-symbol}{alarm-symbol} {title}{description-separator}{description}{reset}"
bold_for_light_color = False

View file

@ -0,0 +1,3 @@
#!/usr/bin/env fish
afew --tag --new

View file

@ -0,0 +1,3 @@
#!/usr/bin/env fish
mbsync -a

View file

@ -0,0 +1,26 @@
NFOX_BLACK = 59
NFOX_RED = 167
NFOX_GREEN = 108
NFOX_YELLOW = 180
NFOX_BLUE = 39
NFOX_MAGENTA = 140
NFOX_CYAN = 80
NFOX_WHITE = 188
NFOX_ORANGE = 215
NFOX_PINK = 176
NFOX_COMMENT = 102
NFOX_BG0 = 16
NFOX_BG1 = 17
NFOX_BG2 = 17
NFOX_BG3 = 237
NFOX_BG4 = 59
NFOX_FG0 = 188
NFOX_FG1 = 188
NFOX_FG2 = 145
NFOX_FG3 = 67
NFOX_SEL0 = 23
NFOX_SEL1 = 59

53
nightfox_palette/ANSI.py Normal file
View file

@ -0,0 +1,53 @@
NFOX_BLACK_FG = "\033[38;2;57;59;68m"
NFOX_BLACK_BG = "\033[48;2;57;59;68m"
NFOX_RED_FG = "\033[38;2;201;79;109m"
NFOX_RED_BG = "\033[48;2;201;79;109m"
NFOX_GREEN_FG = "\033[38;2;129;178;154m"
NFOX_GREEN_BG = "\033[48;2;129;178;154m"
NFOX_YELLOW_FG = "\033[38;2;219;192;116m"
NFOX_YELLOW_BG = "\033[48;2;219;192;116m"
NFOX_BLUE_FG = "\033[38;2;113;156;214m"
NFOX_BLUE_BG = "\033[48;2;113;156;214m"
NFOX_MAGENTA_FG = "\033[38;2;157;121;214m"
NFOX_MAGENTA_BG = "\033[48;2;157;121;214m"
NFOX_CYAN_FG = "\033[38;2;99;205;207m"
NFOX_CYAN_BG = "\033[48;2;99;205;207m"
NFOX_WHITE_FG = "\033[38;2;223;223;224m"
NFOX_WHITE_BG = "\033[48;2;223;223;224m"
NFOX_ORANGE_FG = "\033[38;2;244;162;97m"
NFOX_ORANGE_BG = "\033[48;2;244;162;97m"
NFOX_PINK_FG = "\033[38;2;214;122;210m"
NFOX_PINK_BG = "\033[48;2;214;122;210m"
NFOX_COMMENT_FG = "\033[38;2;115;128;145m"
NFOX_COMMENT_BG = "\033[48;2;115;128;145m"
NFOX_BG0_FG = "\033[38;2;19;26;36m"
NFOX_BG0_BG = "\033[48;2;19;26;36m"
NFOX_BG1_FG = "\033[38;2;25;35;48m"
NFOX_BG1_BG = "\033[48;2;25;35;48m"
NFOX_BG2_FG = "\033[38;2;33;46;63m"
NFOX_BG2_BG = "\033[48;2;33;46;63m"
NFOX_BG3_FG = "\033[38;2;41;57;79m"
NFOX_BG3_BG = "\033[48;2;41;57;79m"
NFOX_BG4_FG = "\033[38;2;57;80;109m"
NFOX_BG4_BG = "\033[48;2;57;80;109m"
NFOX_FG0_FG = "\033[38;2;214;214;215m"
NFOX_FG0_BG = "\033[48;2;214;214;215m"
NFOX_FG1_FG = "\033[38;2;205;206;207m"
NFOX_FG1_BG = "\033[48;2;205;206;207m"
NFOX_FG2_FG = "\033[38;2;174;175;176m"
NFOX_FG2_BG = "\033[48;2;174;175;176m"
NFOX_FG3_FG = "\033[38;2;113;131;155m"
NFOX_FG3_BG = "\033[48;2;113;131;155m"
NFOX_SEL0_FG = "\033[38;2;43;59;81m"
NFOX_SEL0_BG = "\033[48;2;43;59;81m"
NFOX_SEL1_FG = "\033[38;2;60;83;114m"
NFOX_SEL1_BG = "\033[48;2;60;83;114m"
NO_COLOR = "\033[39m\033[49m\033[00m"
NO_BG = "\033[49m"
NO_FG = "\033[49m"
BOLD = "\033[01m"
ITALIC = "\033[03m"
UNDERLINE = "\033[04m"
REVERSE = "\033[07m"
OVERLINED = "\033[53m"

View file

@ -0,0 +1,6 @@
Palette from EdenEast
=====================
MIT license
See https://github.com/EdenEast/nightfox.nvim

51
nightfox_palette/html.py Normal file
View file

@ -0,0 +1,51 @@
# Normal
NFOX_BLACK = "#393b44"
NFOX_RED = "#c94f6d"
NFOX_GREEN = "#81b29a"
NFOX_YELLOW = "#dbc074"
NFOX_BLUE = "#719cd6"
NFOX_MAGENTA = "#9d79d6"
NFOX_CYAN = "#63cdcf"
NFOX_WHITE = "#dfdfe0"
NFOX_ORANGE = "#f4a261"
NFOX_PINK = "#d67ad2"
NFOX_COMMENT = "#738091"
NFOX_BG0 = "#131a24"
NFOX_BG1 = "#192330"
NFOX_BG2 = "#212e3f"
NFOX_BG3 = "#29394f"
NFOX_BG4 = "#39506d"
NFOX_FG0 = "#d6d6d7"
NFOX_FG1 = "#cdcecf"
NFOX_FG2 = "#aeafb0"
NFOX_FG3 = "#71839b"
NFOX_SEL0 = "#2b3b51"
NFOX_SEL1 = "#3c5372"
# Darker
NFOX_BLACK_D = "#13151e"
NFOX_RED_D = "#a32947"
NFOX_GREEN_D = "#5b8c74"
NFOX_YELLOW_D = "#b59a4e"
NFOX_BLUE_D = "#4b76b0"
NFOX_MAGENTA_D = "#7753b0"
NFOX_CYAN_D = "#3da7a9"
NFOX_WHITE_D = "#b9b9ba"
NFOX_ORANGE_D = "#ce7c3b"
NFOX_PINK_D = "#b054ac"
#Lighter
NFOX_BLACK_L = "#5F616A"
NFOX_RED_L = "#ef7593"
NFOX_GREEN_L = "#9bccb4"
NFOX_YELLOW_L = "#ffe69a"
NFOX_BLUE_L = "#97c2fc"
NFOX_MAGENTA_L = "#eac6ff"
NFOX_CYAN_L = "#89f3f5"
NFOX_WHITE_L = "#ffffff"
NFOX_ORANGE_L = "#ffc887"
NFOX_PINK_L = "#fca0f8"

View file

@ -6,6 +6,6 @@ from = Template Example <template@example.com>
copy-to = Sent
source-cred-cmd = keyring get "mail:template@example.com" "template@example.com"
outgoing-cred-cmd = keyring get "mail:template@example.com" "template@example.com"
signature-file = "~/.config/aerc/accounts/template@example.com/signature.txt"
signature-file = "~/.config/aerc/accounts/acc:template@example.com/signature.txt"
pgp-auto-sign = true
pgp-opportunistic-encrypt = true

View file

@ -1,24 +0,0 @@
[calendars]
[[example_calendar_local]]
path = ~/.local/share/calendars/Example/*
type = discover
priority = 10
[[example_contacts_local]]
path = ~/.local/share/contacts/Example/*
type = discover
priority = 5
[locale]
timeformat = %H:%M
dateformat = %d/%m/%Y
longdateformat = %d/%m/%Y
datetimeformat = %d/%m/%Y %H:%M
longdatetimeformat = %d/%m/%Y %H:%M
local_timezone = Europe/Brussels
default_timezone = Europe/Brussels
[default]
default_calendar = ExampleCalendar
highlight_event_days = true

View file

@ -47,7 +47,7 @@ preferred_email_address_type = pref, work, home
# example:
# private_objects = Jabber, Skype, Twitter
# default: , (the empty list)
private_objects = Jabber, Skype, XMPP, Mastodon, Matrix, Peertube
private_objects = XMPP, Mastodon, Matrix, Peertube, Diaspora, PixelFed, Gemini, Youtube, Skype
# preferred vcard version: 3.0 / 4.0
preferred_version = 4.0
# Look into source vcf files to speed up search queries: yes / no

View file

@ -0,0 +1,38 @@
# Global configuration section
# Values here are used as defaults for any following Channel section that
# doesn't specify them.
Expunge Both
Create Both
SyncState *
MaildirStore local
Path ~/.local/share/mail/local/
Subfolders Verbatim
Trash Trash
#############################
#
IMAPStore test1@example.com
Host imap.example.com
User test1@example.com
PassCmd "keyring get 'cas:test1@example.com' 'test1@example.com'"
SSLType STARTTLS
Channel test1@example.com
Far :test1@example.com:
Near :local:test1@example.com/
#############################
#
IMAPStore test2@example.com
Host imap.example.com
User test2@example.com
PassCmd "keyring get 'cas:test2@example.com' 'test2@example.com'"
SSLType STARTTLS
Channel test2@example.com
Far :test2@example.com:
Near :local:test2@example.com/

View file

@ -0,0 +1,82 @@
# .notmuch-config - Configuration file for the notmuch mail system
#
# For more information about notmuch, see https://notmuchmail.org
# Database configuration
#
# The only value supported here is 'path' which should be the top-level
# directory where your mail currently exists and to where mail will be
# delivered in the future. Files should be individual email messages.
# Notmuch will store its database within a sub-directory of the path
# configured here named ".notmuch".
#
[database]
path=/home/kujiu/~/.local/share/mail
# User configuration
#
# Here is where you can let notmuch know how you would like to be
# addressed. Valid settings are
#
# name Your full name.
# primary_email Your primary email address.
# other_email A list (separated by ';') of other email addresses
# at which you receive email.
#
# Notmuch will use the various email addresses configured here when
# formatting replies. It will avoid including your own addresses in the
# recipient list of replies, and will set the From address based on the
# address to which the original email was addressed.
#
[user]
name=Test Example
primary_email=test1@example.com
other_email=test2@example.com;test3@example.com
# Configuration for "notmuch new"
#
# The following options are supported here:
#
# tags A list (separated by ';') of the tags that will be
# added to all messages incorporated by "notmuch new".
#
# ignore A list (separated by ';') of file and directory names
# that will not be searched for messages by "notmuch new".
#
# NOTE: *Every* file/directory that goes by one of those
# names will be ignored, independent of its depth/location
# in the mail store.
#
[new]
tags=new
# Search configuration
#
# The following option is supported here:
#
# exclude_tags
# A ;-separated list of tags that will be excluded from
# search results by default. Using an excluded tag in a
# query will override that exclusion.
#
[search]
exclude_tags=deleted;spam;
# Maildir compatibility configuration
#
# The following option is supported here:
#
# synchronize_flags Valid values are true and false.
#
# If true, then the following maildir flags (in message filenames)
# will be synchronized with the corresponding notmuch tags:
#
# Flag Tag
# ---- -------
# D draft
# F flagged
# P passed
# R replied
# S unread (added when 'S' flag is not present)
#
# The "notmuch new" command will notice flag changes in filenames
# and update tags, while the "notmuch tag" and "notmuch restore"
# commands will notice tag changes and update flags in filenames
#
[maildir]
synchronize_flags=true