From 3cffeb02c2686a015d5cb8ee9fd96afe39cd3818 Mon Sep 17 00:00:00 2001 From: trivernis Date: Fri, 6 Jan 2023 23:09:22 +0100 Subject: [PATCH] Change gpg pinentry to loop on failure --- dot_local/share/scripts/executable_gpg-pinentry-loopback.bash | 2 +- private_dot_config/helix/config.toml | 2 +- private_dot_config/helix/languages.toml | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dot_local/share/scripts/executable_gpg-pinentry-loopback.bash b/dot_local/share/scripts/executable_gpg-pinentry-loopback.bash index 5c3ea4d..d0d61cd 100644 --- a/dot_local/share/scripts/executable_gpg-pinentry-loopback.bash +++ b/dot_local/share/scripts/executable_gpg-pinentry-loopback.bash @@ -1,2 +1,2 @@ #!/usr/bin/bash -gpg --pinentry-mode loopback $@ \ No newline at end of file +until gpg --pinentry-mode loopback $@ || (( count >= 5 )); do echo "Try again!"; done diff --git a/private_dot_config/helix/config.toml b/private_dot_config/helix/config.toml index 19a0fba..ba19c85 100644 --- a/private_dot_config/helix/config.toml +++ b/private_dot_config/helix/config.toml @@ -25,7 +25,7 @@ position = "embed" [editor.indent-guides] render = true -rainbow = true +rainbow = "dim" [keys.normal] C-j = "half_page_down" diff --git a/private_dot_config/helix/languages.toml b/private_dot_config/helix/languages.toml index a5db9cf..098d1ae 100644 --- a/private_dot_config/helix/languages.toml +++ b/private_dot_config/helix/languages.toml @@ -16,5 +16,3 @@ source = { git = "https://github.com/trivernis/tree-sitter-xml", rev = "3ef1d1a9 [[language]] name = "rust" -[language.config] -cargo = { features = "all" }