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/libcapture.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/libcapture.sh')
| -rwxr-xr-x | kitty/kitty-themes/.tools/libcapture.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/kitty/kitty-themes/.tools/libcapture.sh b/kitty/kitty-themes/.tools/libcapture.sh deleted file mode 100755 index ff5159187..000000000 --- a/kitty/kitty-themes/.tools/libcapture.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env bash - -function capture_linux() { - local title="$1" - local output="$2" - import -window "$title" "$output" -} - -function capture_osx() { - local title="$1" - local output="$2" - # get system id of the new created window - sys_id=$(./windowid.swift "kitty" "$title") - screencapture -wl"$sys_id" "$output" -} - -function capture() { - if [[ "$OSTYPE" == "linux-gnu" ]]; then - capture_linux "$@" - elif [[ "$OSTYPE" == "darwin"* ]]; then - capture_osx "$@" - fi -} |
