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/previews.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/previews.sh')
| -rwxr-xr-x | kitty/kitty-themes/.tools/previews.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/kitty/kitty-themes/.tools/previews.sh b/kitty/kitty-themes/.tools/previews.sh deleted file mode 100755 index c39c2c787..000000000 --- a/kitty/kitty-themes/.tools/previews.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash -# @author: @vrdhn on github - -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -cd $SCRIPT_DIR/.. - -set_theme () { - cat themes/$1.conf | awk 'BEGIN {printf("kitty @ set-colors ")} {printf( "%s=%s ",$1,$2 )} END{printf("\n")}' | sh -} - -list=$(find themes -type f | grep "$1" | xargs basename | cut -d. -f1) - -for x in $list ; -do - kitty +kitten icat "previews/$x.png" - read -n 1 -p "$x : Next / Set / Quit :" ans - echo - - case $ans in - n ) ;; - s ) set_theme $x ; exit ;; - q ) exit ;; - esac -done |
