From 9b6e99b5e3ee2d3f9c3188f7305108b7f3f03a44 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Fri, 10 Nov 2023 11:03:20 +0100 Subject: [PATCH] update bugwarrior --- nixos/machines/cream/configuration.nix | 7 +++---- scripts/color.sh | 14 +++++++------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/nixos/machines/cream/configuration.nix b/nixos/machines/cream/configuration.nix index cc335bc..ffe7e93 100644 --- a/nixos/machines/cream/configuration.nix +++ b/nixos/machines/cream/configuration.nix @@ -41,8 +41,7 @@ components.gui.taskwarrior.config = { general = { - targets = [ "terranix" "github_private" ]; - #targets = [ "terranix" "github_private" "jobrad" ]; + targets = [ "terranix" "my_github" ]; static_fields = "priority"; log_level = "INFO"; }; @@ -60,16 +59,16 @@ include_user_issues = false; include_user_repos = false; }; - github_private = { + my_github = { service = "github"; login = "mrVanDalo"; token = "@oracle:eval:${pkgs.pass}/bin/pass development/github/mrVanDalo/bugwarriorAccessToken"; username = "mrVanDalo"; description_template = "{{githubtitle}} {{githuburl}}"; add_tags = "github"; - involved_issues = true; include_user_issues = true; include_user_repos = true; + exclude_repos = [ "azubi" "csv-to-qif" "stepp0r" ]; }; }; diff --git a/scripts/color.sh b/scripts/color.sh index 9309da6..fb274ea 100644 --- a/scripts/color.sh +++ b/scripts/color.sh @@ -1,14 +1,14 @@ #!/bin/bash -color(){ - for c; do - printf '\e[48;5;%dm%03d' $c $c - done - printf '\e[0m \n' +color() { + for c; do + printf '\e[48;5;%dm%03d' $c $c + done + printf '\e[0m \n' } IFS=$' \t\n' color {0..15} -for ((i=0;i<6;i++)); do - color $(seq $((i*36+16)) $((i*36+51))) +for ((i = 0; i < 6; i++)); do + color $(seq $((i * 36 + 16)) $((i * 36 + 51))) done color {232..255}