From 8453bb64d330ba4bbb268e2593e95a86477eec1c Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sun, 23 Nov 2025 19:20:09 +0530 Subject: Dot File for niri Desktop --- kitty/kitty-themes/.tools/libcapture.sh | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 kitty/kitty-themes/.tools/libcapture.sh (limited to 'kitty/kitty-themes/.tools/libcapture.sh') 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 -} -- cgit v1.2.3