From fc4367b6f741cd72a76cd719f9bb0f4f4acc63b1 Mon Sep 17 00:00:00 2001 From: javalsai Date: Sat, 14 Jun 2025 00:08:55 +0200 Subject: [PATCH] fix: grammer and shecks (get it, shell + checks = SHecks, k i'll stop) --- src/config.c | 2 +- themes/take-screenshots.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.c b/src/config.c index 29a8e96..88d0c8c 100644 --- a/src/config.c +++ b/src/config.c @@ -66,7 +66,7 @@ struct parser_error parse_str_inplace(char* raw) { raw[i] = '\0'; NOFAIL; } - FAIL("String finished but theres content after"); + FAIL("String finished but there's content after"); } if (*p == '\\') { p++; diff --git a/themes/take-screenshots.sh b/themes/take-screenshots.sh index 73d8be9..b241810 100755 --- a/themes/take-screenshots.sh +++ b/themes/take-screenshots.sh @@ -24,7 +24,7 @@ echo "Using '$LIDM_PATH'" echo "Press enter when the window is clearly visible and nothing in the way" echo "ONLY use this script if you are on hyprland and a \"normal\" kitty config" echo "AND make sure you have rg, jq, grim, gifski and maybe a few more" -read +read -r BG=$(rg '^background ' ~/.config/kitty/kitty.conf | cut -d'#' -f2) printf '\033]4;0;rgb:%s\007' "${BG:0:2}/${BG:2:2}/${BG:4:2}"