Introduce Nord colorscheme. Fix font issues.

This commit is contained in:
Jan Eitzinger 2024-03-26 09:00:57 +01:00
parent 9061f1beee
commit c93fb76e2a
24 changed files with 637 additions and 87 deletions

View File

@ -1,5 +1,5 @@
font_family BrutalistMono Nerd Font Regular font_family BrutalistMono Nerd Font
bold_font BrutalistMono Nerd Font Regular # bold_font auto
# italic_font auto # italic_font auto
# bold_italic_font auto # bold_italic_font auto
font_size {{ .fontsize }} font_size {{ .fontsize }}
@ -624,6 +624,5 @@ macos_custom_beam_cursor yes
# BEGIN_KITTY_THEME # BEGIN_KITTY_THEME
# Catppuccin-Mocha include Nord.conf
include current-theme.conf
# END_KITTY_THEME # END_KITTY_THEME

View File

@ -4,16 +4,34 @@ return {
"ellisonleao/gruvbox.nvim", "ellisonleao/gruvbox.nvim",
opts = { contrast = "hard" }, opts = { contrast = "hard" },
}, },
{{- if eq .chezmoi.os "openbsd" }} {{- if eq .chezmoi.os "openbsd" }}
{
"gbprod/nord.nvim",
lazy = false,
priority = 1000,
opts = {
styles = {
comments = { italic = true },
keywords = { bold = true },
functions = { bold = true },
variables = {},
},
},
config = function()
vim.cmd([[colorscheme nord]])
end,
},
{
"folke/tokyonight.nvim",
opts = {},
},
{ "catppuccin/nvim", name = "catppuccin", priority = 1000 },
-- kanagawa -- kanagawa
{ {
"rebelot/kanagawa.nvim", "rebelot/kanagawa.nvim",
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
vim.cmd([[colorscheme kanagawa]])
end,
}, },
{{- else }} {{- else }}
-- kanagawa -- kanagawa

View File

@ -458,7 +458,11 @@ return {
key = "g", key = "g",
}, },
{ {
{{- if eq .chezmoi.os "openbsd" }}
action = [[lua require("telescope.builtin").find_files({ cwd = vim.fn.stdpath("config") })]],
{{- else }}
action = [[lua require("lazyvim.util").telescope.config_files()()]], action = [[lua require("lazyvim.util").telescope.config_files()()]],
{{- end }}
desc = " Config", desc = " Config",
icon = " ", icon = " ",
key = "c", key = "c",

View File

@ -2,7 +2,7 @@
<openbox_menu> <openbox_menu>
<menu id="root-menu" label="OpenBox 3"> <menu id="root-menu" label="OpenBox 3">
<item label="terminal"> <action name="Execute"> <item label="terminal"> <action name="Execute">
<execute>kitty</execute> <execute>st</execute>
</action> </item> </action> </item>
<item label="editor"> <action name="Execute"> <item label="editor"> <action name="Execute">
<execute>gvim</execute> <execute>gvim</execute>
@ -22,6 +22,9 @@
<item label="openbox"> <action name="Execute"> <item label="openbox"> <action name="Execute">
<execute>obconf</execute> <execute>obconf</execute>
</action> </item> </action> </item>
<item label="tint2"> <action name="Execute">
<execute>tint2conf</execute>
</action> </item>
<item label="printers"> <action name="Execute"> <item label="printers"> <action name="Execute">
<execute>system-config-printer</execute> <execute>system-config-printer</execute>
</action> </item> </action> </item>

View File

@ -42,7 +42,7 @@ Copy the file to $HOME/.config/openbox/ instead. -->
'Active' - where the active window is --> 'Active' - where the active window is -->
</placement> </placement>
<theme> <theme>
<name>Natura</name> <name>Nordic-OpenBox</name>
<titleLayout>NLIMC</titleLayout> <titleLayout>NLIMC</titleLayout>
<!-- <!--
available characters are NDSLIMC, each can occur at most once. available characters are NDSLIMC, each can occur at most once.
@ -54,11 +54,11 @@ Copy the file to $HOME/.config/openbox/ instead. -->
S: shade (roll up/down) S: shade (roll up/down)
D: omnipresent (on all desktops). D: omnipresent (on all desktops).
--> -->
<keepBorder>yes</keepBorder> <keepBorder>no</keepBorder>
<animateIconify>no</animateIconify> <animateIconify>no</animateIconify>
<font place="ActiveWindow"> <font place="ActiveWindow">
<name>DejaVu Sans Mono</name> <name>DejaVu Sans Mono</name>
<size>10</size> <size>12</size>
<!-- font size in points --> <!-- font size in points -->
<weight>Normal</weight> <weight>Normal</weight>
<!-- 'bold' or 'normal' --> <!-- 'bold' or 'normal' -->
@ -67,7 +67,7 @@ Copy the file to $HOME/.config/openbox/ instead. -->
</font> </font>
<font place="InactiveWindow"> <font place="InactiveWindow">
<name>DejaVu Sans Mono</name> <name>DejaVu Sans Mono</name>
<size>10</size> <size>12</size>
<!-- font size in points --> <!-- font size in points -->
<weight>Normal</weight> <weight>Normal</weight>
<!-- 'bold' or 'normal' --> <!-- 'bold' or 'normal' -->
@ -76,7 +76,7 @@ Copy the file to $HOME/.config/openbox/ instead. -->
</font> </font>
<font place="MenuHeader"> <font place="MenuHeader">
<name>DejaVu Sans Mono</name> <name>DejaVu Sans Mono</name>
<size>10</size> <size>14</size>
<!-- font size in points --> <!-- font size in points -->
<weight>Normal</weight> <weight>Normal</weight>
<!-- 'bold' or 'normal' --> <!-- 'bold' or 'normal' -->
@ -85,7 +85,7 @@ Copy the file to $HOME/.config/openbox/ instead. -->
</font> </font>
<font place="MenuItem"> <font place="MenuItem">
<name>DejaVu Sans Mono</name> <name>DejaVu Sans Mono</name>
<size>10</size> <size>14</size>
<!-- font size in points --> <!-- font size in points -->
<weight>Normal</weight> <weight>Normal</weight>
<!-- 'bold' or 'normal' --> <!-- 'bold' or 'normal' -->
@ -94,7 +94,7 @@ Copy the file to $HOME/.config/openbox/ instead. -->
</font> </font>
<font place="ActiveOnScreenDisplay"> <font place="ActiveOnScreenDisplay">
<name>DejaVu Sans Mono</name> <name>DejaVu Sans Mono</name>
<size>10</size> <size>14</size>
<!-- font size in points --> <!-- font size in points -->
<weight>Normal</weight> <weight>Normal</weight>
<!-- 'bold' or 'normal' --> <!-- 'bold' or 'normal' -->
@ -103,7 +103,7 @@ Copy the file to $HOME/.config/openbox/ instead. -->
</font> </font>
<font place="InactiveOnScreenDisplay"> <font place="InactiveOnScreenDisplay">
<name>DejaVu Sans Mono</name> <name>DejaVu Sans Mono</name>
<size>10</size> <size>14</size>
<!-- font size in points --> <!-- font size in points -->
<weight>Normal</weight> <weight>Normal</weight>
<!-- 'bold' or 'normal' --> <!-- 'bold' or 'normal' -->
@ -112,22 +112,13 @@ Copy the file to $HOME/.config/openbox/ instead. -->
</font> </font>
</theme> </theme>
<desktops> <desktops>
<!-- this stuff is only used at startup, pagers allow you to change them <number>4</number>
during a session
these are default values to use when other ones are not already set
by other applications, or saved in your session
use obconf if you want to change these without having to log out
and back in -->
<number>5</number>
<firstdesk>1</firstdesk> <firstdesk>1</firstdesk>
<names> <names>
<name>terminal</name> <name>1</name>
<name>editor</name> <name>2</name>
<name>browser</name> <name>3</name>
<name>viewer</name> <name>4</name>
<name>other</name>
</names> </names>
<popupTime>500</popupTime> <popupTime>500</popupTime>
<!-- The number of milliseconds to show the popup for when switching <!-- The number of milliseconds to show the popup for when switching
@ -160,7 +151,7 @@ Copy the file to $HOME/.config/openbox/ instead. -->
<right>0</right> <right>0</right>
</margins> </margins>
<dock> <dock>
<position>TopRight</position> <position>Right</position>
<!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating --> <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
<floatingX>0</floatingX> <floatingX>0</floatingX>
<floatingY>0</floatingY> <floatingY>0</floatingY>
@ -218,11 +209,6 @@ Copy the file to $HOME/.config/openbox/ instead. -->
<to>4</to> <to>4</to>
</action> </action>
</keybind> </keybind>
<keybind key="W-5">
<action name="GoToDesktop">
<to>5</to>
</action>
</keybind>
<keybind key="W-S-1"> <keybind key="W-S-1">
<action name="SendToDesktop"> <action name="SendToDesktop">
<to>1</to> <to>1</to>
@ -243,11 +229,6 @@ Copy the file to $HOME/.config/openbox/ instead. -->
<to>4</to> <to>4</to>
</action> </action>
</keybind> </keybind>
<keybind key="W-S-5">
<action name="SendToDesktop">
<to>5</to>
</action>
</keybind>
<!-- Keybindings for windows --> <!-- Keybindings for windows -->
<keybind key="W-k"> <keybind key="W-k">
<action name="ToggleFullscreen"/> <action name="ToggleFullscreen"/>
@ -295,19 +276,11 @@ Copy the file to $HOME/.config/openbox/ instead. -->
<!-- Keybindings for running applications --> <!-- Keybindings for running applications -->
<keybind key="W-space"> <keybind key="W-space">
<action name="Execute"> <action name="Execute">
<startupnotify> <command>rofi -show drun</command>
<enabled>true</enabled>
<name>Run command</name>
</startupnotify>
<command>fuzzy_win fzf_cmd</command>
</action> </action>
</keybind> </keybind>
<keybind key="W-Return"> <keybind key="W-Return">
<action name="Execute"> <action name="Execute">
<startupnotify>
<enabled>true</enabled>
<name>Terminal</name>
</startupnotify>
<command>kitty</command> <command>kitty</command>
</action> </action>
</keybind> </keybind>
@ -316,9 +289,14 @@ Copy the file to $HOME/.config/openbox/ instead. -->
<command>slock</command> <command>slock</command>
</action> </action>
</keybind> </keybind>
<keybind key="W-m"> <keybind key="W-w">
<action name="Execute"> <action name="Execute">
<command>monitor_cmd</command> <command>rofi -show window</command>
</action>
</keybind>
<keybind key="W-s">
<action name="Execute">
<command>rofi -show ssh</command>
</action> </action>
</keybind> </keybind>
</keyboard> </keyboard>

24
dot_mutt/accounts/fau Normal file
View File

@ -0,0 +1,24 @@
# Account Settings -----------------------------------
set spoolfile = "+fau/INBOX"
set record = "+fau/Sent Items"
set postponed = "+fau/Drafts"
set from = "jan.eitzinger@fau.de"
set envelope_from_address="jan.eitzinger@fau.de"
set realname = "Jan Eitzinger"
set signature = ~/.mutt/sigwork
my_hdr Reply-To: jan.eitzinger@fau.de
# Go to folder...
macro index,pager gi "<change-folder>+fau/INBOX<enter>" "open inbox"
macro index,pager ga "<change-folder>+fau/Archive<enter>" "open archive"
macro index,pager gd "<change-folder>+fau/Drafts<enter>" "open drafts"
macro index,pager gs "<change-folder>+fau/Sent<quote-char> Items<enter>" "open sent"
macro index,pager gt "<change-folder>+fau/Deleted<quote-char> Items<enter>" "open trash"
# send mail
set sendmail = "msmtp -a fau"
# Sync email
macro index O "<shell-escape>offlineimap<enter>" "run offlineimap to sync all mail"
macro index o "<shell-escape>offlineimap -qf INBOX<enter>" "run offlineimap to sync inbox"

28
dot_mutt/accounts/moebius Normal file
View File

@ -0,0 +1,28 @@
# Account Settings -----------------------------------
set spoolfile = "+moebius/INBOX"
set mbox = "+moebius/archive"
set record = "+moebius/sent"
set trash = "+moebius/trash"
set postponed = "+moebius/drafts"
set from = "jan@moebiusband.org"
set envelope_from_address="jan@moebiusband.org"
set realname = "Jan Eitzinger"
set signature = ~/.mutt/sig
my_hdr Reply-To: jan@moebiusband.org
# Go to folder...
macro index,pager gi "<change-folder>+moebius/INBOX<enter>" "open inbox"
macro index,pager ga "<change-folder>+moebius/archive<enter>" "open drafts"
macro index,pager gd "<change-folder>+moebius/drafts<enter>" "open drafts"
macro index,pager gs "<change-folder>+moebius/sent<enter>" "open sent"
macro index,pager gt "<change-folder>+moebius/trash<enter>" "open trash"
macro index,pager si "<save-message>+moebius/INBOX<enter>" "move message to inbox"
macro index,pager sa "<save-message>+moebius/archive<enter><sync-mailbox>" "move message to archive"
# send mail
set sendmail = "msmtp -a moebius"
# Sync email
macro index o "<shell-escape>mbsync moebius<enter>" "run mbsync to sync inbox"

8
dot_mutt/aliases.muttrc Normal file
View File

@ -0,0 +1,8 @@
alias hpc-admin michael.meier@fau.de, thomas.zeiser@fau.de, katrin.nusser@fau.de, georg.hager@fau.de
alias hpc-core gerhard.wellein@fau.de, thomas.zeiser@fau.de, georg.hager@fau.de
alias nhr-app gerhard.wellein@fau.de, thomas.zeiser@fau.de, georg.hager@fau.de, heinrich.sticht@fau.de, rainer.boeckmann@fau.de, harald.lanig@fau.de, bernd.meyer@fau.de, tim.clark@fau.de, erik.bitzek@fau.de, wolfgang.hieringer@fau.de, andreas.goerling@fau.de
alias nhr-pi gerhard.wellein@fau.de, ulrich.ruede@fau.de, petra.imhof@fu-berlin.de, heinrich.sticht@fau.de, rainer.boeckmann@fau.de, erik.bitzek@fau.de, andreas.goerling@fau.de
alias prope dfg-prope@lists.fau.de
alias wpmvp-pc corinne.ancourt@mines-paristech.fr, james.brodman@intel.com, pablo.oliveira@prism.uvsq.fr, maratek@gmail.com, daniel.etiemble@lri.fr, franzf@andrew.cmu.edu, hack@cs.uni-saarland.de, gabriele.keller@unsw.edu.au, p.kelly@imperial.ac.uk, michael.klemm@intel.com, jmoreira@us.ibm.com, angela.pohl@tu-berlin.de, peng.wu.personal@gmail.com
alias clustercockpit siavash.ghiasvand@tu-dresden.de, robert.schoene@tu-dresden.de, daniel.hackenberg@tu-dresden.de
alias steuer s.weidner@steuerkanzlei-weber.de, olaf.weber@steuerkanzlei-weber.de

View File

@ -0,0 +1 @@
color sidebar_unread color108 color234

View File

@ -0,0 +1,121 @@
# gruvbox dark (contrast dark):
# bg0 = 234
# bg1 = 237
# bg2 = 239
# bg3 = 241
# bg4 = 243
#
# gray = 245
#
# fg0 = 229
# fg1 = 223
# fg2 = 250
# fg3 = 248
# fg4 = 246
#
# red = 167
# green = 142
# yellow = 214
# blue = 109
# purple = 175
# aqua = 108
# orange = 208
# See http://www.mutt.org/doc/manual/#color
color attachment color109 color234
color bold color229 color234
color error color167 color234
color hdrdefault color246 color234
color indicator color223 color237
color markers color243 color234
color normal color223 color234
color quoted color250 color234
color quoted1 color108 color234
color quoted2 color250 color234
color quoted3 color108 color234
color quoted4 color250 color234
color quoted5 color108 color234
color search color234 color208
color signature color108 color234
color status color234 color250
color tilde color243 color234
color tree color142 color234
color underline color223 color239
color sidebar_divider color250 color234
color sidebar_new color142 color234
color index color142 color234 ~N
color index color108 color234 ~O
color index color109 color234 ~P
color index color214 color234 ~F
color index color175 color234 ~Q
color index color167 color234 ~=
color index color234 color223 ~T
color index color234 color167 ~D
color header color214 color234 "^(To:|From:)"
color header color142 color234 "^Subject:"
color header color108 color234 "^X-Spam-Status:"
color header color108 color234 "^Received:"
# Regex magic for URLs and hostnames
#
# Attention: BSD's regex has RE_DUP_MAX set to 255.
#
# Examples:
# http://some-service.example.com
# example.com
# a.example.com
# some-service.example.com
# example.com/
# example.com/datenschutz
# file:///tmp/foo
#
# Non-examples:
# 1.1.1900
# 14.02.2022/24:00
# 23.59
# w.l.o.g
# team.its
color body color142 color234 "[a-z]{3,255}://[[:graph:]]*"
color body color142 color234 "([-[:alnum:]]+\\.)+([0-9]{1,3}|[-[:alpha:]]+)/[[:graph:]]*"
color body color142 color234 "([-[:alnum:]]+\\.){2,255}[-[:alpha:]]{2,10}"
# IPv4 and IPv6 stolen from https://stackoverflow.com/questions/53497/regular-expression-that-matches-valid-ipv6-addresses
color body color142 color234 "((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])"
color body color142 color234 "(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))"
# Mail addresses and mailto URLs
color body color208 color234 "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
color body color208 color234 "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
# some simleys and stuff
color body color234 color214 "[;:]-*[)>(<lt;|]"
color body color229 color234 "\\*[- A-Za-z]+\\*"
color body color214 color234 "^-.*PGP.*-*"
color body color142 color234 "^gpg: Good signature from"
color body color167 color234 "^gpg: Can't.*$"
color body color214 color234 "^gpg: WARNING:.*$"
color body color167 color234 "^gpg: BAD signature from"
color body color167 color234 "^gpg: Note: This key has expired!"
color body color214 color234 "^gpg: There is no indication that the signature belongs to the owner."
color body color214 color234 "^gpg: can't handle these multiple signatures"
color body color214 color234 "^gpg: signature verification suppressed"
color body color214 color234 "^gpg: invalid node with packet of type"
color body color142 color234 "^Good signature from:"
color body color167 color234 "^.?BAD.? signature from:"
color body color142 color234 "^Verification successful"
color body color167 color234 "^Verification [^s][^[:space:]]*$"
color compose header color223 color234
color compose security_encrypt color175 color234
color compose security_sign color109 color234
color compose security_both color142 color234
color compose security_none color208 color234

View File

@ -0,0 +1,47 @@
# mutt color scheme
# https://web.archive.org/web/20190712111427/https://jonasjacek.github.io/colors/
color normal default default # default colours
color index brightblue default ~N # new messages
color index red default ~F # flagged messages
color index blue default ~T # tagged messages
color index cyan default ~D # deleted messages
# The older the email, the darker it appears.
color index color250 default "~d >7d" # older than 7 days
color index color245 default "~d >20d" # older than 20 days
color index color240 default "~d >30d" # older than 30 days
color index color238 default "~d >90d" # older than 90 days
color body brightyellow default (https?|ftp)://[\-\.+,/%~_:?&=\#a-zA-Z0-9]+
color body brightgreen default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
color attachment magenta default # attachments
color signature brightwhite default # sigs
color search brightred black # highlight results
color indicator brightyellow default # currently highlighted message
color error red default # error messages
color status black cyan # status line
color tree brightblack default # thread tree
color tilde cyan default # blank line padding
color hdrdefault black cyan # default headers
color header brightwhite cyan "^From:"
color header brightwhite cyan "^Subject:"
color quoted cyan default # quote colours
color quoted1 brightcyan default
color quoted2 blue default
color quoted3 green default
color quoted4 yellow default
color quoted5 red default
color body green default "^gpg: Good signature from"
color body brightred default "^gpg: Bad signature from"
color body brightred default "^gpg: BAD signature from"
color body brightred default "^gpg: Note: This key has expired!"
color body brightyellow default "^gpg: WARNING: This key is not certified with a trusted signature!"
color body brightyellow default "^gpg: There is no indication that the signature belongs to the owner."
color body brightyellow default "^gpg: can't handle these multiple signatures"
color body brightyellow default "^gpg: signature verification suppressed"
color body brightyellow default "^gpg: invalid node with packet of type"

View File

@ -0,0 +1,104 @@
# Mutt template by Robert Timm (https://github.com/rti)
# Base16 scheme and Base16 Builder by Chris Kempson (https://github.com/chriskempson)
#
# -----------------------------------------------------------------------------
# MESSAGE MATCH PATTERNS
# -----------------------------------------------------------------------------
# ~A all messages
# ~b EXPR messages which contain EXPR in the message body
# ~B EXPR messages which contain EXPR in the whole message
# ~c USER messages carbon-copied to USER
# ~C EXPR message is either to: or cc: EXPR
# ~D deleted messages
# ~d [MIN]-[MAX] messages with ``date-sent'' in a Date range
# ~E expired messages
# ~e EXPR message which contains EXPR in the ``Sender'' field
# ~F flagged messages
# ~f USER messages originating from USER
# ~g PGP signed messages
# ~G PGP encrypted messages
# ~h EXPR messages which contain EXPR in the message header
# ~k message contains PGP key material
# ~i ID message which match ID in the ``Message-ID'' field
# ~L EXPR message is either originated or received by EXPR
# ~l message is addressed to a known mailing list
# ~m [MIN]-[MAX] message in the range MIN to MAX *)
# ~n [MIN]-[MAX] messages with a score in the range MIN to MAX *)
# ~N new messages
# ~O old messages
# ~p message is addressed to you (consults $alternates)
# ~P message is from you (consults $alternates)
# ~Q messages which have been replied to
# ~R read messages
# ~r [MIN]-[MAX] messages with ``date-received'' in a Date range
# ~S superseded messages
# ~s SUBJECT messages having SUBJECT in the ``Subject'' field.
# ~T tagged messages
# ~t USER messages addressed to USER
# ~U unread messages
# ~v message is part of a collapsed thread.
# ~x EXPR messages which contain EXPR in the `References' field
# ~y EXPR messages which contain EXPR in the `X-Label' field
# ~z [MIN]-[MAX] messages with a size in the range MIN to MAX *)
# ~= duplicated messages (see $duplicate_threads)
# basic colors ---------------------------------------------------------
# name foreground background pattern
color normal color15 color0
color error color9 color0
color tilde color15 color0
color message color15 color0
color markers color9 color0
color attachment color12 color0
color search color2 color0
color status color15 color4
color indicator color0 color15
color tree color1 color0 # arrow in threads
color index color8 color0 "~A" # all messages
color index color1 color0 "~F" # flagged messages
color index color15 color0 "~v~(!~N)" # collapsed thread with no unread
# color index color8 color0 "~U" # unread messages
color index color15 color0 "~N" # unread messages
color index color4 color0 "~v~(~N)" # collapsed thread with some unread
color index color1 color0 "~v~(~F)" # collapsed thread with some flagged
color index color9 color0 "~D" # deleted messages
color index_date color6 color0
color index_flags color1 color0 "~A"
color index_author color3 color0 "~A"
# header
color hdrdefault color8 color0
color header color7 color0 "^"
color header color4 color0 "^Date"
color header color3 color0 "^From"
color header color2 color0 "^To"
color header color9 color0 "^Subject"
# body
color normal color15 color0
color underline color15 color0
color bold color15 color0
color signature color248 color0
color quoted color250 color0
color quoted1 color248 color0
color quoted2 color246 color0
color quoted3 color246 color0
color quoted4 color246 color0
# pgp
color body color2 color15 "(Good signature)"
color body color2 color15 "^gpg: Good signature .*"
color body color20 color15 "^gpg: "
color body color1 color15 "(BAD signature)"
color body color1 color1 "^gpg: BAD signature from.*"
# body url
color body color1 color0 "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
# body email
color body color3 color0 "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])"
# vim: filetype=muttrc

View File

@ -0,0 +1,98 @@
# Mutt template by Robert Timm (https://github.com/rti)
# Base16 scheme and Base16 Builder by Chris Kempson (https://github.com/chriskempson)
#
# -----------------------------------------------------------------------------
# MESSAGE MATCH PATTERNS
# -----------------------------------------------------------------------------
# ~A all messages
# ~b EXPR messages which contain EXPR in the message body
# ~B EXPR messages which contain EXPR in the whole message
# ~c USER messages carbon-copied to USER
# ~C EXPR message is either to: or cc: EXPR
# ~D deleted messages
# ~d [MIN]-[MAX] messages with ``date-sent'' in a Date range
# ~E expired messages
# ~e EXPR message which contains EXPR in the ``Sender'' field
# ~F flagged messages
# ~f USER messages originating from USER
# ~g PGP signed messages
# ~G PGP encrypted messages
# ~h EXPR messages which contain EXPR in the message header
# ~k message contains PGP key material
# ~i ID message which match ID in the ``Message-ID'' field
# ~L EXPR message is either originated or received by EXPR
# ~l message is addressed to a known mailing list
# ~m [MIN]-[MAX] message in the range MIN to MAX *)
# ~n [MIN]-[MAX] messages with a score in the range MIN to MAX *)
# ~N new messages
# ~O old messages
# ~p message is addressed to you (consults $alternates)
# ~P message is from you (consults $alternates)
# ~Q messages which have been replied to
# ~R read messages
# ~r [MIN]-[MAX] messages with ``date-received'' in a Date range
# ~S superseded messages
# ~s SUBJECT messages having SUBJECT in the ``Subject'' field.
# ~T tagged messages
# ~t USER messages addressed to USER
# ~U unread messages
# ~v message is part of a collapsed thread.
# ~x EXPR messages which contain EXPR in the `References' field
# ~y EXPR messages which contain EXPR in the `X-Label' field
# ~z [MIN]-[MAX] messages with a size in the range MIN to MAX *)
# ~= duplicated messages (see $duplicate_threads)
# basic colors ---------------------------------------------------------
# name foreground background pattern
color normal color15 color0
color error color1 color0
color tilde color15 color0
color message color15 color0
color markers color1 color0
color attachment color20 color0
color search color2 color0
color status color237 color223
color indicator color239 color250
color tree color166 color0 # arrow in threads
color index color15 color0 "~A" # all messages
color index color1 color0 "~F" # flagged messages
color index color15 color0 "~v~(!~N)" # collapsed thread with no unread
color index color4 color0 "~U" # unread messages
color index color4 color0 "~v~(~N)" # collapsed thread with some unread
color index color1 color0 "~v~(~F)" # collapsed thread with some flagged
color index color15 color1 "~D" # deleted messages
# header
color hdrdefault color239 color228
color header color6 color228 "^"
color header color1 color228 "^(From)"
color header color4 color228 "^(Subject)"
# body
color normal color15 color0
color underline color15 color0
color bold color15 color0
color signature color6 color0
color quoted color237 color223
color quoted1 color239 color250
color quoted2 color241 color248
color quoted3 color243 color246
color quoted4 color4 color248
# pgp
color body color2 color15 "(Good signature)"
color body color2 color15 "^gpg: Good signature .*"
color body color20 color15 "^gpg: "
color body color1 color15 "(BAD signature)"
color body color1 color1 "^gpg: BAD signature from.*"
# body url
color body color4 color0 "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
# body email
color body color4 color0 "((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])"
# vim: filetype=muttrc

1
dot_mutt/mailboxes Normal file
View File

@ -0,0 +1 @@
mailboxes "+/Archive" "+/Calendar.NHR@FAU Events" "+/ClusterCockpit" "+/ClusterCockpit.EE-HPC" "+/ClusterCockpit.JobApplications" "+/ClusterCockpit.Workshop" "+/Conference" "+/Cooperation" "+/Deleted Items" "+/Drafts" "+/Forums" "+/INBOX" "+/Junk E-Mail" "+/Likwid" "+/NHR" "+/Orga" "+/Privat" "+/ProPE" "+/Publication" "+/Research" "+/Review" "+/Sent Items" "+/Server" "+/Startup" "+/Support" "+/Sync Issues.Conflicts" "+/Sync Issues.Local Failures" "+/Sync Issues.Server Failures" "+/Teaching" "+/Teaching.MuCoSim" "+/Teaching.PAMPI" "+/Teaching.campo" "+/Tutorials"

18
dot_mutt/mailcap Normal file
View File

@ -0,0 +1,18 @@
# MS Word documents
application/msword; ~/.mutt/view_attachment.sh %s "-" '/Applications/TextEdit.app'
# Images
image/jpg; ~/.mutt/view_attachment.sh %s jpg
image/jpeg; ~/.mutt/view_attachment.sh %s jpg
image/pjpeg; ~/.mutt/view_attachment.sh %s jpg
image/png; ~/.mutt/view_attachment.sh %s png
image/gif; ~/.mutt/view_attachment.sh %s gif
# PDFs
application/pdf; ~/.mutt/view_attachment.sh %s pdf
# HTML
text/html; w3m -I %{charset} -T text/html; copiousoutput;
# Unidentified files
application/octet-stream; ~/.mutt/view_attachment.sh %s "-"

6
dot_mutt/sig Normal file
View File

@ -0,0 +1,6 @@
Jan Eitzinger
Am Anger 17
91369 Wiesenthau
Fon 0151-44339282
Mail jan@moebiusband.org

7
dot_mutt/sigwork Normal file
View File

@ -0,0 +1,7 @@
Dr.-Ing. Jan Eitzinger, HPC Services
Friedrich-Alexander-Universitaet Erlangen-Nuernberg
Regionales RechenZentrum Erlangen (RRZE)
Martensstrasse 1, 91058 Erlangen, Germany
Tel. +49 9131 85-28911, Fax +49 9131 302941
mailto:jan.eitzinger@fau.de
http://www.hpc.fau.de

84
dot_mutt/view_attachment.sh Executable file
View File

@ -0,0 +1,84 @@
#!/bin/bash
#
# Author: Eric Gebhart
#
# Purpose: To be called by mutt as indicated by .mailcap to handle mail attachments.
#
# Function: Copy the given file to a temporary directory so mutt
# Won't delete it before it is read by the application.
#
# Along the way, discern the file type or use the type
# That is given.
#
# Finally use 'open' or 'open -a' if the third argument is
# given.
#
#
# Arguments:
#
# $1 is the file
# $2 is the type - for those times when file magic isn't enough.
# I frequently get html mail that has no extension
# and file can't figure out what it is.
#
# Set to '-' if you don't want the type to be discerned.
# Many applications can sniff out the type on their own.
# And they do a better job of it too.
#
# Open Office and MS Office for example.
#
# $3 is open with. as in open -a 'open with this .app' foo.xls
#
# Examples: These are typical .mailcap entries which use this program.
#
# Image/JPEG; /Users/vdanen/.mutt/view_attachment %s
# Image/PNG; /Users/vdanen/.mutt/view_attachment %s
# Image/GIF; /Users/vdanen/.mutt/view_attachment %s
#
# Application/PDF; /Users/vdanen/.mutt/view_attachment %s
#
# #This HTML example passes the type because file doesn't always work and
# #there aren't always extensions.
#
# text/html; /Users/vdanen/.mutt/view_attachment %s html
#
# # If your Start OpenOffice.org.app is spelled with a space like this one, <--
# # then you'll need to precede the space with a \ . I found that too painful
# # and renamed it with an _.
#
# Application/vnd.ms-excel; /Users/vdanen/.mutt/view_attachment %s "-" '/Applications/OpenOffice.org1.1.2/Start_OpenOffice.org.app'
# Application/msword; /Users/vdanen/.mutt/view_attachment %s "-" '/Applications/OpenOffice.org1.1.2/Start_OpenOffice.org.app'
#
#
# Debugging: If you have problems set debug to 'yes'. That will cause a debug file
# be written to /tmp/mutt_attach/debug so you can see what is going on.
#
# See Also: The man pages for open, file, basename
#
# the tmp directory to use.
tmpdir="$HOME/.tmp/mutt_attach"
# the name of the debug file if debugging is turned on.
debug_file=$tmpdir/debug
# debug. yes or no.
#debug="no"
debug="yes"
type=$2
open_with=$3
# make sure the tmpdir exists.
mkdir -p $tmpdir
# clean it out. Remove this if you want the directory
# to accumulate attachment files.
rm -f $tmpdir/*
# Mutt puts everything in /tmp by default.
# This gets the basic filename from the full pathname.
filename=`basename $1`
# get rid of the extenson and save the name for later.
file=`echo $filename | cut -d"." -f1`

View File

@ -1,5 +1,4 @@
source ~/.mutt/colors-gruvbox.muttrc source ~/.mutt/colors-nord.muttrc
source ~/.mutt/colors-gruvbox-extended.muttrc
# Paths ---------------------------------------------- # Paths ----------------------------------------------
set folder = ~/.mail # mailbox location set folder = ~/.mail # mailbox location

View File

@ -41,7 +41,6 @@ set -g default-command {{ .shell }}
set -g default-shell {{ .shell }} set -g default-shell {{ .shell }}
set-option -g status-position top set-option -g status-position top
set -g @catppuccin_flavour "mocha"
set -g @catppuccin_window_left_separator "" set -g @catppuccin_window_left_separator ""
set -g @catppuccin_window_right_separator " " set -g @catppuccin_window_right_separator " "
set -g @catppuccin_window_middle_separator " █" set -g @catppuccin_window_middle_separator " █"
@ -60,15 +59,26 @@ set -g @catppuccin_status_right_separator_inverse "no"
set -g @catppuccin_status_fill "icon" set -g @catppuccin_status_fill "icon"
set -g @catppuccin_status_connect_separator "no" set -g @catppuccin_status_connect_separator "no"
# Gruvbox
# set -g @catppuccin_host_color "#458588"
# set -g @catppuccin_user_color "#d79921"
# set -g @catppuccin_date_time_color "#689d6a"
# set -g @catppuccin_session_color "#d65d0e"
# Nord
set -g @catppuccin_host_color "#81A1C1"
set -g @catppuccin_user_color "#81A1C1"
set -g @catppuccin_date_time_color "#81A1C1"
set -g @catppuccin_session_color "#81A1C1"
set -g @catppuccin_window_default_color "#4C566A"
set -g @catppuccin_window_current_color "#5E81AC"
set -g @catppuccin_status_background "#434C5E"
set -g @catppuccin_host_text "#{host_short}" set -g @catppuccin_host_text "#{host_short}"
set -g @catppuccin_host_color "#458588"
set -g @catppuccin_host_icon " " set -g @catppuccin_host_icon " "
set -g @catppuccin_user_color "#d79921"
set -g @catppuccin_user_icon " " set -g @catppuccin_user_icon " "
set -g @catppuccin_date_time_text "%H:%M" set -g @catppuccin_date_time_text "%H:%M"
set -g @catppuccin_date_time_color "#689d6a"
set -g @catppuccin_date_time_icon " " set -g @catppuccin_date_time_icon " "
set -g @catppuccin_session_color "#d65d0e"
set -g @catppuccin_session_icon " " set -g @catppuccin_session_icon " "
# List of plugins # List of plugins

View File

@ -286,9 +286,9 @@ let g:rust_recommended_style = 1
"######################### "#########################
" Theme / Interface " Theme / Interface
"######################### "#########################
let g:lightline = {'colorscheme': 'powerline'}
Plug 'itchyny/lightline.vim' "{{ "{{{" }} Plug 'itchyny/lightline.vim' "{{ "{{{" }}
let g:lightline = { let g:lightline = {
\ 'colorscheme': 'nord',
\ 'active': { \ 'active': {
\ 'left': [ [ 'mode', 'paste' ], \ 'left': [ [ 'mode', 'paste' ],
\ [ 'gitbranch', 'readonly', 'filename', 'modified', 'pencil' ] ] \ [ 'gitbranch', 'readonly', 'filename', 'modified', 'pencil' ] ]
@ -300,6 +300,7 @@ let g:lightline = {
\ } \ }
"{{ "}}}" }} "{{ "}}}" }}
Plug 'morhetz/gruvbox' Plug 'morhetz/gruvbox'
Plug 'arcticicestudio/nord-vim'
call plug#end() call plug#end()
"{{ "}}}" }} "{{ "}}}" }}
@ -414,9 +415,7 @@ endif
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
set termguicolors set termguicolors
let g:gruvbox_contrast_dark = 'hard' colorscheme nord
let g:gruvbox_italic=0
colorscheme gruvbox
set background=dark set background=dark
"{{ "}}}" }} "{{ "}}}" }}
" Filetype settings {{ "{{{" }} " Filetype settings {{ "{{{" }}

View File

@ -27,16 +27,14 @@ export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
export EDITOR='nvim' export EDITOR='nvim'
export GOPATH=$HOME/go export GOPATH=$HOME/go
{{- if eq .chezmoi.os "openbsd" }} {{- if eq .chezmoi.os "openbsd" }}
export CC='clang-16'
export PORTSDIR_PATH=/usr/ports/:/usr/ports/openbsd-wip export PORTSDIR_PATH=/usr/ports/:/usr/ports/openbsd-wip
export PATH="$HOME/dev/src/ltex-ls-15.2.0/bin:$HOME/local/bin:$HOME/perl5/bin:$HOME/gems/bin:$HOME/.cargo/bin:$HOME/.local/bin:$PATH" export PATH="$HOME/perl5/bin:$HOME/gems/bin:$HOME/.cargo/bin:$HOME/.local/bin:$PATH"
export PERL5LIB=$HOME/perl5/lib/perl5 export PERL5LIB=$HOME/perl5/lib/perl5
export PERL_LOCAL_LIB_ROOT=$HOME/perl5 export PERL_LOCAL_LIB_ROOT=$HOME/perl5
export PERL_MB_OPT='--install_base "/home/jan/perl5"' export PERL_MB_OPT='--install_base "/home/jan/perl5"'
export PERL_MM_OPT='INSTALL_BASE=/home/jan/perl5' export PERL_MM_OPT='INSTALL_BASE=/home/jan/perl5'
export JAVA_HOME=/usr/local/jdk-11/
export PMIX_MCA_gds='hash'
alias top='htop' alias top='htop'
alias ctags='uctags' alias ctags='uctags'

View File

@ -5,8 +5,6 @@ xset m 2 0
{{- if eq .chezmoi.os "openbsd" }} {{- if eq .chezmoi.os "openbsd" }}
# xset -dpms # xset -dpms
# xset s off # xset s off
xset +fp "/usr/local/share/fonts/Hack"
xset +fp "/usr/local/share/fonts/terminus"
xset +fp "/usr/local/share/fonts/brutalist" xset +fp "/usr/local/share/fonts/brutalist"
setxkbmap us dev-de setxkbmap us dev-de
@ -27,7 +25,7 @@ xinput set-prop /dev/wsmouse 'WS Pointer Wheel Emulation Timeout' 500
export LC_CTYPE="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8"
export HOME=/home/jan export HOME=/home/jan
export PATH=$HOME/local/bin:/usr/local/bin:$HOME/go/bin:$PATH export PATH=$HOME/.local/bin:/usr/local/bin:$HOME/go/bin:$PATH
{{- if eq .chezmoi.os "openbsd" }} {{- if eq .chezmoi.os "openbsd" }}
syncthing -no-browser -home="/home/jan/.config/syncthing" & syncthing -no-browser -home="/home/jan/.config/syncthing" &
@ -37,7 +35,4 @@ xidle -timeout 300 -program "/usr/local/bin/slock" &
xrdb -merge $HOME/.Xresources xrdb -merge $HOME/.Xresources
xsetroot -solid "#282828" xsetroot -solid "#282828"
urxvtd -q -f -o exec openbox-session
tint2&
exec openbox

View File

@ -5,7 +5,7 @@
IMAPAccount moebius IMAPAccount moebius
Host mail.moebiusband.org Host mail.moebiusband.org
User jan User jan
PassCmd "keepassxc-cli show /home/jan/doc/private/Passwords.kdbx server/moebiusband.org -a password" Pass {{ (keepassxc "moebiusband.org").Password }}
SSLType IMAPS SSLType IMAPS
SSLVersions TLSv1.2 SSLVersions TLSv1.2
CertificateFile /etc/ssl/cert.pem CertificateFile /etc/ssl/cert.pem
@ -71,7 +71,7 @@ Channel moebius-trash
IMAPAccount fau IMAPAccount fau
Host groupware.fau.de Host groupware.fau.de
User fauad\\unrz254 User fauad\\unrz254
PassCmd "gopass show sso/rrze" Pass {{ (keepassxc "IDM FAU").Password }}
SSLType STARTTLS SSLType STARTTLS
SSLVersions TLSv1.2 SSLVersions TLSv1.2
CertificateFile /etc/ssl/cert.pem CertificateFile /etc/ssl/cert.pem