From 261ea2533c1486f1ddf86e16cfba173da44b2b35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Dudr?= Date: Fri, 16 Sep 2022 14:09:34 +0200 Subject: [PATCH] sync --- dot_config/nginx/nginx.conf.tmpl | 14 +++++++++++++- dot_config/paru/paru.conf | 6 +++--- dot_config/private_vifm/vifmrc | 7 ++++++- 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/dot_config/nginx/nginx.conf.tmpl b/dot_config/nginx/nginx.conf.tmpl index 4ce1e57..721806d 100644 --- a/dot_config/nginx/nginx.conf.tmpl +++ b/dot_config/nginx/nginx.conf.tmpl @@ -244,9 +244,21 @@ http { # include sites/*.conf; + server { + server_name static.hlasovani.ordinaceroku.cz; + listen 80 ; + listen [::]:80; + listen 443 ssl http2; + listen [::]:443 ssl http2; + ssl_certificate {{ .chezmoi.homeDir }}/.config/nginx/ssl/localhost.crt; + ssl_certificate_key {{ .chezmoi.homeDir }}/.config/nginx/ssl/localhost.key; + + root {{ .chezmoi.homeDir }}/jopixel/katalogy/www/static/; + } + server { #server_name _; - server_name *.zdravotniregistr.cz; + server_name *.zdravotniregistr.cz *.ordinaceroku.cz; listen 80 default_server; listen [::]:80 default_server; diff --git a/dot_config/paru/paru.conf b/dot_config/paru/paru.conf index 6da8fc2..78c0ad3 100644 --- a/dot_config/paru/paru.conf +++ b/dot_config/paru/paru.conf @@ -8,11 +8,11 @@ DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil #RemoveMake #SudoLoop #UseAsk -#SaveChanges -#CombinedUpgrade +SaveChanges +CombinedUpgrade #CleanAfter #UpgradeMenu -#NewsOnUpgrade +NewsOnUpgrade LocalRepo = paru Chroot diff --git a/dot_config/private_vifm/vifmrc b/dot_config/private_vifm/vifmrc index f93d347..5ea3fa7 100644 --- a/dot_config/private_vifm/vifmrc +++ b/dot_config/private_vifm/vifmrc @@ -359,7 +359,12 @@ filextype */ " " Or leave it for automatic detection " -fileviewer *[^/] pygmentize -O style=gruvbox-dark -f console256 -g + +if $TERM != "linux" + fileviewer *[^/] highlight -O xterm256 -s base16/gruvbox-dark-hard %c +else + fileviewer *[^/] highlight -O ansi -s base16/gruvbox-dark-hard %c +endif " Displaying pictures in terminal "