diff options
| author | Indrajith K L | 2025-11-23 19:20:09 +0530 |
|---|---|---|
| committer | Indrajith K L | 2025-11-23 19:20:09 +0530 |
| commit | 8453bb64d330ba4bbb268e2593e95a86477eec1c (patch) | |
| tree | f9e829365139031dfa938e832f9a05e3536a8e36 /kitty/kitty-themes/.tools/generate_theme_preview.sh | |
| parent | 1ff9a983329b0e703511e78cd81dcbe81358733f (diff) | |
| download | dots-niri.tar.gz dots-niri.tar.bz2 dots-niri.zip | |
Dot File for niri Desktopniri
Diffstat (limited to 'kitty/kitty-themes/.tools/generate_theme_preview.sh')
| -rwxr-xr-x | kitty/kitty-themes/.tools/generate_theme_preview.sh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/kitty/kitty-themes/.tools/generate_theme_preview.sh b/kitty/kitty-themes/.tools/generate_theme_preview.sh deleted file mode 100755 index 040867b35..000000000 --- a/kitty/kitty-themes/.tools/generate_theme_preview.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash -# This script generate all preview images for the themes -# In order to capture previews without the to bar start kitty without decorations -# kitty -o hide_window_decorations=yes - -# shellcheck source=libcapture.sh -source libcapture.sh - -# read theme path from args -id=$1 -theme=$2 -preview_filename=$3 - -conf_filename=$(basename "$theme") - -lockfile=$(mktemp) - -kitty @ set-colors --match id:"$id" "$theme" -kitty @ send-text --match id:"$id" "clear && figlet -f digital -t \"$conf_filename\" && unbuffer ./color_table.sh && rm \"$lockfile\"\n" - -# simple sync mechanism, wait for the lockfile to be removed -( echo "$lockfile" | entr "false" 1>/dev/null 2>&1 ) || capture themes "$preview_filename" |
